How iggy14/tankq works
TankQ is a bilingual, static marketing and product-catalogue site for an FRP and PE tank manufacturer. Visitors browse product categories and product details, explore projects and company information, learn about quality and after-sales services, and reach the contact page. Product detail pages combine catalogue records with optional structured sections; all content is repository-held rather than served from a database or API. The README documents the broader capabilities; connections for unsampled page features are included only where documented or visible in indexed references.
Main entry points: [slug]/page.tsx Product detail · [locale]/page.tsx Home page · products/page.tsx Product listing · about/page.tsx About page
Components 23
Pages and routing
- Home page
src/app/[locale]/page.tsx - Product listing
src/app/[locale]/products/page.tsx - Product detail
src/app/[locale]/products/[slug]/page.tsx - Projects page
src/app/[locale]/projects/page.tsx - Service page
src/app/[locale]/service/page.tsx - About page
src/app/[locale]/about/page.tsx - Quality page
src/app/[locale]/quality/page.tsx - Contact page
src/app/[locale]/contact/page.tsx
Product catalogue
- Catalogue view
src/components/product-catalogue/index.tsx - Product records
src/lib/products.ts - Detail section data
src/lib/product-section-data.ts - Section renderer
src/components/product-sections/index.tsx - Section models
src/lib/product-sections.ts
Company content
- Project showcase
src/components/project-case-studies.tsx - Service sections
src/components/service-sections/service-section.tsx - Service records
src/lib/services.ts
Shared presentation
- Home hero
src/components/hero/index.tsx - Featured products
src/components/featured-products.tsx - Breadcrumbs and JSON-LD
src/components/breadcrumbs.tsx
Localization and SEO
- Locale routing
src/i18n/routing.ts - Locale detection
src/proxy.ts - Metadata and canonicals
src/lib/site.ts
Other components
- Site visitor
Connections 27
- Site visitor → Home page: browses
README.md - Site visitor → Product listing: browses
README.md - Site visitor → Product detail: opens product
README.md - Site visitor → Projects page: browses
README.md - Site visitor → Service page: browses
README.md - Site visitor → About page: browses
README.md - Site visitor → Quality page: browses
README.md - Site visitor → Contact page: contacts
README.md - Home page → Home hero: renders
src/app/[locale]/page.tsx - Home page → Featured products: renders
src/app/[locale]/page.tsx - Product listing → Catalogue view: renders
src/app/[locale]/products/page.tsx - Product listing → Product records: reads
src/app/[locale]/products/page.tsx - Catalogue view → Product records: displays
- Product detail → Product records: looks up
src/app/[locale]/products/[slug]/page.tsx - Product detail → Detail section data: loads sections
src/app/[locale]/products/[slug]/page.tsx - Product detail → Section renderer: renders
src/app/[locale]/products/[slug]/page.tsx - Section renderer → Section models: uses models
src/components/product-sections/index.tsx - Projects page → Project showcase: renders
src/app/[locale]/projects/page.tsx - Service page → Service sections: renders
src/app/[locale]/service/page.tsx - Service sections → Service records: reads
src/components/service-sections/service-section.tsx - About page → Featured products: renders
src/app/[locale]/about/page.tsx - About page → Metadata and canonicals: builds metadata
src/app/[locale]/about/page.tsx - Product detail → Metadata and canonicals: builds metadata
src/app/[locale]/products/[slug]/page.tsx - Locale detection → Locale routing: uses routes
src/proxy.ts - Home page → Locale routing: sets locale
- Product listing → Breadcrumbs and JSON-LD: renders
src/app/[locale]/products/page.tsx - Product detail → Breadcrumbs and JSON-LD: renders
src/app/[locale]/products/[slug]/page.tsx