How divineninja/usld-tsx-template works
AutoPro Services is a bilingual automotive-services website. Visitors browse the home page’s service offerings and project gallery, then can navigate to a quote-request form; the sampled code shows the form’s fields but does not establish where submissions go. The app also includes informational sections, contact details, and a not-found route. The graph reflects the visible route and component composition; unsampled component behavior and any quote-processing backend are not inferred.
Main entry points: Index.tsx Home page · App.tsx App and routes · Services.tsx Service catalog · Quote.tsx Quote page
Components 14
App and routing
- Browser entry
src/main.tsx - App and routes
src/App.tsx - Home page
src/pages/Index.tsx - Quote page
src/pages/Quote.tsx - Not found
src/pages/NotFound.tsx
Customer experience
- Navigation
src/components/Navigation.tsx - Service introduction
src/components/Hero.tsx - Service catalog
src/components/Services.tsx - Work gallery
src/components/Gallery.tsx - About section
src/components/About.tsx - Contact footer
src/components/Footer.tsx
Shared state
- Language context
src/contexts/LanguageContext.tsx
UI building blocks
- Shared UI controls
src/components/ui
Other components
- Visitor
Connections 18
- Visitor → Browser entry: opens site
- Browser entry → App and routes: renders
- App and routes → Home page: routes /
- App and routes → Quote page: routes /quote
- App and routes → Not found: routes unmatched
- App and routes → Language context: provides context
- Home page → Navigation: renders
- Home page → Service introduction: renders
- Home page → Service catalog: renders
- Home page → Work gallery: renders
- Home page → About section: renders
- Home page → Contact footer: renders
- Service catalog → Quote page: navigates to
- Service catalog → Language context: reads translations
- Work gallery → Language context: reads translations
- Quote page → Language context: reads translations
- Service catalog → Shared UI controls: uses controls
- Quote page → Shared UI controls: uses controls