This React application demonstrates client-side routing using react-router-dom
. It includes multiple pages with navigation and a consistent layout, built with React functional components and hooks, ideal for a front-end development internship project.
- Multi-page React app with Home and About pages.
- Navigation bar with active link highlighting.
- Consistent Footer component.
- Client-side routing without full page reload.
- Built with React hooks for clean state and effect management.
- Developed and built using Vite for optimal performance.
- React (Functional Components & Hooks)
- react-router-dom for routing
- JavaScript (ES6+)
- Vite (Build tool)
- Clone the repository:
git clone https://github.com/vaish776/react-router-demo-task3.git
- Navigate to the project directory:
cd react-router-demo-task3
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open http://localhost:5173 in your browser to view the app.
- Use the navigation bar links to switch between Home and About pages seamlessly.
- Experience client-side routing with instant page changes.
- See modular and reusable components in action.
src/ ├── components/ │ ├── Navbar.jsx │ ├── Footer.jsx ├── pages/ │ ├── Home.jsx │ ├── About.jsx ├── App.jsx ├── main.jsx
- Add nested and dynamic routes.
- Enhance UI with responsiveness and animations.
- Implement unit and integration testing.
Vaishnavi — GitHub Profile
This project is licensed under the MIT License.