# apduartte/aroma-essence architecture

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

- Interactive diagram: https://gitdiagram.com/apduartte/aroma-essence
- Repository: https://github.com/apduartte/aroma-essence

## Overview

Aromaéssence is a static Christmas-season fragrance storefront. Visitors browse collections and fragrances, then use the order form to prepare a WhatsApp message; no order data is stored. The JavaScript also handles navigation, display effects, and form validation, while CSS provides the visual presentation. The README documents the product and order workflow; sampled JavaScript shows its client-side behavior. The HTML and CSS excerpts were not provided, so their detailed wiring is not asserted.

Main entry points: [`index.html`](https://github.com/apduartte/aroma-essence/blob/main/index.html) (Storefront page), [`script.js`](https://github.com/apduartte/aroma-essence/blob/main/script.js) (Form validation), [`styles.css`](https://github.com/apduartte/aroma-essence/blob/main/styles.css) (Site styling)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Storefront content"]
  node_storefront["Storefront page<br/>[index.html]"]
  node_catalog["Collections and fragrances<br/>[index.html]"]
  node_orderform["Order form<br/>[index.html]"]
end

subgraph group_interaction["Client interactions"]
  node_client["Page interactions<br/>[script.js]"]
  node_validation["Form validation<br/>[script.js]"]
  node_message["Message composition<br/>[script.js]"]
end

subgraph group_presentation["Visual presentation"]
  node_styles["Site styling<br/>[styles.css]"]
end

node_visitor(("Visitor"))
node_whatsapp["WhatsApp"]

node_visitor -->|"views"| node_storefront
node_storefront -->|"presents"| node_catalog
node_visitor -->|"submits"| node_orderform
node_orderform -->|"validates"| node_validation
node_validation -->|"builds"| node_message
node_message -->|"opens with"| node_whatsapp
node_client -->|"updates classes"| node_styles
node_storefront -.->|"styled by"| node_styles

click node_storefront "https://github.com/apduartte/aroma-essence/blob/main/index.html"
click node_catalog "https://github.com/apduartte/aroma-essence/blob/main/index.html"
click node_orderform "https://github.com/apduartte/aroma-essence/blob/main/index.html"
click node_client "https://github.com/apduartte/aroma-essence/blob/main/script.js"
click node_validation "https://github.com/apduartte/aroma-essence/blob/main/script.js"
click node_message "https://github.com/apduartte/aroma-essence/blob/main/script.js"
click node_styles "https://github.com/apduartte/aroma-essence/blob/main/styles.css"

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_storefront,node_catalog,node_orderform toneBlue
class node_client,node_validation,node_message toneAmber
class node_styles toneMint
class node_visitor,node_whatsapp toneIndigo
```

## Components

### Storefront content

- [Storefront page](https://github.com/apduartte/aroma-essence/blob/main/index.html): `index.html`
- [Collections and fragrances](https://github.com/apduartte/aroma-essence/blob/main/index.html): `index.html`
- [Order form](https://github.com/apduartte/aroma-essence/blob/main/index.html): `index.html`

### Client interactions

- [Page interactions](https://github.com/apduartte/aroma-essence/blob/main/script.js): `script.js`
- [Form validation](https://github.com/apduartte/aroma-essence/blob/main/script.js): `script.js`
- [Message composition](https://github.com/apduartte/aroma-essence/blob/main/script.js): `script.js`

### Visual presentation

- [Site styling](https://github.com/apduartte/aroma-essence/blob/main/styles.css): `styles.css`

### Other components

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

## Connections

- Visitor → Storefront page: views (evidence: `README.md`)
- Storefront page → Collections and fragrances: presents (evidence: `README.md`)
- Visitor → Order form: submits (evidence: `README.md`)
- Order form → Form validation: validates (evidence: `script.js`)
- Form validation → Message composition: builds (evidence: `script.js`)
- Message composition → WhatsApp: opens with (evidence: `README.md`)
- Page interactions → Site styling: updates classes (evidence: `script.js`)
- Storefront page → Site styling: styled by
