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/ β ββ Layout.jsx β ββ Navbar.jsx β ββ Footer.jsx β ββ UserCard.jsx β ββ pages/ β ββ Home.jsx β ββ About.jsx β ββ Users.jsx β ββ UserDetail.jsx β ββ App.jsx ββ index.css ββ main.jsx
git clone https://github.com/yourusername/react-multi-page-router.git
cd react-multi-page-routernpm install
npm start