# mutua-codes/stoms-studios architecture

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

- Interactive diagram: https://gitdiagram.com/mutua-codes/stoms-studios
- Repository: https://github.com/mutua-codes/stoms-studios

## Overview

Stoms Studios is represented as a studio marketing and enquiry website: visitors can browse its home, about, services and portfolio pages, then use the contact form to prepare an enquiry for WhatsApp. The tree also shows shared layout elements and home-page sections. The README documents Astro’s page-to-route behavior, and the form excerpt confirms the WhatsApp handoff; component-to-page wiring and other page behavior were not sampled, so those links are omitted or marked unverified.

Main entry points: [`src/pages/contact.astro`](https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/contact.astro) (Contact page), [`src/components/contact/WhatsAppForm.tsx`](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/contact/WhatsAppForm.tsx) (WhatsApp form), [`src/pages/index.astro`](https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/index.astro) (Home page), [`src/pages/about.astro`](https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/about.astro) (About page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Site pages"]
  node_home["Home page<br/>[index.astro]"]
  node_about["About page<br/>[about.astro]"]
  node_services["Services page<br/>[services.astro]"]
  node_portfolio["Portfolio page<br/>[portfolio.astro]"]
  node_contact["Contact page<br/>[contact.astro]"]
end

subgraph group_content["Site content"]
  node_hero["Hero section<br/>[Hero.astro]"]
  node_aboutpreview["About preview<br/>[AboutPreview.astro]"]
  node_servicespreview["Services preview"]
  node_portfoliopreview["Portfolio preview"]
  node_booking["Booking guide<br/>[HowToBook.astro]"]
  node_whychoose["Why choose us<br/>[WhyChooseUs.astro]"]
  node_contactcta["Contact prompt<br/>[ContactCTA.astro]"]
  node_whatsappform["WhatsApp form<br/>[WhatsAppForm.tsx]"]
end

subgraph group_shared["Shared interface"]
  node_layout["Page layout<br/>[Layout.astro]"]
  node_navbar["Navigation bar<br/>[Navbar.astro]"]
  node_footer["Site footer<br/>[Footer.astro]"]
  node_logo["Studio logo<br/>[Logo.astro]"]
end

node_visitor(("Visitor"))
node_whatsapp(("WhatsApp"))

node_visitor -->|"opens route"| node_home
node_visitor -->|"opens route"| node_about
node_visitor -->|"opens route"| node_services
node_visitor -->|"opens route"| node_portfolio
node_visitor -->|"opens route"| node_contact
node_contact -.->|"may render"| node_whatsappform
node_whatsappform -->|"opens prefilled message"| node_whatsapp

click node_home "https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/index.astro"
click node_about "https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/about.astro"
click node_services "https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/services.astro"
click node_portfolio "https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/portfolio.astro"
click node_contact "https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/contact.astro"
click node_hero "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/Hero.astro"
click node_aboutpreview "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/AboutPreview.astro"
click node_servicespreview "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/ServicesPreview.astro"
click node_portfoliopreview "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/PortfolioPreview.astro"
click node_booking "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/HowToBook.astro"
click node_whychoose "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/WhyChooseUs.astro"
click node_contactcta "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/ContactCTA.astro"
click node_whatsappform "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/contact/WhatsAppForm.tsx"
click node_layout "https://github.com/mutua-codes/stoms-studios/blob/main/src/layouts/Layout.astro"
click node_navbar "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/layout/Navbar.astro"
click node_footer "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/layout/Footer.astro"
click node_logo "https://github.com/mutua-codes/stoms-studios/blob/main/src/components/layout/Logo.astro"

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,node_services,node_portfolio,node_contact toneBlue
class node_hero,node_aboutpreview,node_servicespreview,node_portfoliopreview,node_booking,node_whychoose,node_contactcta,node_whatsappform toneAmber
class node_layout,node_navbar,node_footer,node_logo toneMint
class node_visitor,node_whatsapp toneIndigo
```

## Components

### Site pages

- [Home page](https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [About page](https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/about.astro): `src/pages/about.astro`
- [Services page](https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/services.astro): `src/pages/services.astro`
- [Portfolio page](https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/portfolio.astro): `src/pages/portfolio.astro`
- [Contact page](https://github.com/mutua-codes/stoms-studios/blob/main/src/pages/contact.astro): `src/pages/contact.astro`

### Site content

- [Hero section](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/Hero.astro): `src/components/home/Hero.astro`
- [About preview](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/AboutPreview.astro): `src/components/home/AboutPreview.astro`
- [Services preview](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/ServicesPreview.astro): `src/components/home/ServicesPreview.astro`
- [Portfolio preview](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/PortfolioPreview.astro): `src/components/home/PortfolioPreview.astro`
- [Booking guide](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/HowToBook.astro): `src/components/home/HowToBook.astro`
- [Why choose us](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/WhyChooseUs.astro): `src/components/home/WhyChooseUs.astro`
- [Contact prompt](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/home/ContactCTA.astro): `src/components/home/ContactCTA.astro`
- [WhatsApp form](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/contact/WhatsAppForm.tsx): `src/components/contact/WhatsAppForm.tsx`

### Shared interface

- [Page layout](https://github.com/mutua-codes/stoms-studios/blob/main/src/layouts/Layout.astro): `src/layouts/Layout.astro`
- [Navigation bar](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/layout/Navbar.astro): `src/components/layout/Navbar.astro`
- [Site footer](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/layout/Footer.astro): `src/components/layout/Footer.astro`
- [Studio logo](https://github.com/mutua-codes/stoms-studios/blob/main/src/components/layout/Logo.astro): `src/components/layout/Logo.astro`

### Other components

- **Visitor**
- **WhatsApp**

## Connections

- Visitor → Home page: opens route (evidence: `README.md`)
- Visitor → About page: opens route (evidence: `README.md`)
- Visitor → Services page: opens route (evidence: `README.md`)
- Visitor → Portfolio page: opens route (evidence: `README.md`)
- Visitor → Contact page: opens route (evidence: `README.md`)
- Contact page → WhatsApp form: may render
- WhatsApp form → WhatsApp: opens prefilled message (evidence: `src/components/contact/WhatsAppForm.tsx`)
