# mrinmoy1007/mangalgatha architecture

> Architecture diagram of the GitHub repository mrinmoy1007/mangalgatha, 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/mrinmoy1007/mangalgatha
- Repository: https://github.com/mrinmoy1007/mangalgatha

## Overview

Mangalgatha is a luxury wedding-planning atelier website. Visitors explore the atelier, planning services, destinations, wedding stories and journal, then contact the studio through a consultation enquiry. The graph includes the homepage experience, editorial and destination branches, and enquiry handling, alongside content data and reusable presentation behavior. Connections follow shown imports/calls or README documentation; several page implementations and global wiring were not sampled, so their internal links are omitted where unverified.

Main entry points: [`app/page.tsx`](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/page.tsx) (Home page), [`app/services/page.tsx`](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/services/page.tsx) (Services catalogue), [`app/journal/page.tsx`](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/journal/page.tsx) (Journal archive), [`app/contact/page.tsx`](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/contact/page.tsx) (Contact page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Site experience"]
  node_home["Home page<br/>[page.tsx]"]
  node_hero["Cinematic hero<br/>[HeroSection.tsx]"]
  node_homepage_sections["Homepage sections"]
  node_services_index["Services catalogue<br/>[page.tsx]"]
  node_service_detail["Service detail<br/>[page.tsx]"]
  node_destinations["Destinations<br/>[page.tsx]"]
  node_about["Atelier profile<br/>[page.tsx]"]
end

subgraph group_editorial["Editorial content"]
  node_stories["Wedding stories<br/>[gallery.ts]"]
  node_gallery_lightbox["Gallery lightbox"]
  node_journal_index["Journal archive<br/>[page.tsx]"]
  node_journal_detail["Journal article<br/>[page.tsx]"]
end

subgraph group_consultation["Consultation"]
  node_contact["Contact page<br/>[page.tsx]"]
  node_enquiry_form["Enquiry form<br/>[EnquiryForm.tsx]"]
  node_enquiry_action["Enquiry action<br/>[enquiry.ts]"]
end

subgraph group_shared["Shared presentation"]
  node_services_data["Service content<br/>[services.ts]"]
  node_destinations_data["Destination content<br/>[destinations.ts]"]
  node_journal_data["Journal content<br/>[journal.ts]"]
  node_about_data["Atelier content<br/>[about.ts]"]
  node_studios_data["Studio details<br/>[studios.ts]"]
  node_site_chrome["Header and footer<br/>[Header.tsx]"]
  node_whatsapp["WhatsApp concierge<br/>[WhatsAppButton.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"visits"| node_home
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_homepage_sections
node_visitor -->|"explores"| node_services_index
node_services_index -->|"links to"| node_service_detail
node_services_index -->|"reads"| node_services_data
node_service_detail -->|"reads"| node_services_data
node_visitor -->|"explores"| node_destinations
node_destinations -.->|"reads"| node_destinations_data
node_visitor -->|"learns about"| node_about
node_about -->|"reads"| node_about_data
node_visitor -->|"reads"| node_journal_index
node_journal_index -->|"links to"| node_journal_detail
node_journal_index -->|"reads"| node_journal_data
node_journal_detail -->|"reads"| node_journal_data
node_visitor -->|"requests consultation"| node_contact
node_contact -->|"renders"| node_enquiry_form
node_contact -->|"reads"| node_studios_data
node_enquiry_form -->|"submits to"| node_enquiry_action
node_visitor -->|"views"| node_stories
node_stories -.->|"opens in"| node_gallery_lightbox
node_visitor -->|"uses"| node_site_chrome
node_site_chrome -->|"reads"| node_services_data
node_site_chrome -->|"reads"| node_studios_data
node_visitor -->|"contacts"| node_whatsapp

click node_home "https://github.com/mrinmoy1007/mangalgatha/blob/main/app/page.tsx"
click node_hero "https://github.com/mrinmoy1007/mangalgatha/blob/main/components/sections/HeroSection.tsx"
click node_homepage_sections "https://github.com/mrinmoy1007/mangalgatha/tree/main/components/sections"
click node_services_index "https://github.com/mrinmoy1007/mangalgatha/blob/main/app/services/page.tsx"
click node_service_detail "https://github.com/mrinmoy1007/mangalgatha/blob/main/app/services/%5Bslug%5D/page.tsx"
click node_destinations "https://github.com/mrinmoy1007/mangalgatha/blob/main/app/destinations/page.tsx"
click node_about "https://github.com/mrinmoy1007/mangalgatha/blob/main/app/about/page.tsx"
click node_stories "https://github.com/mrinmoy1007/mangalgatha/blob/main/data/gallery.ts"
click node_gallery_lightbox "https://github.com/mrinmoy1007/mangalgatha/blob/main/components/ui/GalleryLightbox.tsx"
click node_journal_index "https://github.com/mrinmoy1007/mangalgatha/blob/main/app/journal/page.tsx"
click node_journal_detail "https://github.com/mrinmoy1007/mangalgatha/blob/main/app/journal/%5Bslug%5D/page.tsx"
click node_contact "https://github.com/mrinmoy1007/mangalgatha/blob/main/app/contact/page.tsx"
click node_enquiry_form "https://github.com/mrinmoy1007/mangalgatha/blob/main/components/ui/EnquiryForm.tsx"
click node_enquiry_action "https://github.com/mrinmoy1007/mangalgatha/blob/main/app/actions/enquiry.ts"
click node_services_data "https://github.com/mrinmoy1007/mangalgatha/blob/main/data/services.ts"
click node_destinations_data "https://github.com/mrinmoy1007/mangalgatha/blob/main/data/destinations.ts"
click node_journal_data "https://github.com/mrinmoy1007/mangalgatha/blob/main/data/journal.ts"
click node_about_data "https://github.com/mrinmoy1007/mangalgatha/blob/main/data/about.ts"
click node_studios_data "https://github.com/mrinmoy1007/mangalgatha/blob/main/data/studios.ts"
click node_site_chrome "https://github.com/mrinmoy1007/mangalgatha/blob/main/components/ui/Header.tsx"
click node_whatsapp "https://github.com/mrinmoy1007/mangalgatha/blob/main/components/ui/WhatsAppButton.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_hero,node_homepage_sections,node_services_index,node_service_detail,node_destinations,node_about toneBlue
class node_stories,node_gallery_lightbox,node_journal_index,node_journal_detail toneAmber
class node_contact,node_enquiry_form,node_enquiry_action toneMint
class node_services_data,node_destinations_data,node_journal_data,node_about_data,node_studios_data,node_site_chrome,node_whatsapp toneRose
class node_visitor toneIndigo
```

## Components

### Site experience

- [Home page](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/page.tsx): `app/page.tsx`
- [Cinematic hero](https://github.com/mrinmoy1007/mangalgatha/blob/main/components/sections/HeroSection.tsx): `components/sections/HeroSection.tsx`
- [Homepage sections](https://github.com/mrinmoy1007/mangalgatha/tree/main/components/sections): `components/sections`
- [Services catalogue](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/services/page.tsx): `app/services/page.tsx`
- [Service detail](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/services/%5Bslug%5D/page.tsx): `app/services/[slug]/page.tsx`
- [Destinations](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/destinations/page.tsx): `app/destinations/page.tsx`
- [Atelier profile](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/about/page.tsx): `app/about/page.tsx`

### Editorial content

- [Wedding stories](https://github.com/mrinmoy1007/mangalgatha/blob/main/data/gallery.ts): `data/gallery.ts`
- [Gallery lightbox](https://github.com/mrinmoy1007/mangalgatha/blob/main/components/ui/GalleryLightbox.tsx): `components/ui/GalleryLightbox.tsx`
- [Journal archive](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/journal/page.tsx): `app/journal/page.tsx`
- [Journal article](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/journal/%5Bslug%5D/page.tsx): `app/journal/[slug]/page.tsx`

### Consultation

- [Contact page](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/contact/page.tsx): `app/contact/page.tsx`
- [Enquiry form](https://github.com/mrinmoy1007/mangalgatha/blob/main/components/ui/EnquiryForm.tsx): `components/ui/EnquiryForm.tsx`
- [Enquiry action](https://github.com/mrinmoy1007/mangalgatha/blob/main/app/actions/enquiry.ts): `app/actions/enquiry.ts`

### Shared presentation

- [Service content](https://github.com/mrinmoy1007/mangalgatha/blob/main/data/services.ts): `data/services.ts`
- [Destination content](https://github.com/mrinmoy1007/mangalgatha/blob/main/data/destinations.ts): `data/destinations.ts`
- [Journal content](https://github.com/mrinmoy1007/mangalgatha/blob/main/data/journal.ts): `data/journal.ts`
- [Atelier content](https://github.com/mrinmoy1007/mangalgatha/blob/main/data/about.ts): `data/about.ts`
- [Studio details](https://github.com/mrinmoy1007/mangalgatha/blob/main/data/studios.ts): `data/studios.ts`
- [Header and footer](https://github.com/mrinmoy1007/mangalgatha/blob/main/components/ui/Header.tsx): `components/ui/Header.tsx`
- [WhatsApp concierge](https://github.com/mrinmoy1007/mangalgatha/blob/main/components/ui/WhatsAppButton.tsx): `components/ui/WhatsAppButton.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: visits
- Home page → Cinematic hero: renders (evidence: `app/page.tsx`)
- Home page → Homepage sections: renders (evidence: `app/page.tsx`)
- Visitor → Services catalogue: explores
- Services catalogue → Service detail: links to (evidence: `app/services/page.tsx`)
- Services catalogue → Service content: reads (evidence: `app/services/page.tsx`)
- Service detail → Service content: reads
- Visitor → Destinations: explores
- Destinations → Destination content: reads
- Visitor → Atelier profile: learns about
- Atelier profile → Atelier content: reads (evidence: `app/about/page.tsx`)
- Visitor → Journal archive: reads
- Journal archive → Journal article: links to (evidence: `app/journal/page.tsx`)
- Journal archive → Journal content: reads (evidence: `app/journal/page.tsx`)
- Journal article → Journal content: reads (evidence: `app/journal/[slug]/page.tsx`)
- Visitor → Contact page: requests consultation
- Contact page → Enquiry form: renders (evidence: `app/contact/page.tsx`)
- Contact page → Studio details: reads (evidence: `app/contact/page.tsx`)
- Enquiry form → Enquiry action: submits to (evidence: `components/ui/EnquiryForm.tsx`)
- Visitor → Wedding stories: views
- Wedding stories → Gallery lightbox: opens in
- Visitor → Header and footer: uses
- Header and footer → Service content: reads (evidence: `components/ui/Header.tsx`)
- Header and footer → Studio details: reads (evidence: `components/ui/Header.tsx`)
- Visitor → WhatsApp concierge: contacts
