Skip to content

Front Views

Public TyteRide website for landing, pricing, and Company onboarding entry. Authenticated company operations belong in the Fleet Dashboard.

Stack and runtime

  • Framework: Astro 6 static site with TypeScript, React islands, and Tailwind.
  • Node: >=22.23.4 (use 22.23.5).
  • Locales: Bilingual /en and /ar routes; Arabic is RTL, English is LTR. Maps stay LTR if added.
  • API env: PUBLIC_API_URL for public API calls such as onboarding submission.

Pages

Route area Purpose
Landing Public product overview and entry CTAs.
Pricing Subscription tier presentation.
Onboarding Company onboarding form / entry flow.

Build and deploy

  • Install/dev: npm install, npm run dev.
  • Build: npm run build (static output in dist/).
  • Preview: npm run preview.
  • Deploy target: /home/tyteride.drolez-apps.cloud/public_html.

Verification

  • npm test (19 tests).
  • npm run build.
  • Strict docs checks in the aggregated docs build.

Rules and references

  • Passengers pay nothing; no payment, wallet, top-up, or split-payment UI.
  • Auth is phone + OTP only where auth appears; no email/password.
  • Terminology: Driver, Passenger, Manager, Company, Fleet Dashboard, Front Views, Platform Admin.

See Front Views spec, Domain glossary, and Container docs index.