Skip to content

Commit

Permalink
Merge pull request #2 from whysosaket/newsletter
Browse files Browse the repository at this point in the history
Activate Newsletter
  • Loading branch information
whysosaket authored Sep 26, 2024
2 parents c71cf0c + 57e32a7 commit b92dd4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
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 };
6 changes: 4 additions & 2 deletions my-app/src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import Home from "./pages/Home";
import Members from "./pages/Members";
import Event from "./pages/Event";
import Contact from "./pages/Contact";
// import Contact from "./pages/Contact";
import About from "./pages/About";
import Error from "./pages/404";
import Alumni from "./pages/Alumni.jsx";
import Newsletter from "./components/Newsletter.jsx";

const AppRouter = () => {
return (
Expand All @@ -17,8 +18,9 @@ const AppRouter = () => {
<Route path="/members" exact element={Members} />
<Route path="/alumni" exact element={Alumni} />
<Route path="/about" exact element={About} />
<Route path="/contact" exact element={Contact} />
{/* <Route path="/contact" exact element={Contact} /> */}
<Route path="/events" exact element={Event} />
<Route path="/newsletter" exact element={Newsletter} />
<Route path="" element={Error} />
</Routes>
</Router>
Expand Down

0 comments on commit b92dd4f

Please sign in to comment.