Skip to content

WhiiteRose/Splyt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯› Splyt β€” Freaking Delicious Caffeinated Flavor Milk

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.

React GSAP Tailwind CSS Vite


πŸ“Έ Screenshots

Hero Section

The landing hero features a video background with floating product cans and bold typography animations.

Hero Section

Nutrition Details

Nutrition section with animated product imagery, nutrient facts bar, and radial gradient background.

Nutrition Details

Flavor Carousel

A horizontal scroll-driven flavor showcase displaying all 6 delicious flavors with dynamic tilted cards.

Flavors

Video Section

Full-screen cinematic video section with an expanding circle reveal animation triggered by scroll.

Video


✨ Features

  • 🎬 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

πŸ› οΈ Tech Stack

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

πŸš€ Getting Started

Prerequisites

  • Node.js β‰₯ 18
  • npm β‰₯ 9

Installation

# Clone the repository
git clone https://github.com/WhiiteRose/Splyt.git
cd Splyt

# Install dependencies
npm install

# Start development server
npm run dev

The app will be available at http://localhost:5173.

Build for Production

npm run build
npm run preview

πŸ“ Project Structure

Splyt/
β”œβ”€β”€ 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

🎨 Sections Overview

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

About

πŸ₯› Animated product landing page for Splyt caffeinated flavored milk β€” Built with React, GSAP ScrollTrigger & Tailwind CSS. Features scroll-driven animations, horizontal flavor carousel, and cinematic video reveals.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors