I have built the web application Refresher Nation!
Key Highlights & Features Included
-
Lively Hero Section:
- High-energy gradient typography and animated floating fizzy particles.
- Interactive search bar to filter drinks by flavor, cafe, or ingredient.
- One-click carbonation pills (
🫧 Fizzy Only (5/5), 💧 Smooth Still Flat, 💨 Nitro Tap).
- Quick statistics counters displaying total tracked refreshers and nearby hotspots.
-
Interactive Nearby Map:
- Leaflet interactive map showing nearby venues (Starbucks, Dutch Bros, Swig, Sonic Drive-In, The Fizz Lab, Dunkin', Panera Bread, Scooter's Coffee, Cloud Nine Boba).
- Custom store pins displaying brand logos, distances in miles, open status, and drive-thru availability.
- Side panel that displays the exact Refresher menu offered at whichever store marker is clicked, with directions links.
-
Refresher Flavors vs. Restaurants Matrix Table:
- Matrix listing Refresher flavors paired against the cafes/restaurants that serve them.
- Color-coded flavor profile badges (Berry & Hibiscus, Citrus & Lime, Tropical Passion, Creamy Coconut, Herbal & Floral, Energy Spark).
- Filterable, searchable, and sortable by Top Rated, Fizziest First, Highest Caffeine, Lowest Calories, or Name.
- Supports both a Full Detailed Table View and a Responsive Grid Card View.
- Expandable "Secret Menu Hack" rows for barista customization tips.
-
Fizzy & Carbonation Level Indicator System:
- Carbonation scale badges:
- 🫧 Sparkling Soda (5/5): Carbonated soda/seltzer/Italian soda base.
- 💨 Nitro Draft Cascade (4/5): Micro-bubbled nitrogen tap stream.
- ⚡ Light Effervescent (2-3/5): Light energy infusions.
- 💧 Smooth Still (0/5): Non-carbonated green coffee/coconut milk/juice flat base.
- How Carbonation Works Guide Modal: Explains carbonation types and offers pro tips on how to request a club soda splash at any cafe.
-
Refresher Mixology Lab & Customizer:
- Customizer where users select liquid bases, carbonation sliders, fruit inclusions, and flavor boosters.
- Live calculations for caffeine, calories, and carbonation levels.
- Automatically computes the closest matching real menu refresher nearby!
-
Refresher Craving Roulette (Spin Wheel):
- Fun spin wheel with celebratory confetti effects that randomly picks a nearby refresher for indecisive drinkers.
-
Side-by-Side Comparison Tray & Community Submissions:
- Bottom drawer allowing side-by-side comparison of up to 3 drinks.
- Form for logging secret menu spots and local gem refreshers.
Files built: index.html, src/index.css, src/types/index.ts, src/data/refreshersData.ts, src/components/Navbar.tsx, src/components/HeroSection.tsx, src/components/InteractiveMap.tsx, src/components/FlavorMatrixTable.tsx, src/components/DrinkCustomizer.tsx, src/components/RefresherSpinWheel.tsx, src/components/FizzyGuideModal.tsx, src/components/ComparisonDrawer.tsx, src/components/RefresherDetailModal.tsx, src/components/AddDrinkModal.tsx, src/App.tsx