# jagath-jr/al-mawasim architecture

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

- Interactive diagram: https://gitdiagram.com/jagath-jr/al-mawasim
- Repository: https://github.com/jagath-jr/al-mawasim

## Overview

Al Mawasim is a public marketing website for interior decoration and related services. Visitors browse the home page, learn about the company and its services, projects, and customer sectors, then find contact details or use the floating WhatsApp interface. The sampled public layout explicitly composes shared navigation, footer, and WhatsApp UI around route content. Route layouts and several supporting components are represented from the tree and SOURCE INDEX, but their internal wiring is not inferred; edges are limited to relationships shown in excerpts or documented by the index.

Main entry points: [`src/app/(public)/layout.tsx`](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/layout.tsx) (Public layout), [`src/app/layout.tsx`](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/layout.tsx) (Root document), [`src/components/public/FloatingWhatsApp.tsx`](https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/FloatingWhatsApp.tsx) (WhatsApp chat), [`src/app/(public)/page.tsx`](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/page.tsx) (Home page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site shell"]
  node_root["Root document<br/>[layout.tsx]"]
  node_public_layout["Public layout<br/>[layout.tsx]"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_footer["Footer links<br/>[Footer.tsx]"]
  node_sitemap["Sitemap<br/>[sitemap.ts]"]
  node_assets["Public media"]
end

subgraph group_discovery["Company discovery"]
  node_home["Home page<br/>[page.tsx]"]
  node_about["About company<br/>[page.tsx]"]
  node_about_layout["About layout<br/>[layout.tsx]"]
  node_about_stats["About statistics<br/>[AboutStats.tsx]"]
  node_expertise["Expertise<br/>[page.tsx]"]
  node_hero["Hero component<br/>[Hero.tsx]"]
  node_how_it_works["How it works<br/>[HowItWorks.tsx]"]
  node_why_choose["Why choose us<br/>[WhyChooseUs.tsx]"]
end

subgraph group_offerings["Services and markets"]
  node_services["Service catalog<br/>[page.tsx]"]
  node_services_layout["Services layout<br/>[layout.tsx]"]
  node_service_cards["Home service cards<br/>[Services.tsx]"]
  node_sectors["Customer sectors<br/>[page.tsx]"]
  node_sectors_layout["Sectors layout<br/>[layout.tsx]"]
  node_projects["Projects<br/>[page.tsx]"]
  node_projects_layout["Projects layout<br/>[layout.tsx]"]
end

subgraph group_engagement["Contact and conversion"]
  node_contact["Contact page<br/>[page.tsx]"]
  node_contact_layout["Contact layout<br/>[layout.tsx]"]
  node_whatsapp["WhatsApp chat"]
  node_whatsapp_alt["Alternate WhatsApp UI"]
end

node_visitor(("Visitor"))

node_visitor -->|"requests site"| node_root
node_root -.->|"renders public routes"| node_public_layout
node_public_layout -->|"renders"| node_navbar
node_public_layout -->|"renders"| node_footer
node_public_layout -->|"renders"| node_whatsapp
node_visitor -.->|"opens page"| node_home
node_visitor -.->|"opens page"| node_about
node_visitor -.->|"opens page"| node_expertise
node_visitor -.->|"opens page"| node_services
node_visitor -.->|"opens page"| node_sectors
node_visitor -.->|"opens page"| node_projects
node_visitor -.->|"opens page"| node_contact
node_home -.->|"uses"| node_service_cards
node_visitor -->|"starts chat"| node_whatsapp
node_whatsapp -.->|"offers WhatsApp contact"| node_visitor
node_root -.->|"loads media"| node_assets

click node_root "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/layout.tsx"
click node_public_layout "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/layout.tsx"
click node_navbar "https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/Navbar.tsx"
click node_footer "https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/Footer.tsx"
click node_home "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/page.tsx"
click node_about "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/about/page.tsx"
click node_about_layout "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/about/layout.tsx"
click node_about_stats "https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/AboutStats.tsx"
click node_expertise "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/expertise/page.tsx"
click node_services "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/services/page.tsx"
click node_services_layout "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/services/layout.tsx"
click node_service_cards "https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/Services.tsx"
click node_sectors "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/sectors/page.tsx"
click node_sectors_layout "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/sectors/layout.tsx"
click node_projects "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/projects/page.tsx"
click node_projects_layout "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/projects/layout.tsx"
click node_contact "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/contact/page.tsx"
click node_contact_layout "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/contact/layout.tsx"
click node_whatsapp "https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/FloatingWhatsApp.tsx"
click node_whatsapp_alt "https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/FloatingWhatsApp0.tsx"
click node_hero "https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/Hero.tsx"
click node_how_it_works "https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/HowItWorks.tsx"
click node_why_choose "https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/WhyChooseUs.tsx"
click node_sitemap "https://github.com/jagath-jr/al-mawasim/blob/main/src/app/sitemap.ts"
click node_assets "https://github.com/jagath-jr/al-mawasim/tree/main/public"

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_public_layout,node_navbar,node_footer,node_sitemap,node_assets toneBlue
class node_home,node_about,node_about_layout,node_about_stats,node_expertise,node_hero,node_how_it_works,node_why_choose toneAmber
class node_services,node_services_layout,node_service_cards,node_sectors,node_sectors_layout,node_projects,node_projects_layout toneMint
class node_contact,node_contact_layout,node_whatsapp,node_whatsapp_alt toneRose
class node_visitor toneIndigo
```

## Components

### Site shell

- [Root document](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/layout.tsx): `src/app/layout.tsx`
- [Public layout](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/layout.tsx): `src/app/(public)/layout.tsx`
- [Navigation](https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/Navbar.tsx): `src/components/public/Navbar.tsx`
- [Footer links](https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/Footer.tsx): `src/components/public/Footer.tsx`
- [Sitemap](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/sitemap.ts): `src/app/sitemap.ts`
- [Public media](https://github.com/jagath-jr/al-mawasim/tree/main/public): `public`

### Company discovery

- [Home page](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/page.tsx): `src/app/(public)/page.tsx`
- [About company](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/about/page.tsx): `src/app/(public)/about/page.tsx`
- [About layout](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/about/layout.tsx): `src/app/(public)/about/layout.tsx`
- [About statistics](https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/AboutStats.tsx): `src/components/public/AboutStats.tsx`
- [Expertise](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/expertise/page.tsx): `src/app/(public)/expertise/page.tsx`
- [Hero component](https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/Hero.tsx): `src/components/public/Hero.tsx`
- [How it works](https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/HowItWorks.tsx): `src/components/public/HowItWorks.tsx`
- [Why choose us](https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/WhyChooseUs.tsx): `src/components/public/WhyChooseUs.tsx`

### Services and markets

- [Service catalog](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/services/page.tsx): `src/app/(public)/services/page.tsx`
- [Services layout](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/services/layout.tsx): `src/app/(public)/services/layout.tsx`
- [Home service cards](https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/Services.tsx): `src/components/public/Services.tsx`
- [Customer sectors](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/sectors/page.tsx): `src/app/(public)/sectors/page.tsx`
- [Sectors layout](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/sectors/layout.tsx): `src/app/(public)/sectors/layout.tsx`
- [Projects](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/projects/page.tsx): `src/app/(public)/projects/page.tsx`
- [Projects layout](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/projects/layout.tsx): `src/app/(public)/projects/layout.tsx`

### Contact and conversion

- [Contact page](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/contact/page.tsx): `src/app/(public)/contact/page.tsx`
- [Contact layout](https://github.com/jagath-jr/al-mawasim/blob/main/src/app/(public)/contact/layout.tsx): `src/app/(public)/contact/layout.tsx`
- [WhatsApp chat](https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/FloatingWhatsApp.tsx): `src/components/public/FloatingWhatsApp.tsx`
- [Alternate WhatsApp UI](https://github.com/jagath-jr/al-mawasim/blob/main/src/components/public/FloatingWhatsApp0.tsx): `src/components/public/FloatingWhatsApp0.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Root document: requests site (evidence: `src/app/layout.tsx`)
- Root document → Public layout: renders public routes
- Public layout → Navigation: renders (evidence: `src/app/(public)/layout.tsx`)
- Public layout → Footer links: renders (evidence: `src/app/(public)/layout.tsx`)
- Public layout → WhatsApp chat: renders (evidence: `src/app/(public)/layout.tsx`)
- Visitor → Home page: opens page
- Visitor → About company: opens page
- Visitor → Expertise: opens page
- Visitor → Service catalog: opens page
- Visitor → Customer sectors: opens page
- Visitor → Projects: opens page
- Visitor → Contact page: opens page
- Home page → Home service cards: uses
- Visitor → WhatsApp chat: starts chat (evidence: `src/components/public/FloatingWhatsApp.tsx`)
- WhatsApp chat → Visitor: offers WhatsApp contact
- Root document → Public media: loads media
