# business8281/pavan-groups architecture

> Architecture diagram of the GitHub repository business8281/pavan-groups, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/business8281/pavan-groups
- Repository: https://github.com/business8281/pavan-groups

## Overview

Pavan Stones Group is a public-facing natural-stone exporter website. Visitors discover materials through the homepage or product catalogue, inspect product and company details, and can proceed to sample requests or export information. The site also presents architectural projects, company locations, and educational material about stone. The graph reflects documented imports and README-described capabilities; several major page implementations were not sampled, so their internal interactions are not inferred.

Main entry points: [`app/page.tsx`](https://github.com/business8281/pavan-groups/blob/main/app/page.tsx) (Homepage), [`app/products/page.tsx`](https://github.com/business8281/pavan-groups/blob/main/app/products/page.tsx) (Product catalogue), [`app/companies`](https://github.com/business8281/pavan-groups/tree/main/app/companies) (Company profiles), [`context/WishlistContext.tsx`](https://github.com/business8281/pavan-groups/blob/main/context/WishlistContext.tsx) (Wishlist state)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Site experience"]
  node_home["Homepage<br/>[page.tsx]"]
  node_shell["Client shell<br/>[ClientLayout.tsx]"]
  node_scroll["Smooth scrolling<br/>[SmoothScroll.tsx]"]
  node_projects["Project gallery<br/>[page.tsx]"]
  node_about["About and guide<br/>[page.tsx]"]
end

subgraph group_catalog["Stone discovery"]
  node_catalogue["Product catalogue<br/>[page.tsx]"]
  node_category["Category browsing"]
  node_productdata["Product data<br/>[productsData.ts]"]
  node_filtering["Product filtering"]
  node_detailroute["Product detail route<br/>[page.tsx]"]
  node_detailview["Product detail view"]
  node_wishlist["Wishlist state"]
  node_browserstore[("Browser storage")]
end

subgraph group_companies["Company profiles"]
  node_companyroutes["Company profiles"]
  node_editorial["Company editorial"]
  node_editorialdata["Editorial content"]
  node_dimensions["Size specifications"]
  node_locations["Company locations"]
  node_locationdata["Location data"]
end

subgraph group_conversion["Export and contact"]
  node_export["Export information<br/>[page.tsx]"]
  node_shipping["Shipping experience"]
  node_journey["Export journey<br/>[TheJourney.tsx]"]
  node_sample["Sample request<br/>[page.tsx]"]
  node_contact["Contact page<br/>[page.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"visits"| node_home
node_visitor -->|"browses"| node_catalogue
node_home -->|"renders within"| node_shell
node_shell -->|"wraps content"| node_scroll
node_home -->|"presents products"| node_catalogue
node_home -.->|"promotes projects"| node_projects
node_home -.->|"promotes guidance"| node_about
node_catalogue -->|"reads"| node_productdata
node_catalogue -->|"uses filters"| node_filtering
node_catalogue -->|"reads wishlist"| node_wishlist
node_category -->|"uses products"| node_productdata
node_category -->|"uses filters"| node_filtering
node_detailroute -->|"looks up product"| node_productdata
node_detailroute -->|"renders detail"| node_detailview
node_detailroute -->|"renders category"| node_category
node_wishlist -->|"persists IDs"| node_browserstore
node_wishlist -->|"resolves items"| node_productdata
node_shell -->|"provides state"| node_wishlist
node_companyroutes -->|"renders profile"| node_editorial
node_companyroutes -->|"supplies content"| node_editorialdata
node_companyroutes -->|"renders specifications"| node_dimensions
node_companyroutes -->|"renders locations"| node_locations
node_locations -->|"reads location"| node_locationdata
node_export -->|"presents shipping"| node_shipping
node_export -->|"presents process"| node_journey
node_visitor -.->|"requests sample"| node_sample
node_visitor -.->|"contacts company"| node_contact

click node_home "https://github.com/business8281/pavan-groups/blob/main/app/page.tsx"
click node_shell "https://github.com/business8281/pavan-groups/blob/main/components/ClientLayout.tsx"
click node_scroll "https://github.com/business8281/pavan-groups/blob/main/components/SmoothScroll.tsx"
click node_projects "https://github.com/business8281/pavan-groups/blob/main/app/projects/page.tsx"
click node_about "https://github.com/business8281/pavan-groups/blob/main/app/about/page.tsx"
click node_catalogue "https://github.com/business8281/pavan-groups/blob/main/app/products/page.tsx"
click node_category "https://github.com/business8281/pavan-groups/blob/main/components/CategoryProductsView.tsx"
click node_productdata "https://github.com/business8281/pavan-groups/blob/main/lib/productsData.ts"
click node_filtering "https://github.com/business8281/pavan-groups/blob/main/lib/productFilterUtils.ts"
click node_detailroute "https://github.com/business8281/pavan-groups/blob/main/app/products/%5Bid%5D/page.tsx"
click node_detailview "https://github.com/business8281/pavan-groups/blob/main/components/ProductDetailView.tsx"
click node_wishlist "https://github.com/business8281/pavan-groups/blob/main/context/WishlistContext.tsx"
click node_companyroutes "https://github.com/business8281/pavan-groups/tree/main/app/companies"
click node_editorial "https://github.com/business8281/pavan-groups/blob/main/components/CompanyEditorialShowcase.tsx"
click node_editorialdata "https://github.com/business8281/pavan-groups/blob/main/lib/companyEditorialData.ts"
click node_dimensions "https://github.com/business8281/pavan-groups/blob/main/components/DimensionalMatrix.tsx"
click node_locations "https://github.com/business8281/pavan-groups/blob/main/components/CompanyLocationSection.tsx"
click node_locationdata "https://github.com/business8281/pavan-groups/blob/main/lib/companyLocations.ts"
click node_export "https://github.com/business8281/pavan-groups/blob/main/app/export/page.tsx"
click node_shipping "https://github.com/business8281/pavan-groups/blob/main/components/ShippingAustralia.tsx"
click node_journey "https://github.com/business8281/pavan-groups/blob/main/components/TheJourney.tsx"
click node_sample "https://github.com/business8281/pavan-groups/blob/main/app/request-sample/page.tsx"
click node_contact "https://github.com/business8281/pavan-groups/blob/main/app/contact/page.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_shell,node_scroll,node_projects,node_about toneBlue
class node_catalogue,node_category,node_productdata,node_filtering,node_detailroute,node_detailview,node_wishlist,node_browserstore toneAmber
class node_companyroutes,node_editorial,node_editorialdata,node_dimensions,node_locations,node_locationdata toneMint
class node_export,node_shipping,node_journey,node_sample,node_contact toneRose
class node_visitor toneIndigo
```

## Components

### Site experience

- [Homepage](https://github.com/business8281/pavan-groups/blob/main/app/page.tsx): `app/page.tsx`
- [Client shell](https://github.com/business8281/pavan-groups/blob/main/components/ClientLayout.tsx): `components/ClientLayout.tsx`
- [Smooth scrolling](https://github.com/business8281/pavan-groups/blob/main/components/SmoothScroll.tsx): `components/SmoothScroll.tsx`
- [Project gallery](https://github.com/business8281/pavan-groups/blob/main/app/projects/page.tsx): `app/projects/page.tsx`
- [About and guide](https://github.com/business8281/pavan-groups/blob/main/app/about/page.tsx): `app/about/page.tsx`

### Stone discovery

- [Product catalogue](https://github.com/business8281/pavan-groups/blob/main/app/products/page.tsx): `app/products/page.tsx`
- [Category browsing](https://github.com/business8281/pavan-groups/blob/main/components/CategoryProductsView.tsx): `components/CategoryProductsView.tsx`
- [Product data](https://github.com/business8281/pavan-groups/blob/main/lib/productsData.ts): `lib/productsData.ts`
- [Product filtering](https://github.com/business8281/pavan-groups/blob/main/lib/productFilterUtils.ts): `lib/productFilterUtils.ts`
- [Product detail route](https://github.com/business8281/pavan-groups/blob/main/app/products/%5Bid%5D/page.tsx): `app/products/[id]/page.tsx`
- [Product detail view](https://github.com/business8281/pavan-groups/blob/main/components/ProductDetailView.tsx): `components/ProductDetailView.tsx`
- [Wishlist state](https://github.com/business8281/pavan-groups/blob/main/context/WishlistContext.tsx): `context/WishlistContext.tsx`
- **Browser storage**

### Company profiles

- [Company profiles](https://github.com/business8281/pavan-groups/tree/main/app/companies): `app/companies`
- [Company editorial](https://github.com/business8281/pavan-groups/blob/main/components/CompanyEditorialShowcase.tsx): `components/CompanyEditorialShowcase.tsx`
- [Editorial content](https://github.com/business8281/pavan-groups/blob/main/lib/companyEditorialData.ts): `lib/companyEditorialData.ts`
- [Size specifications](https://github.com/business8281/pavan-groups/blob/main/components/DimensionalMatrix.tsx): `components/DimensionalMatrix.tsx`
- [Company locations](https://github.com/business8281/pavan-groups/blob/main/components/CompanyLocationSection.tsx): `components/CompanyLocationSection.tsx`
- [Location data](https://github.com/business8281/pavan-groups/blob/main/lib/companyLocations.ts): `lib/companyLocations.ts`

### Export and contact

- [Export information](https://github.com/business8281/pavan-groups/blob/main/app/export/page.tsx): `app/export/page.tsx`
- [Shipping experience](https://github.com/business8281/pavan-groups/blob/main/components/ShippingAustralia.tsx): `components/ShippingAustralia.tsx`
- [Export journey](https://github.com/business8281/pavan-groups/blob/main/components/TheJourney.tsx): `components/TheJourney.tsx`
- [Sample request](https://github.com/business8281/pavan-groups/blob/main/app/request-sample/page.tsx): `app/request-sample/page.tsx`
- [Contact page](https://github.com/business8281/pavan-groups/blob/main/app/contact/page.tsx): `app/contact/page.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Homepage: visits
- Visitor → Product catalogue: browses
- Homepage → Client shell: renders within
- Client shell → Smooth scrolling: wraps content (evidence: `components/ClientLayout.tsx`)
- Homepage → Product catalogue: presents products (evidence: `app/page.tsx`)
- Homepage → Project gallery: promotes projects
- Homepage → About and guide: promotes guidance
- Product catalogue → Product data: reads (evidence: `app/products/page.tsx`)
- Product catalogue → Product filtering: uses filters (evidence: `app/products/page.tsx`)
- Product catalogue → Wishlist state: reads wishlist (evidence: `app/products/page.tsx`)
- Category browsing → Product data: uses products (evidence: `components/CategoryProductsView.tsx`)
- Category browsing → Product filtering: uses filters (evidence: `components/CategoryProductsView.tsx`)
- Product detail route → Product data: looks up product (evidence: `app/products/[id]/page.tsx`)
- Product detail route → Product detail view: renders detail (evidence: `app/products/[id]/page.tsx`)
- Product detail route → Category browsing: renders category (evidence: `app/products/[id]/page.tsx`)
- Wishlist state → Browser storage: persists IDs (evidence: `context/WishlistContext.tsx`)
- Wishlist state → Product data: resolves items (evidence: `context/WishlistContext.tsx`)
- Client shell → Wishlist state: provides state (evidence: `components/ClientLayout.tsx`)
- Company profiles → Company editorial: renders profile (evidence: `app/companies/pavan-impex/page.tsx`)
- Company profiles → Editorial content: supplies content (evidence: `app/companies/pavan-impex/page.tsx`)
- Company profiles → Size specifications: renders specifications (evidence: `app/companies/pavan-impex/page.tsx`)
- Company profiles → Company locations: renders locations (evidence: `app/companies/pavan-impex/page.tsx`)
- Company locations → Location data: reads location (evidence: `components/CompanyLocationSection.tsx`)
- Export information → Shipping experience: presents shipping (evidence: `app/export/page.tsx`)
- Export information → Export journey: presents process (evidence: `app/export/page.tsx`)
- Visitor → Sample request: requests sample
- Visitor → Contact page: contacts company
