How amirbekbaxshilloyev/buxsoft-clean works
BuxSoft is a bilingual accounting and tax-outsourcing marketing site with a quote-and-consultation lead wizard. The documented user journey runs from the site’s service and pricing content into a multi-step request, then submits the confirmed lead. Google Sheets supplies runtime CMS content and receives leads through Apps Script. The excerpts establish the CMS client and final wizard submission; some page-loading and Apps Script internals are not sampled, so those links reflect README documentation rather than inspected implementation details.
Main entry points: Wizard.tsx Wizard controller · cms.ts CMS service · page.tsx Page entry · BuxSoftApp.tsx Marketing content
Components 17
Marketing Site
- Page entry
app/page.tsx - Marketing content
sections/BuxSoftApp.tsx - Bilingual text
lib/i18n.tsx
Lead Wizard
- Wizard controller
sections/wizard/Wizard.tsx - Contact details
sections/wizard/StepRegistration.tsx - Business activity
sections/wizard/StepActivity.tsx - Tariff selection
sections/wizard/StepTariff.tsx - Extra services
sections/wizard/StepServices.tsx - Confirm request
sections/wizard/StepSummary.tsx - Selection pricing
lib/wizard.ts - Wizard form model
types/wizard.ts
CMS Client
- CMS service
services/cms.ts - CMS data model
types/cms.ts
Sheets Backend
- Apps Script API
apps-script/Code.gs - Google Sheets
Other components
- Site visitor
- Apps Script endpoint
Connections 21
- Site visitor → Page entry: opens
- Page entry → CMS service: loads CMS
- CMS service → Apps Script endpoint: fetches content
- Apps Script endpoint → Apps Script API: dispatches request
- Apps Script API → Google Sheets: reads or writes
- CMS service → CMS data model: normalizes as
- Page entry → Marketing content: renders
- Marketing content → Bilingual text: gets translations
- Marketing content → Wizard controller: opens consultation
- Wizard controller → Contact details: presents step
- Wizard controller → Business activity: presents step
- Wizard controller → Tariff selection: presents step
- Wizard controller → Extra services: presents step
- Wizard controller → Confirm request: presents step
- Contact details → Wizard form model: updates form
- Business activity → Wizard form model: updates form
- Tariff selection → Wizard form model: updates form
- Extra services → Selection pricing: derives total
- Confirm request → Selection pricing: derives total
- Confirm request → CMS service: submits lead
- CMS service → Apps Script endpoint: posts lead