Skip to content

Front Views

Front Views is the public TyteRide website. It presents the product, pricing, and the self-serve Company onboarding flow. It is a public surface; authenticated company operations belong in the Fleet Dashboard.

1. Responsibility and Audience

Concern Detail
Primary audience Prospective Company contacts and the public.
Primary responsibility Explain TyteRide, present tiers/pricing, and collect Company onboarding applications.
Auth boundary Public routes; no Manager/Driver/Passenger operational workflows.
Host policy Checked out and deployed on this host.

2. Stack and Hosting

  • Stack: Astro + React islands, Tailwind (per system architecture).
  • Hosting: Built to static assets and served by nginx at / on the beta host.
  • API dependency: Public onboarding endpoint(s), including POST /onboarding/companies as documented in API conventions and architecture.
flowchart LR
    Visitor[Public Visitor] --> Front[Front Views /]
    Front -->|POST /onboarding/companies| API[API /api]
    API --> Admin[Platform Admin queue /admin]
    Admin -->|Approve company| Company[Company becomes active/trial as defined]

3. Core Areas

3.1 Landing

  • Present TyteRide as a B2B bus-reservation platform for companies.
  • Communicate the core value: company-paid seat subscriptions, no Passenger payment, and D2D support where applicable.
  • Content/copy details are not fully specified in source docs.

3.2 Pricing

  • Present subscription tiers. The build spec states pricing is by seat count (approved Passengers) and billing is invoice-only/manual (no payment gateway).
  • Tier fields from domain/data model: code, name_en, name_ar, min_users, max_users, monthly_price.
  • The exact public pricing page structure, comparison table, and CTA behavior are Open Questions.

3.3 Company Onboarding

  • Self-serve Company onboarding form on Front Views.
  • Architecture flow: Front Views form → POST /onboarding/companies (public, rate-limited) → Company created as trial, Manager membership + first company code created → application appears in Platform Admin Filament queue → approval activates the Company → Manager logs into Fleet Dashboard via phone + OTP.
  • The form collects Company/application data needed to create the onboarding request; exact required fields are defined by the onboarding spec/API contract, not fully enumerated in the build spec.

4. Localization and Accessibility

  • Arabic and English everywhere; RTL layout in UI; maps stay LTR if any map is shown.
  • Public pages should follow the same localization conventions as other surfaces.
  • Specific accessibility/compliance requirements are Open Questions.

5. Open Questions

  • Pricing page scope: Should Front Views show live tier data from API or static curated content?
  • Onboarding fields: What exact Company/contact fields are required by POST /onboarding/companies beyond what onboarding specs define?
  • Post-submit state: What confirmation, tracking, or contact expectations are shown after onboarding submission?
  • SEO/content ownership: Source docs do not define copy, metadata, or CMS/content workflow for landing pages.