# fairuz-11/purre-site architecture

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

- Interactive diagram: https://gitdiagram.com/fairuz-11/purre-site
- Repository: https://github.com/fairuz-11/purre-site

## Overview

PUREE is a construction and design company website. Visitors browse the homepage and company information, explore service and portfolio listings or slug-based detail pages, then reach the contact and consultation experience. The sampled routes assemble page sections and use shared static data for service and project content. The contact page’s composition is visible, but the consultation form’s submission behavior and any backend integration were not established by the excerpts.

Main entry points: [`src/lib/data.ts`](https://github.com/fairuz-11/purre-site/blob/main/src/lib/data.ts) (Static Site Data), [`src/app/layanan/[slug]/page.tsx`](https://github.com/fairuz-11/purre-site/blob/main/src/app/layanan/%5Bslug%5D/page.tsx) (Service Detail Route), [`src/app/portofolio/[slug]/page.tsx`](https://github.com/fairuz-11/purre-site/blob/main/src/app/portofolio/%5Bslug%5D/page.tsx) (Project Detail Route), [`src/app/layanan/page.tsx`](https://github.com/fairuz-11/purre-site/blob/main/src/app/layanan/page.tsx) (Services Route)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site Shell"]
  node_site_navigation["Navigation<br/>[Navbar.tsx]"]
  node_shared_ui["Shared UI"]
end

subgraph group_home["Homepage"]
  node_home_route["Homepage Route<br/>[page.tsx]"]
  node_home_sections["Home Sections"]
end

subgraph group_about["Company Profile"]
  node_about_route["About Route<br/>[page.tsx]"]
  node_about_sections["About Sections"]
end

subgraph group_services["Services"]
  node_services_route["Services Route<br/>[page.tsx]"]
  node_services_list["Service Listing<br/>[ServicesList.tsx]"]
  node_service_detail_route["Service Detail Route<br/>[page.tsx]"]
  node_service_detail_sections["Service Detail Sections"]
end

subgraph group_portfolio["Portfolio"]
  node_portfolio_route["Portfolio Route<br/>[page.tsx]"]
  node_portfolio_listing["Project Listing<br/>[ProjectGrid.tsx]"]
  node_project_detail_route["Project Detail Route<br/>[page.tsx]"]
  node_project_detail_sections["Project Detail Sections"]
end

subgraph group_contact["Contact"]
  node_contact_route["Contact Route<br/>[page.tsx]"]
  node_contact_sections["Contact Sections"]
  node_consultation_form["Consultation Form"]
end

node_visitor(("Site Visitor"))
node_static_content["Static Site Data<br/>[data.ts]"]

node_visitor -->|"opens"| node_home_route
node_visitor -->|"opens"| node_about_route
node_visitor -->|"opens"| node_services_route
node_visitor -->|"opens"| node_portfolio_route
node_visitor -->|"opens"| node_contact_route
node_home_route -->|"renders"| node_home_sections
node_about_route -->|"renders"| node_about_sections
node_services_route -->|"renders"| node_services_list
node_services_route -.->|"uses"| node_static_content
node_service_detail_route -->|"looks up"| node_static_content
node_service_detail_route -->|"renders"| node_service_detail_sections
node_service_detail_route -->|"renders"| node_shared_ui
node_portfolio_route -->|"renders"| node_portfolio_listing
node_project_detail_route -->|"looks up"| node_static_content
node_project_detail_route -->|"renders"| node_project_detail_sections
node_project_detail_route -->|"renders"| node_shared_ui
node_contact_route -->|"renders"| node_contact_sections
node_contact_sections -.->|"may render"| node_consultation_form
node_site_navigation -->|"reads"| node_static_content

click node_home_route "https://github.com/fairuz-11/purre-site/blob/main/src/app/page.tsx"
click node_home_sections "https://github.com/fairuz-11/purre-site/tree/main/src/components/home"
click node_about_route "https://github.com/fairuz-11/purre-site/blob/main/src/app/tentang/page.tsx"
click node_about_sections "https://github.com/fairuz-11/purre-site/tree/main/src/components/about"
click node_services_route "https://github.com/fairuz-11/purre-site/blob/main/src/app/layanan/page.tsx"
click node_services_list "https://github.com/fairuz-11/purre-site/blob/main/src/components/services/ServicesList.tsx"
click node_service_detail_route "https://github.com/fairuz-11/purre-site/blob/main/src/app/layanan/%5Bslug%5D/page.tsx"
click node_service_detail_sections "https://github.com/fairuz-11/purre-site/tree/main/src/components/services"
click node_portfolio_route "https://github.com/fairuz-11/purre-site/blob/main/src/app/portofolio/page.tsx"
click node_portfolio_listing "https://github.com/fairuz-11/purre-site/blob/main/src/components/portfolio/ProjectGrid.tsx"
click node_project_detail_route "https://github.com/fairuz-11/purre-site/blob/main/src/app/portofolio/%5Bslug%5D/page.tsx"
click node_project_detail_sections "https://github.com/fairuz-11/purre-site/tree/main/src/components/portfolio"
click node_contact_route "https://github.com/fairuz-11/purre-site/blob/main/src/app/kontak/page.tsx"
click node_contact_sections "https://github.com/fairuz-11/purre-site/tree/main/src/components/contact"
click node_consultation_form "https://github.com/fairuz-11/purre-site/blob/main/src/components/contact/ConsultationForm.tsx"
click node_static_content "https://github.com/fairuz-11/purre-site/blob/main/src/lib/data.ts"
click node_site_navigation "https://github.com/fairuz-11/purre-site/blob/main/src/components/layout/Navbar.tsx"
click node_shared_ui "https://github.com/fairuz-11/purre-site/tree/main/src/components/ui"

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_site_navigation,node_shared_ui toneBlue
class node_home_route,node_home_sections toneAmber
class node_about_route,node_about_sections toneMint
class node_services_route,node_services_list,node_service_detail_route,node_service_detail_sections toneRose
class node_portfolio_route,node_portfolio_listing,node_project_detail_route,node_project_detail_sections,node_visitor toneIndigo
class node_contact_route,node_contact_sections,node_consultation_form,node_static_content toneTeal
```

## Components

### Site Shell

- [Navigation](https://github.com/fairuz-11/purre-site/blob/main/src/components/layout/Navbar.tsx): `src/components/layout/Navbar.tsx`
- [Shared UI](https://github.com/fairuz-11/purre-site/tree/main/src/components/ui): `src/components/ui`

### Homepage

- [Homepage Route](https://github.com/fairuz-11/purre-site/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Home Sections](https://github.com/fairuz-11/purre-site/tree/main/src/components/home): `src/components/home`

### Company Profile

- [About Route](https://github.com/fairuz-11/purre-site/blob/main/src/app/tentang/page.tsx): `src/app/tentang/page.tsx`
- [About Sections](https://github.com/fairuz-11/purre-site/tree/main/src/components/about): `src/components/about`

### Services

- [Services Route](https://github.com/fairuz-11/purre-site/blob/main/src/app/layanan/page.tsx): `src/app/layanan/page.tsx`
- [Service Listing](https://github.com/fairuz-11/purre-site/blob/main/src/components/services/ServicesList.tsx): `src/components/services/ServicesList.tsx`
- [Service Detail Route](https://github.com/fairuz-11/purre-site/blob/main/src/app/layanan/%5Bslug%5D/page.tsx): `src/app/layanan/[slug]/page.tsx`
- [Service Detail Sections](https://github.com/fairuz-11/purre-site/tree/main/src/components/services): `src/components/services`

### Portfolio

- [Portfolio Route](https://github.com/fairuz-11/purre-site/blob/main/src/app/portofolio/page.tsx): `src/app/portofolio/page.tsx`
- [Project Listing](https://github.com/fairuz-11/purre-site/blob/main/src/components/portfolio/ProjectGrid.tsx): `src/components/portfolio/ProjectGrid.tsx`
- [Project Detail Route](https://github.com/fairuz-11/purre-site/blob/main/src/app/portofolio/%5Bslug%5D/page.tsx): `src/app/portofolio/[slug]/page.tsx`
- [Project Detail Sections](https://github.com/fairuz-11/purre-site/tree/main/src/components/portfolio): `src/components/portfolio`

### Contact

- [Contact Route](https://github.com/fairuz-11/purre-site/blob/main/src/app/kontak/page.tsx): `src/app/kontak/page.tsx`
- [Contact Sections](https://github.com/fairuz-11/purre-site/tree/main/src/components/contact): `src/components/contact`
- [Consultation Form](https://github.com/fairuz-11/purre-site/blob/main/src/components/contact/ConsultationForm.tsx): `src/components/contact/ConsultationForm.tsx`

### Other components

- **Site Visitor**
- [Static Site Data](https://github.com/fairuz-11/purre-site/blob/main/src/lib/data.ts): `src/lib/data.ts`

## Connections

- Site Visitor → Homepage Route: opens
- Site Visitor → About Route: opens
- Site Visitor → Services Route: opens
- Site Visitor → Portfolio Route: opens
- Site Visitor → Contact Route: opens
- Homepage Route → Home Sections: renders (evidence: `src/app/page.tsx`)
- About Route → About Sections: renders (evidence: `src/app/tentang/page.tsx`)
- Services Route → Service Listing: renders (evidence: `src/app/layanan/page.tsx`)
- Services Route → Static Site Data: uses
- Service Detail Route → Static Site Data: looks up (evidence: `src/app/layanan/[slug]/page.tsx`)
- Service Detail Route → Service Detail Sections: renders (evidence: `src/app/layanan/[slug]/page.tsx`)
- Service Detail Route → Shared UI: renders (evidence: `src/app/layanan/[slug]/page.tsx`)
- Portfolio Route → Project Listing: renders (evidence: `src/app/portofolio/page.tsx`)
- Project Detail Route → Static Site Data: looks up (evidence: `src/app/portofolio/[slug]/page.tsx`)
- Project Detail Route → Project Detail Sections: renders (evidence: `src/app/portofolio/[slug]/page.tsx`)
- Project Detail Route → Shared UI: renders (evidence: `src/app/portofolio/[slug]/page.tsx`)
- Contact Route → Contact Sections: renders (evidence: `src/app/kontak/page.tsx`)
- Contact Sections → Consultation Form: may render
- Navigation → Static Site Data: reads (evidence: `src/components/layout/Navbar.tsx`)
