# dianetornier-prog/dtnr-studio architecture

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

- Interactive diagram: https://gitdiagram.com/dianetornier-prog/dtnr-studio
- Repository: https://github.com/dianetornier-prog/dtnr-studio

## Overview

DTNR Studio’s web app presents interior-design and 3D-visualization services, project imagery, pricing information, and contact details. The visitor journey spans the home-page sections, service and portfolio detail pages, and legal information; the contact form validates project inquiries and sends them through EmailJS. The graph preserves these product areas and the shared section-layout layer. Evidence is limited to the supplied excerpts, SOURCE INDEX references, and file paths; no README content was provided, so unsampled route details and connections are kept conservative.

Main entry points: [`web/components/sections/Contact.tsx`](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/Contact.tsx) (Contact form), [`web/components/layout/section-layout.tsx`](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/layout/section-layout.tsx) (Section layout), [`web/components/sections/Services.tsx`](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/Services.tsx) (Service showcase), [`web/app/page.tsx`](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/page.tsx) (Home page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site Shell"]
  node_root["Root layout<br/>[layout.tsx]"]
  node_navigation["Navigation<br/>[Navbar.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
  node_custom_button["Custom button<br/>[CustomButton.tsx]"]
end

subgraph group_home["Home Experience"]
  node_home_page["Home page<br/>[page.tsx]"]
  node_hero["Studio hero<br/>[Hero.tsx]"]
  node_about["Studio introduction<br/>[About.tsx]"]
  node_section_layout["Section layout<br/>[section-layout.tsx]"]
end

subgraph group_offerings["Services and Portfolio"]
  node_services_section["Service showcase<br/>[Services.tsx]"]
  node_service_data["Service catalog<br/>[services.ts]"]
  node_service_card["Service card<br/>[ServiceCard.tsx]"]
  node_service_detail["Services and pricing<br/>[page.tsx]"]
  node_portfolio_section["Portfolio showcase<br/>[Portfolio.tsx]"]
  node_portfolio_detail["Portfolio detail<br/>[page.tsx]"]
end

subgraph group_contact["Contact and Legal"]
  node_contact_form["Contact form<br/>[Contact.tsx]"]
  node_form_fields["Form fields<br/>[CustomInput.tsx]"]
  node_message_field["Message field<br/>[CustomTextarea.tsx]"]
  node_legal_pages["Legal pages<br/>[page.tsx]"]
  node_privacy_page["Privacy policy<br/>[page.tsx]"]
  node_legal_layout["Legal page layout<br/>[legal-page.tsx]"]
end

node_visitor(("Site visitor"))
node_emailjs["EmailJS"]

node_visitor -->|"opens"| node_home_page
node_root -->|"renders"| node_footer
node_root -.-> node_navigation
node_home_page -.-> node_hero
node_home_page -.-> node_about
node_hero -->|"uses"| node_section_layout
node_about -->|"uses"| node_section_layout
node_services_section -->|"uses"| node_section_layout
node_services_section -->|"reads"| node_service_data
node_services_section -->|"renders"| node_service_card
node_services_section -->|"renders"| node_custom_button
node_visitor -->|"opens"| node_service_detail
node_portfolio_section -->|"uses"| node_section_layout
node_portfolio_section -->|"renders"| node_custom_button
node_visitor -->|"opens"| node_portfolio_detail
node_contact_form -->|"uses"| node_section_layout
node_contact_form -->|"renders"| node_form_fields
node_contact_form -->|"renders"| node_message_field
node_contact_form -->|"renders"| node_custom_button
node_contact_form -->|"sends via"| node_emailjs
node_privacy_page -->|"renders"| node_legal_layout
node_visitor -->|"opens"| node_legal_pages

click node_root "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/layout.tsx"
click node_navigation "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/Navbar.tsx"
click node_footer "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/footer.tsx"
click node_home_page "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/page.tsx"
click node_hero "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/Hero.tsx"
click node_about "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/About.tsx"
click node_section_layout "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/layout/section-layout.tsx"
click node_services_section "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/Services.tsx"
click node_service_data "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/lib/services.ts"
click node_service_card "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/ServiceCard.tsx"
click node_service_detail "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/services-detail/page.tsx"
click node_portfolio_section "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/Portfolio.tsx"
click node_portfolio_detail "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/portfolio-detail/page.tsx"
click node_contact_form "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/Contact.tsx"
click node_form_fields "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/ui/CustomInput.tsx"
click node_message_field "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/ui/CustomTextarea.tsx"
click node_legal_pages "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/mentions-legales/page.tsx"
click node_privacy_page "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/politique-de-confidentialite/page.tsx"
click node_legal_layout "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/layout/legal-page.tsx"
click node_custom_button "https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/ui/CustomButton.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_root,node_navigation,node_footer,node_custom_button toneBlue
class node_home_page,node_hero,node_about,node_section_layout toneAmber
class node_services_section,node_service_data,node_service_card,node_service_detail,node_portfolio_section,node_portfolio_detail toneMint
class node_contact_form,node_form_fields,node_message_field,node_legal_pages,node_privacy_page,node_legal_layout toneRose
class node_visitor,node_emailjs toneIndigo
```

## Components

### Site Shell

- [Root layout](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/layout.tsx): `web/app/layout.tsx`
- [Navigation](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/Navbar.tsx): `web/components/Navbar.tsx`
- [Footer](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/footer.tsx): `web/components/footer.tsx`
- [Custom button](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/ui/CustomButton.tsx): `web/components/ui/CustomButton.tsx`

### Home Experience

- [Home page](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/page.tsx): `web/app/page.tsx`
- [Studio hero](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/Hero.tsx): `web/components/sections/Hero.tsx`
- [Studio introduction](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/About.tsx): `web/components/sections/About.tsx`
- [Section layout](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/layout/section-layout.tsx): `web/components/layout/section-layout.tsx`

### Services and Portfolio

- [Service showcase](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/Services.tsx): `web/components/sections/Services.tsx`
- [Service catalog](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/lib/services.ts): `web/lib/services.ts`
- [Service card](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/ServiceCard.tsx): `web/components/ServiceCard.tsx`
- [Services and pricing](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/services-detail/page.tsx): `web/app/services-detail/page.tsx`
- [Portfolio showcase](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/Portfolio.tsx): `web/components/sections/Portfolio.tsx`
- [Portfolio detail](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/portfolio-detail/page.tsx): `web/app/portfolio-detail/page.tsx`

### Contact and Legal

- [Contact form](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/sections/Contact.tsx): `web/components/sections/Contact.tsx`
- [Form fields](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/ui/CustomInput.tsx): `web/components/ui/CustomInput.tsx`
- [Message field](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/ui/CustomTextarea.tsx): `web/components/ui/CustomTextarea.tsx`
- [Legal pages](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/mentions-legales/page.tsx): `web/app/mentions-legales/page.tsx`
- [Privacy policy](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/app/politique-de-confidentialite/page.tsx): `web/app/politique-de-confidentialite/page.tsx`
- [Legal page layout](https://github.com/dianetornier-prog/dtnr-studio/blob/main/web/components/layout/legal-page.tsx): `web/components/layout/legal-page.tsx`

### Other components

- **Site visitor**
- **EmailJS**

## Connections

- Site visitor → Home page: opens
- Root layout → Footer: renders (evidence: `web/app/layout.tsx`)
- Root layout → Navigation
- Home page → Studio hero
- Home page → Studio introduction
- Studio hero → Section layout: uses (evidence: `web/components/sections/Hero.tsx`)
- Studio introduction → Section layout: uses (evidence: `web/components/sections/About.tsx`)
- Service showcase → Section layout: uses (evidence: `web/components/sections/Services.tsx`)
- Service showcase → Service catalog: reads (evidence: `web/components/sections/Services.tsx`)
- Service showcase → Service card: renders (evidence: `web/components/sections/Services.tsx`)
- Service showcase → Custom button: renders (evidence: `web/components/sections/Services.tsx`)
- Site visitor → Services and pricing: opens
- Portfolio showcase → Section layout: uses (evidence: `web/components/sections/Portfolio.tsx`)
- Portfolio showcase → Custom button: renders (evidence: `web/components/sections/Portfolio.tsx`)
- Site visitor → Portfolio detail: opens
- Contact form → Section layout: uses (evidence: `web/components/sections/Contact.tsx`)
- Contact form → Form fields: renders (evidence: `web/components/sections/Contact.tsx`)
- Contact form → Message field: renders (evidence: `web/components/sections/Contact.tsx`)
- Contact form → Custom button: renders (evidence: `web/components/sections/Contact.tsx`)
- Contact form → EmailJS: sends via (evidence: `web/components/sections/Contact.tsx`)
- Privacy policy → Legal page layout: renders (evidence: `web/app/politique-de-confidentialite/page.tsx`)
- Site visitor → Legal pages: opens
