This project is a simple multi-page React application demonstrating routing using react-router-dom. It includes multiple pages, dynamic user routes, and a navigation bar.
- ✅ Home, About, Users & User Detail pages
- ✅ Dynamic parameters (
/users/:id) - ✅ Global Navbar with active link highlight
- ✅ Functional Components & Clean Folder Structure
- ✅ Responsive UI (CSS/Bootstrap/Tailwind — your choice)
src/
├─ components/
│ ├─ Card.jsx
│ ├─ Layout.jsx
│ ├─ Navbar.jsx
│ └─ Footer.jsx
│
├─ pages/
│ ├─ Home.jsx
│ ├─ About.jsx
│ ├─ Users.jsx
│ └─ UserDetail.jsx
│
├─ App.jsx
├─ index.css
└─ main.jsx
└─ users.jsgit clone https://github.com/yourusername/react-multi-page-router.git
cd react-multi-page-routernpm installnpm start