A simple React app built with Vite to explore notable places in Zurich, Lucerne, and Geneva. The app features a responsive UI, navigation, and interactive modals.
- Browse famous places in Zurich, Lucerne, and Geneva
- View details for each place
- Modal popups for additional info
- Live clock in the navigation bar
- Clean, modular React component structure
src/
App.jsx
main.jsx
index.css
components/
Nav/
Home/
Places/
PlaceItem/
PlacesList.jsx
Button/
Modal/
Link/
data/
data.js
Hooks/
useTime.js
public/
vite.svg
index.html
vite.config.js
eslint.config.js
- Node.js (v18 or newer recommended)
- npm
-
Clone the repository:
git clone https://github.com/shan0102/react.git cd vite-project -
Install dependencies:
npm install
Start the development server:
npm run devOpen http://localhost:5173/react in your browser.
To build for production:
npm run buildTo run ESLint:
npm run lintThis project is configured to deploy to GitHub Pages. To deploy:
npm run deployMIT