Skip to content

Sadwik09/Beverage

Repository files navigation

SIPS: 3D Beverage Showcase

SIPS is a premium single-page web experience that presents global beverage culture through immersive 3D visuals, interactive storytelling, and data-driven discovery modules.

The project is educational-first and designed to balance visual impact with maintainable engineering.

Table of Contents

  • Project Vision
  • What Users Can Do
  • Website Section Flow
  • Detailed Feature Breakdown
  • Technology Stack
  • Architecture and Folder Structure
  • Data Model Overview
  • Accessibility and SEO
  • Performance Strategy
  • Local Development
  • Production Build and Preview
  • Roadmap Ideas
  • Repository

Project Vision

SIPS aims to turn beverage education into an interactive digital experience where users can:

  • Discover beverage categories with cinematic motion and 3D context
  • Explore flavor profiles, ingredients, process, nutrition, and seasonality
  • Learn through visual interaction instead of static text-heavy pages

What Users Can Do

  • Navigate the complete experience using a top anchored navigation bar
  • Browse beverage categories and open detail overlays
  • Explore an interactive flavor wheel and ingredient modules
  • Review a step-by-step production process timeline
  • Compare nutrition metrics between beverage types
  • Use a seasonal calendar wheel for month-based recommendations

Website Section Flow

The main flow rendered by the app is:

  1. Hero
  2. Stats Bar
  3. Beverage Marquee
  4. Beverage Types
  5. Flavor Wheel
  6. Ingredients
  7. Making Process
  8. Nutrition Lab
  9. Seasonal Calendar
  10. Specialties
  11. Facts Marquee
  12. Footer

Note: A Contact component is currently mounted in App.jsx, but it returns null and is reserved for future expansion.

Detailed Feature Breakdown

1) Cinematic Hero and Entry Experience

  • Animated typography and layered atmospheric backgrounds
  • Loading screen with branded sequencing and progress feedback
  • Smooth transition into interactive content sections

2) Scroll-Context 3D Beverage Scene

  • Built with React Three Fiber and Three.js
  • Active beverage context updates with scroll progress
  • Visual tone and accent color adapt dynamically as users navigate sections

3) Beverage Discovery and Deep Dive

  • Card-based beverage browsing by category
  • Modal overlays for focused information without leaving context
  • Animated transitions and polished micro-interactions

4) Flavor Wheel Intelligence

  • Interactive wheel for core flavor dimensions
  • Detail panels for sub-flavors and category associations
  • Animated transitions for selected profiles

5) Ingredient Exploration

  • Ingredient filtering and search behavior
  • Click/keyboard accessible cards with detail modal support
  • Structured content for ingredient origin and role

6) Making Process Timeline

The showcased pipeline is:

  1. Source
  2. Clean
  3. Extract
  4. Blend
  5. Quality Test
  6. Package and Seal

Each step is presented as an interactive horizontal stage with descriptive context.

7) Nutrition Lab

  • Side-by-side comparison of beverages
  • Metric-based bars and visual hierarchy for quick reading
  • Fast category switching to encourage exploration

8) Seasonal Calendar

  • Circular month wheel with interactive month selection
  • Seasonal beverage recommendations per selected period
  • Detail panel that updates with contextual suggestions

9) Specialties and Facts Modules

  • Showcase-style cards highlighting distinctive beverage narratives
  • Continuous facts marquee for educational quick reads

Technology Stack

Frontend

  • React 18
  • Vite 8
  • Framer Motion
  • GSAP

3D and Visualization

  • Three.js
  • @react-three/fiber
  • @react-three/drei
  • @react-three/postprocessing

Styling and Build Tooling

  • Tailwind CSS
  • PostCSS + Autoprefixer
  • ESLint 9

Architecture and Folder Structure

src/
  components/
    3D/          # 3D scene and rendering layers
    layout/      # Navbar and footer
    modals/      # Overlay/dialog components
    sections/    # Primary page sections
    ui/          # Reusable UI building blocks
  data/          # Beverage, nutrition, and content data
  hooks/         # Custom hooks for scroll and view logic
  utils/         # Shared utility helpers
  App.jsx        # Application composition root

Data Model Overview

The project centralizes domain content in src/data modules, including:

  • Beverage metadata and section mapping for scroll context
  • Nutrition metrics and seasonal recommendations
  • Structured display content for feature sections

This keeps UI components focused on rendering and interaction logic.

Accessibility and SEO

Accessibility

  • Skip-to-content support
  • Keyboard-accessible interactive controls
  • ARIA labels for major interactive elements
  • Dialog semantics in modal experiences

SEO

  • Semantic page metadata in index.html
  • Open Graph tags for social sharing
  • public/robots.txt for crawler guidance

Performance Strategy

  • Lazy loading for major sections and heavier modules
  • Suspense boundaries to smooth loading states
  • Focused component granularity for manageable re-renders
  • Vite production optimizations for bundling and delivery

Local Development

Install dependencies and start development server:

npm install
npm run dev

Production Build and Preview

npm run build
npm run preview

Available Scripts

  • npm run dev - Start local development server
  • npm run build - Generate production build
  • npm run preview - Preview built output locally
  • npm run lint - Run linting checks

Roadmap Ideas

  • Add analytics dashboard for user interaction insights
  • Reintroduce advanced contact/newsletter section with backend integration
  • Add multilingual content support for global accessibility
  • Add automated visual regression tests for core sections

About

SIPS is an immersive 3D web showcase that lets users explore global beverages through interactive sections like flavor, ingredients, making process, nutrition, and seasonal recommendations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors