How uzankhan/tricon works
Tricon Portacabin Showcase is a product-marketing website for portable cabins, container offices, and related spaces. Visitors discover offerings and Pakistan-focused project information, browse products or gallery content, then prepare an enquiry and continue to WhatsApp or contact Tricon directly. The map preserves the documented location pages, FAQ, trust content, and shared site shell. Several route and component implementations are unsampled; links between them are included only where the excerpts, source index, or README support them.
Main entry points: index.tsx Home page · routeTree.gen.ts Route registry · brand.ts Brand configuration · contact.tsx Contact page
Components 25
Routing and shell
- Router setup
src/router.tsx - Route registry
src/routeTree.gen.ts - Root layout
src/routes/__root.tsx - Site shell
src/components/site.tsx
Product discovery
- Home page
src/routes/index.tsx - Products page
src/routes/products.tsx - Product collection
src/components/product-collection.tsx - Product catalog data
src/lib/products.ts - Gallery page
src/routes/gallery.tsx - Pakistan workflow
src/components/pakistan-workflow.tsx - Trust sections
src/components/trust-sections.tsx
Brand and information
- About page
src/routes/about.tsx - Contact page
src/routes/contact.tsx - SEO content
src/components/seo-content.tsx - City landing pages
src/routes - Brand configuration
src/lib/brand.ts - Motion effects
src/components/motion.tsx
Runtime services
- Google Analytics
src/routes/__root.tsx - Server handling
src/server.ts - Error capture
src/lib/error-capture.ts - Error page
src/lib/error-page.ts - Start integration
src/start.ts
Other components
- Visitor
- Google Analytics service
Connections 32
- Visitor → Router setup: opens site
src/router.tsx - Router setup → Route registry: loads routes
src/router.tsx - Route registry → Home page: registers route
src/routeTree.gen.ts - Route registry → Products page: registers route
src/routeTree.gen.ts - Route registry → Gallery page: registers route
src/routeTree.gen.ts - Route registry → About page: registers route
src/routeTree.gen.ts - Route registry → Contact page: registers route
src/routeTree.gen.ts - Root layout → Site shell: renders shell
src/routes/__root.tsx - Root layout → Google Analytics: renders tracking
src/routes/__root.tsx - Google Analytics → Google Analytics service: sends pageviews
src/routes/__root.tsx - Root layout → Visitor: renders route content
src/routes/__root.tsx - Home page → Product collection: renders collection
src/routes/index.tsx - Home page → Pakistan workflow: renders workflow
src/routes/index.tsx - Home page → Trust sections: renders trust content
src/routes/index.tsx - Home page → Motion effects: uses effects
src/routes/index.tsx - Products page → Product collection: renders collection
src/routes/products.tsx - Product collection → Product catalog data: reads catalog
src/components/product-collection.tsx - Gallery page → Product catalog data: reads catalog
src/routes/gallery.tsx - Contact page → SEO content: renders FAQs
src/routes/contact.tsx - Home page → Brand configuration: uses contact link
src/routes/index.tsx - Pakistan workflow → Brand configuration: builds enquiry link
src/components/pakistan-workflow.tsx - Site shell → Brand configuration: builds contact links
src/components/site.tsx - Contact page → Brand configuration: reads business details
src/routes/contact.tsx - Home page → Visitor: presents products
src/routes/index.tsx - Site shell → WhatsApp: opens chat
src/components/site.tsx - Contact page → WhatsApp: prepares enquiry
src/routes/contact.tsx - Pakistan workflow → WhatsApp: links to chat
src/components/pakistan-workflow.tsx - About page → Brand configuration: uses brand details
src/routes/about.tsx - City landing pages → SEO content: uses page content
src/routes/container-office-lahore.tsx - Server handling → Error capture: uses capture
src/server.ts - Server handling → Error page: uses error page
src/server.ts - Start integration → Error page: uses error page
src/start.ts