Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x #45

Merged
merged 2 commits into from
Sep 26, 2024
Merged

x #45

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions my-app/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Events from "./pages/Events";
import Base from "./layouts/Base";
import Subscribe from "./components/Subscribe";
import { useState } from "react";
import NewsletterPage from "./pages/NewsletterPage";
// import NewsletterPage from "./pages/NewsletterPage";

export default function App() {
const [isVisible, setIsVisible] = useState(false);
Expand All @@ -28,7 +28,7 @@ export default function App() {
<Route path="/community" element={<Community />} />
<Route path="/events" element={<Events />} />
<Route path="/contact-us" element={<ContactForm />} />
<Route path="/newsletter" element={<NewsletterPage />} />
{/* <Route path="/newsletter" element={<NewsletterPage />} /> */}
<Route path="*" element={<NotFound />} />
</Routes>
</Base>
Expand Down
4 changes: 2 additions & 2 deletions my-app/src/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const navigation = [
{ name: "Home", to: "/" },
{ name: "Community", to: "/community" },
{ name: "Events", to: "/events" },
{ name: "Newsletter", to: "/newsletter" },
// { name: "Newsletter", to: "/newsletter" },
{ name: "About us", to: "about-us" },
// { name: "Contact us", to: "/contact-us" },
{ name: "Contact us", to: "/contact-us" },
];
export { navigation };