A modern, interactive landing page for SPYLT protein drinks built with Next.js and GSAP animations. Features smooth scrolling, dynamic flavor sections, and a fully responsive design.
Click here to visit the live web app
SPYLT is a premium protein drink brand landing page showcasing 6 delicious flavors with smooth animations, interactive sections, and a modern user experience. The site features hero videos, flavor sliders, nutrition information, testimonials, and more.
- Next.js 16.1.1 - React framework with App Router
- React 19.2.3 - UI library
- TypeScript 5 - Type-safe JavaScript
- Tailwind CSS 4 - Utility-first CSS framework
- PostCSS - CSS processing
- Custom Fonts - Proxima Nova & Antonio (Google Fonts)
- Lucide React - Icon library
- GSAP 3.14.2 - Professional animation library
- @gsap/react - React integration for GSAP
- ScrollSmoother - Smooth scrolling effects
- ScrollTrigger - Scroll-based animations
- react-responsive - Responsive design hooks
- dayjs - Date manipulation library
- ESLint - Code linting
- Prettier - Code formatting
- TypeScript - Static type checking
- Smooth scroll animations powered by GSAP ScrollSmoother
- Interactive flavor slider showcasing 6 different flavors
- Hero section with video background
- Nutrition information display
- Benefits section with animated cards
- Testimonial carousel
- Fully responsive design
- Video pinning components
- Custom clip-path text effects
- Dynamic navigation bar
macos-venv/
├── public/
│ ├── fonts/ # Custom font files
│ ├── images/ # Image assets
│ └── videos/ # Video assets
├── src/
│ ├── app/
│ │ ├── (root)/ # Main page sections
│ │ │ ├── Hero.tsx
│ │ │ ├── FlavorSection.tsx
│ │ │ ├── NutritionSection.tsx
│ │ │ ├── BenefitSection.tsx
│ │ │ ├── TestimonialSection.tsx
│ │ │ ├── MessageSection.tsx
│ │ │ ├── FooterSection.tsx
│ │ │ └── page.tsx
│ │ ├── globals.css
│ │ └── layout.tsx
│ ├── components/ # Reusable components
│ │ ├── NavBar.tsx
│ │ ├── FlavorSlider.tsx
│ │ ├── FlavorTitle.tsx
│ │ ├── ClipPathTitle.tsx
│ │ └── VideoPinCompo.tsx
│ ├── hooks/ # Custom React hooks
│ │ └── userBreakpoint.ts
│ ├── libs/ # Library configurations
│ │ └── gsap.ts
│ └── constants/ # App constants
│ └── index.ts
├── next.config.ts
├── tsconfig.json
├── tailwind.config (via PostCSS)
└── package.json
- Node.js 18+
- npm or yarn package manager
- Clone the repository:
git clone <repository-url>
cd macos-venv- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLintnpm run lint:fix- Fix ESLint errorsnpm run format- Format code with Prettiernpm run format:check- Check code formatting
- Video background
- Animated call-to-action
- Smooth scroll integration
- Interactive slider with 6 flavors
- Dynamic color themes
- Smooth transitions
- Display of key nutrients
- Animated counters
- Visual data presentation
- Key product benefits
- Icon-based cards
- Scroll-triggered animations
- Social proof display
- Video testimonials
- Carousel functionality
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Optimized images and videos
- Code splitting with Next.js
- Smooth 60fps animations
- Lazy loading components
The project is deployed on Vercel. Click here to visit the live web app
To deploy your own version:
- Push your code to GitHub
- Import the project in Vercel
- Configure environment variables if needed
- Deploy
Built with Next.js, React, TypeScript, GSAP, and Tailwind CSS
