A modern, animated product landing page for Splyt caffeinated flavored milk β built with React, GSAP, and Tailwind CSS. Featuring smooth scroll-driven animations, horizontal flavor carousels, and cinematic video sections.
The landing hero features a video background with floating product cans and bold typography animations.
Nutrition section with animated product imagery, nutrient facts bar, and radial gradient background.
A horizontal scroll-driven flavor showcase displaying all 6 delicious flavors with dynamic tilted cards.
Full-screen cinematic video section with an expanding circle reveal animation triggered by scroll.
- π¬ Scroll-driven animations β GSAP ScrollTrigger powers smooth parallax, pinning, and reveal effects
- π₯€ Horizontal flavor carousel β Scroll vertically to browse 6 flavors horizontally with tilted card layouts
- π₯ Video backgrounds β Hero and benefits sections with embedded video and circular reveal animations
- π± Fully responsive β Adapts seamlessly from mobile to desktop with conditional rendering
- β‘ Smooth scrolling β GSAP ScrollSmoother for buttery-smooth scroll experience
- π¨ Bold typography β Antonio font with animated text splits, clip-path reveals, and staggered character animations
- π¬ Testimonials β Fan video testimonial cards with unique rotations and stacking layouts
| Technology | Purpose |
|---|---|
| React 19 | Component-based UI |
| GSAP 3.13 | Scroll animations, ScrollTrigger, ScrollSmoother, SplitText |
| Tailwind CSS 4 | Utility-first styling |
| Vite 6 | Fast development & build |
| react-responsive | Responsive breakpoint hooks |
- Node.js β₯ 18
- npm β₯ 9
# Clone the repository
git clone https://github.com/WhiiteRose/Splyt.git
cd Splyt
# Install dependencies
npm install
# Start development server
npm run devThe app will be available at http://localhost:5173.
npm run build
npm run previewSplyt/
βββ public/
β βββ fonts/ # Custom ProximaNova font
β βββ images/ # Product images, backgrounds, SVGs
β βββ videos/ # Hero, pin, and testimonial videos
β βββ screenshots/ # README screenshots
βββ src/
β βββ components/ # Reusable components (NavBar, FlavorSlider, etc.)
β βββ constants/ # Flavor, nutrient, and testimonial data
β βββ sections/ # Page sections (Hero, Message, Flavour, etc.)
β βββ App.jsx # Main app with ScrollSmoother setup
β βββ index.css # Global styles, Tailwind config, animations
β βββ main.jsx # React entry point
βββ index.html
| Section | Description |
|---|---|
| Hero | Video background, animated title, CTA button |
| Message | Scroll-revealed text with word-by-word color animation |
| Flavors | Horizontal scroll carousel with 6 flavor cards |
| Nutrition | Radial gradient background with nutrition facts bar |
| Benefits | Stacked animated titles with video circle reveal |
| Testimonials | Fan video cards with stacking layout |
| Footer | Social links, email input, and copyright |
Made with β€οΈ by WhiiteRose



