Back to catalogue
Project
Mandura Storefront
Scroll-driven storefront for a herbal tonic: GSAP ScrollTrigger story sections, a CSS 3D bottle viewer, and products, stock, and checkout through the Shopify Storefront GraphQL API.
How it’s builtHow it’s built
Mandura Storefront · Scroll-driven single-page storefront for a herbal tonic using Shopify checkout
I built a single-page storefront for Mandura, a herbal tonic, with a GSAP ScrollTrigger story sequence, a CSS 3D bottle viewer, For Her and For Him variants, and a cart drawer. Products, prices and stock load from the Shopify Storefront GraphQL API, and checkout redirects to Shopify's hosted checkout via cartCreate.
- React section components
- 11
- scroll story stages (3 on mobile)
- 4
- lines of TS/TSX/JS
- ~1,870
- Express routes
- 2
Technology and what it does here
- React 19 + Vite + TypeScript
- Single-page storefront UI
- Shopify Storefront GraphQL API
- FetchCatalog loads variants and prices; cartCreate returns hosted checkoutUrl
- GSAP + ScrollTrigger
- Pinned, scroll-scrubbed four-stage story sequence
- Tailwind CSS v4
- Design tokens in @theme for palette and type
- Express 5
- Serves the built app and a Stripe checkout-session endpoint
- Stripe
- Server-side checkout session creation in server/index.js (not called by the current client)
Implementation details
- The client treats Shopify as source of truth for price and stock and only enables it when the domain and token env vars are set.
- The 3D bottle uses pure CSS transforms rather than WebGL and honours prefers-reduced-motion.
Technologies
- React
- Express
- Shopify
