# karthi8749/urth architecture

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

- Interactive diagram: https://gitdiagram.com/karthi8749/urth
- Repository: https://github.com/karthi8749/urth

## Overview

URTH Studio is an architecture and interior-design showcase and enquiry website. Visitors explore the homepage, studio story, project index and case studies, expertise, and the studio’s eight-step journey; prospective clients can submit an enquiry. The README documents the contact form’s same-domain PHP mailer endpoint. Several route and layout implementations were not sampled, so those branches are represented at their documented route level; arrows are limited to relationships visible in excerpts, the SOURCE INDEX, or README.

Main entry points: [`src/app/page.tsx`](https://github.com/karthi8749/urth/blob/main/src/app/page.tsx) (Homepage), [`src/app/expertise/page.tsx`](https://github.com/karthi8749/urth/blob/main/src/app/expertise/page.tsx) (Expertise route), [`src/components/sections/contact-form.tsx`](https://github.com/karthi8749/urth/blob/main/src/components/sections/contact-form.tsx) (Enquiry form), [`src/content/projects.ts`](https://github.com/karthi8749/urth/blob/main/src/content/projects.ts) (Project catalogue)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Site pages"]
  node_home["Homepage<br/>[page.tsx]"]
  node_about_page["About route<br/>[page.tsx]"]
  node_projects_page["Projects index<br/>[page.tsx]"]
  node_project_detail["Project case study<br/>[page.tsx]"]
  node_expertise_page["Expertise route<br/>[page.tsx]"]
  node_contact_page["Contact route<br/>[page.tsx]"]
end

subgraph group_studio["Studio story"]
  node_hero["Hero section<br/>[hero.tsx]"]
  node_about_story["Studio story<br/>[about-client.tsx]"]
  node_about_content["About content<br/>[about.ts]"]
  node_who_we_are["Studio introduction<br/>[who-we-are.tsx]"]
end

subgraph group_portfolio["Project portfolio"]
  node_project_list["Project catalogue<br/>[projects.ts]"]
  node_featured_projects["Featured projects"]
end

subgraph group_expertise["Expertise and journey"]
  node_expertise_preview["Expertise preview"]
  node_expertise_content["Expertise pillars<br/>[expertise.ts]"]
  node_expertise_scroll["Expertise details"]
  node_journey_teaser["Journey teaser<br/>[journey-teaser.tsx]"]
  node_journey_detail["Journey steps"]
  node_journey_content["Journey content<br/>[journey.ts]"]
end

subgraph group_inquiry["Client enquiries"]
  node_contact_form["Enquiry form<br/>[contact-form.tsx]"]
  node_contact_api["PHP mailer<br/>[contact.php]"]
end

node_visitor(("Site visitor"))
node_enquiry_inbox(("Enquiry mailbox"))

node_visitor -->|"opens site"| node_home
node_visitor -->|"visits"| node_about_page
node_visitor -->|"visits"| node_projects_page
node_visitor -->|"visits"| node_expertise_page
node_visitor -->|"visits"| node_contact_page
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_who_we_are
node_home -->|"renders"| node_featured_projects
node_home -->|"renders"| node_journey_teaser
node_home -->|"renders"| node_expertise_preview
node_about_page -->|"renders"| node_about_story
node_about_story -->|"reads"| node_about_content
node_who_we_are -->|"reads"| node_about_content
node_projects_page -->|"reads"| node_project_list
node_project_detail -->|"looks up project"| node_project_list
node_featured_projects -->|"reads"| node_project_list
node_expertise_preview -->|"reads"| node_expertise_content
node_expertise_page -->|"renders"| node_expertise_scroll
node_expertise_page -->|"renders"| node_journey_detail
node_expertise_page -->|"reads"| node_expertise_content
node_journey_teaser -->|"reads"| node_journey_content
node_journey_detail -->|"reads"| node_journey_content
node_contact_page -->|"renders"| node_contact_form
node_visitor -->|"submits enquiry"| node_contact_form
node_contact_form -->|"posts JSON"| node_contact_api
node_contact_api -.->|"mails enquiry"| node_enquiry_inbox

click node_home "https://github.com/karthi8749/urth/blob/main/src/app/page.tsx"
click node_about_page "https://github.com/karthi8749/urth/blob/main/src/app/about/page.tsx"
click node_projects_page "https://github.com/karthi8749/urth/blob/main/src/app/projects/page.tsx"
click node_project_detail "https://github.com/karthi8749/urth/blob/main/src/app/projects/%5Bslug%5D/page.tsx"
click node_expertise_page "https://github.com/karthi8749/urth/blob/main/src/app/expertise/page.tsx"
click node_contact_page "https://github.com/karthi8749/urth/blob/main/src/app/contact/page.tsx"
click node_hero "https://github.com/karthi8749/urth/blob/main/src/components/sections/hero.tsx"
click node_about_story "https://github.com/karthi8749/urth/blob/main/src/app/about/about-client.tsx"
click node_about_content "https://github.com/karthi8749/urth/blob/main/src/content/about.ts"
click node_who_we_are "https://github.com/karthi8749/urth/blob/main/src/components/sections/who-we-are.tsx"
click node_project_list "https://github.com/karthi8749/urth/blob/main/src/content/projects.ts"
click node_featured_projects "https://github.com/karthi8749/urth/blob/main/src/components/sections/featured-projects.tsx"
click node_expertise_preview "https://github.com/karthi8749/urth/blob/main/src/components/sections/expertise-preview.tsx"
click node_expertise_content "https://github.com/karthi8749/urth/blob/main/src/content/expertise.ts"
click node_expertise_scroll "https://github.com/karthi8749/urth/blob/main/src/components/sections/expertise-horizontal-scroll.tsx"
click node_journey_teaser "https://github.com/karthi8749/urth/blob/main/src/components/sections/journey-teaser.tsx"
click node_journey_detail "https://github.com/karthi8749/urth/blob/main/src/components/sections/journey-interactive.tsx"
click node_journey_content "https://github.com/karthi8749/urth/blob/main/src/content/journey.ts"
click node_contact_form "https://github.com/karthi8749/urth/blob/main/src/components/sections/contact-form.tsx"
click node_contact_api "https://github.com/karthi8749/urth/blob/main/api/contact.php"

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_about_page,node_projects_page,node_project_detail,node_expertise_page,node_contact_page toneBlue
class node_hero,node_about_story,node_about_content,node_who_we_are toneAmber
class node_project_list,node_featured_projects toneMint
class node_expertise_preview,node_expertise_content,node_expertise_scroll,node_journey_teaser,node_journey_detail,node_journey_content toneRose
class node_contact_form,node_contact_api,node_visitor,node_enquiry_inbox toneIndigo
```

## Components

### Site pages

- [Homepage](https://github.com/karthi8749/urth/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [About route](https://github.com/karthi8749/urth/blob/main/src/app/about/page.tsx): `src/app/about/page.tsx`
- [Projects index](https://github.com/karthi8749/urth/blob/main/src/app/projects/page.tsx): `src/app/projects/page.tsx`
- [Project case study](https://github.com/karthi8749/urth/blob/main/src/app/projects/%5Bslug%5D/page.tsx): `src/app/projects/[slug]/page.tsx`
- [Expertise route](https://github.com/karthi8749/urth/blob/main/src/app/expertise/page.tsx): `src/app/expertise/page.tsx`
- [Contact route](https://github.com/karthi8749/urth/blob/main/src/app/contact/page.tsx): `src/app/contact/page.tsx`

### Studio story

- [Hero section](https://github.com/karthi8749/urth/blob/main/src/components/sections/hero.tsx): `src/components/sections/hero.tsx`
- [Studio story](https://github.com/karthi8749/urth/blob/main/src/app/about/about-client.tsx): `src/app/about/about-client.tsx`
- [About content](https://github.com/karthi8749/urth/blob/main/src/content/about.ts): `src/content/about.ts`
- [Studio introduction](https://github.com/karthi8749/urth/blob/main/src/components/sections/who-we-are.tsx): `src/components/sections/who-we-are.tsx`

### Project portfolio

- [Project catalogue](https://github.com/karthi8749/urth/blob/main/src/content/projects.ts): `src/content/projects.ts`
- [Featured projects](https://github.com/karthi8749/urth/blob/main/src/components/sections/featured-projects.tsx): `src/components/sections/featured-projects.tsx`

### Expertise and journey

- [Expertise preview](https://github.com/karthi8749/urth/blob/main/src/components/sections/expertise-preview.tsx): `src/components/sections/expertise-preview.tsx`
- [Expertise pillars](https://github.com/karthi8749/urth/blob/main/src/content/expertise.ts): `src/content/expertise.ts`
- [Expertise details](https://github.com/karthi8749/urth/blob/main/src/components/sections/expertise-horizontal-scroll.tsx): `src/components/sections/expertise-horizontal-scroll.tsx`
- [Journey teaser](https://github.com/karthi8749/urth/blob/main/src/components/sections/journey-teaser.tsx): `src/components/sections/journey-teaser.tsx`
- [Journey steps](https://github.com/karthi8749/urth/blob/main/src/components/sections/journey-interactive.tsx): `src/components/sections/journey-interactive.tsx`
- [Journey content](https://github.com/karthi8749/urth/blob/main/src/content/journey.ts): `src/content/journey.ts`

### Client enquiries

- [Enquiry form](https://github.com/karthi8749/urth/blob/main/src/components/sections/contact-form.tsx): `src/components/sections/contact-form.tsx`
- [PHP mailer](https://github.com/karthi8749/urth/blob/main/api/contact.php): `api/contact.php`

### Other components

- **Site visitor**
- **Enquiry mailbox**

## Connections

- Site visitor → Homepage: opens site (evidence: `README.md`)
- Site visitor → About route: visits (evidence: `README.md`)
- Site visitor → Projects index: visits (evidence: `README.md`)
- Site visitor → Expertise route: visits (evidence: `README.md`)
- Site visitor → Contact route: visits (evidence: `README.md`)
- Homepage → Hero section: renders (evidence: `src/app/page.tsx`)
- Homepage → Studio introduction: renders (evidence: `src/app/page.tsx`)
- Homepage → Featured projects: renders (evidence: `src/app/page.tsx`)
- Homepage → Journey teaser: renders (evidence: `src/app/page.tsx`)
- Homepage → Expertise preview: renders (evidence: `src/app/page.tsx`)
- About route → Studio story: renders (evidence: `src/app/about/page.tsx`)
- Studio story → About content: reads (evidence: `src/app/about/about-client.tsx`)
- Studio introduction → About content: reads (evidence: `src/components/sections/who-we-are.tsx`)
- Projects index → Project catalogue: reads (evidence: `src/app/projects/page.tsx`)
- Project case study → Project catalogue: looks up project (evidence: `src/app/projects/[slug]/page.tsx`)
- Featured projects → Project catalogue: reads (evidence: `src/components/sections/featured-projects.tsx`)
- Expertise preview → Expertise pillars: reads (evidence: `src/components/sections/expertise-preview.tsx`)
- Expertise route → Expertise details: renders (evidence: `src/app/expertise/page.tsx`)
- Expertise route → Journey steps: renders (evidence: `src/app/expertise/page.tsx`)
- Expertise route → Expertise pillars: reads (evidence: `src/app/expertise/page.tsx`)
- Journey teaser → Journey content: reads (evidence: `src/components/sections/journey-teaser.tsx`)
- Journey steps → Journey content: reads (evidence: `src/components/sections/journey-interactive.tsx`)
- Contact route → Enquiry form: renders (evidence: `src/app/contact/page.tsx`)
- Site visitor → Enquiry form: submits enquiry (evidence: `README.md`)
- Enquiry form → PHP mailer: posts JSON (evidence: `README.md`)
- PHP mailer → Enquiry mailbox: mails enquiry
