How divitgangrade-lab/turbo.tutor works
TurboTutor is a static tutoring marketing site. Its main visitor flow is to configure a tutoring plan, add it to the kart, and send a request by email or text for the tutor to confirm; no online payment or site-owned backend handles that request. Separate capabilities include rotating offers, newsletter signup, public reviews and visit counts, and numerous locally bundled visual islands. The tree and excerpts support the review API and island implementations, but not the page markup or most plan/kart internals, so those workflow nodes use null paths and their links rely on README documentation.
Main entry points: enhance.js Island loading · index.js Reviews and visits API · PeekRating.jsx Pit wall reviews · Counter.jsx Visit counter
Components 26
Plan and contact
- Plan builder
- Price summary
- Kart
- Request contact
Offers and community
- Offers
- Newsletter signup
enhance.js - Pit wall reviews
src/pit-rating/PeekRating.jsx - Visit counter
src/visit-counter/Counter.jsx
Public API
- Reviews and visits API
reviews-api/index.js - Cloudflare D1
Visual islands
- Island loading
enhance.js - Circular gallery
src/circular-gallery/CircularGallery.jsx - Interactive islands
src/dock/Dock.jsx - Shader effects
src/grid-scan/GridScan.jsx - Landing effects
src/flying-button/FlyingButton.jsx - Legal backgrounds
src/legal-bg/Topography.jsx - Magic Bento
src/magic-bento/MagicBento.jsx - Paper Crumple
src/paper-crumple/PaperCrumple.jsx - Elastic Mesh
src/elastic-mesh/ElasticMesh.jsx - Fluid Glass
src/fluid-glass/FluidGlass.jsx - Laser Flow
src/laser-flow/LaserFlow.jsx - Pattern Waves
src/pattern-waves/PatternWaves.jsx - Tech Text
src/tech-text/TechText.jsx
Other components
- Visitor
- Tutor
- FormSubmit
Connections 26
- Visitor → Plan builder: chooses plan
- Plan builder → Price summary: recalculates price
- Price summary → Kart: adds plan
- Kart → Request contact: builds request
- Request contact → Tutor: sends by email or text
- Visitor → Offers: views offers
- Visitor → Newsletter signup: signs up
- Newsletter signup → FormSubmit: sends signup
- FormSubmit → Tutor: delivers signup
- Visitor → Pit wall reviews: posts review
- Pit wall reviews → Reviews and visits API: submits and reads
- Visitor → Visit counter: views count
- Visit counter → Reviews and visits API: reads visits
- Reviews and visits API → Cloudflare D1: reads and writes
reviews-api/index.js - Island loading → Circular gallery: loads near viewport
- Island loading → Interactive islands: loads locally
- Island loading → Shader effects: loads near viewport
- Island loading → Landing effects: loads on approach
- Island loading → Legal backgrounds: loads on approach
- Island loading → Magic Bento: loads locally
- Island loading → Paper Crumple: loads near footer
- Island loading → Elastic Mesh: loads on 404
- Island loading → Fluid Glass: loads near contact
- Island loading → Laser Flow: loads near promise
- Island loading → Pattern Waves: loads near signup
- Island loading → Tech Text: loads near footer