A fully responsive Vite React app featuring two video pages with horizontal scrollable card sliders.
/
├── src/
│ ├── assets/
│ │ ├── video1.mp4
│ │ ├── video2.mp4
│ │ └── thumbs/
│ │ ├── video1-poster.jpg
│ │ └── video2-poster.jpg
│ ├── components/
│ │ ├── VideoPlayer.jsx
│ │ ├── CardSlider.jsx
│ │ ├── OutlineCard.jsx
│ │ └── NavBar.jsx
│ ├── pages/
│ │ ├── VideoOnePage.jsx
│ │ └── VideoTwoPage.jsx
│ ├── styles/
│ │ ├── globals.css
│ │ └── theme.css
│ ├── App.jsx
│ └── main.jsx
├── index.html
├── package.json
├── vite.config.js
└── README.md
npm installnpm run devnpm run buildThis creates a dist/ directory with the production build.
- Run
npm installto install dependencies - Run
npm run buildto create the production build - Set the output directory to
dist/in Versal - Deploy directly to Versal
- Responsive 16:9 Video Player: Works on all screen sizes
- Horizontal Card Slider: Scrollable turnstile with snap scrolling
- Mobile-First Design: Swipe gestures, smooth transitions
- Dark Mode UI: Clean, modern, cinematic design
- React Router: Navigation between Video 1 and Video 2 pages
The app uses a dark theme with:
- Black backgrounds (#000000)
- Deep gray UI elements (#1a1a1a, #1f1f1f)
- White text with yellow accents (#ffd700)
- Rounded corners (8px)
- Smooth transitions (0.25s ease)