Skip to content

Commit

Permalink
Merge pull request #45 from whysosaket/main
Browse files Browse the repository at this point in the history
x
  • Loading branch information
whysosaket authored Sep 26, 2024
2 parents e88c01b + ff9fe1b commit 0370866
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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 };

0 comments on commit 0370866

Please sign in to comment.