How rickyrodio93/sito_herbalife works
This is a Next.js Herbalife wellness site with a central quote-and-cart configurator for customers and sales roles. The quote workflow captures role, discount level and intended use, presents searchable product tables, calculates prices and displays an order summary; the README also describes WhatsApp order links and MyHerbalife deep links. Other product branches cover wellness/product information, recommendations, recipes, FAQs, business content and a Bioniq product page, plus a Google Wallet pass endpoint. Edges reflect shown calls, SOURCE INDEX references or README claims; unsampled route wiring and integrations are not inferred.
Main entry points: prodottiConsigliati.jsx Recommended products · page.js Home page · preventivoClient.jsx Quote inputs · riepilogo.jsx Order summary
Components 25
Quote configurator
- Quote inputs
src/components/pagine/preventivoClient.jsx - Product table
src/components/tabellaPreventivo/tabella.jsx - Product row
src/components/tabellaPreventivo/riga.jsx - Price calculation
src/components/tabellaPreventivo/calcoloPrezzo.js - Tax calculation
src/components/tabellaPreventivo/calcoloPreventivo.js - Order summary
src/components/tabellaPreventivo/riepilogo.jsx - Order links
src/components/tabellaPreventivo/modalRiepilogo/modalRiepilogo.jsx
Product discovery
- Product catalog
src/components/ricette/ricette.js - Recommended products
src/components/prodottiConsigliati/prodottiConsigliati.jsx - Product cards
src/components/cards/cardProdotti.jsx
Wellness content
- Home page
src/app/(riccardorodio.com)/page.js - Home content sections
src/components/sections.jsx - Section renderer
src/components/Section/SectionComponent.jsx - Bioniq page
src/components/pagine/bionicClient.jsx - FAQ content
src/components/accordion/accordionData.jsx - FAQ accordion
src/components/accordion/AccordionItem.jsx - Recipes
src/components/ricette/ricette.js - Wellness pages
src/app/(riccardorodio.com)/controlloPeso/page.js
Site services
- Wallet link API
src/app/(biglietto)/api/wallet-link/route.js - Wallet link generator
src/lib/googleWallet.js - Page tracking
src/components/clientLogic.js
Other components
- Visitor
- Recommendations CSV
- Google Wallet
- Google Tag Manager
Connections 20
- Visitor → Quote inputs: sets quote inputs
README.md - Quote inputs → Product table: renders tables
src/components/pagine/preventivoClient.jsx - Product table → Product row: renders rows
src/components/tabellaPreventivo/tabella.jsx - Product row → Price calculation: calculates prices
src/components/tabellaPreventivo/riga.jsx - Order summary → Tax calculation: calculates totals
src/components/tabellaPreventivo/riepilogo.jsx - Quote inputs → Order summary: displays summary
src/components/pagine/preventivoClient.jsx - Order summary → Order links: opens order details
src/components/tabellaPreventivo/riepilogo.jsx - Order links → Google Wallet: links orders
README.md - Order links → Google Wallet: deep-links order
README.md - Home page → Home content sections: uses sections
src/app/(riccardorodio.com)/page.js - Home page → Section renderer: renders sections
src/app/(riccardorodio.com)/page.js - Home page → Recommended products: shows products
src/app/(riccardorodio.com)/page.js - Recommended products → Recommendations CSV: loads recommendations
src/components/prodottiConsigliati/prodottiConsigliati.jsx - Recommended products → Product cards: renders cards
src/components/prodottiConsigliati/prodottiConsigliati.jsx - Bioniq page → FAQ content: uses product FAQs
src/components/pagine/bionicClient.jsx - FAQ accordion → FAQ content: displays answers
src/components/pagine/faqClient.jsx - Wellness pages → Recommended products: shows products
src/app/(riccardorodio.com)/controlloPeso/page.js - Wallet link API → Wallet link generator: generates link
src/app/(biglietto)/api/wallet-link/route.js - Wallet link generator → Google Wallet: creates save link
src/lib/googleWallet.js - Page tracking → Google Tag Manager: pushes pageviews
src/components/clientLogic.js