# yoshio28/atelier-gourmet architecture

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

- Interactive diagram: https://gitdiagram.com/yoshio28/atelier-gourmet
- Repository: https://github.com/yoshio28/atelier-gourmet

## Overview

Atelier Gourmet is a one-page catering and food-concept website. Visitors browse menu categories, add dishes to a persistent cart, provide order details, and send an estimated order through WhatsApp. The page also includes navigation and hero-video behavior, plus an optional parallax effect. The README describes the site as static and says several media and interaction items are still pending; the sampled scripts show implementation details, but the HTML and styling were not sampled, so links to those layers reflect only selectors and behavior visible in the scripts.

Main entry points: [`src/index.html`](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/index.html) (One-page site), [`src/js/cart.js`](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/js/cart.js) (Cart and order), [`src/js/main.js`](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/js/main.js) (Navigation and hero), [`src/js/parallax.js`](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/js/parallax.js) (Parallax effect)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website experience"]
  node_page["One-page site<br/>[index.html]"]
  node_site_styles["Site styling<br/>[main.css]"]
  node_menu_styles["Menu tones<br/>[menu-tones.css]"]
  node_tokens["Design tokens<br/>[tokens.css]"]
end

subgraph group_ordering["Order workflow"]
  node_cart["Cart and order<br/>[cart.js]"]
  node_browser_storage[("Local storage")]
  node_whatsapp(("WhatsApp"))
end

subgraph group_motion["Motion and media"]
  node_interactions["Navigation and hero<br/>[main.js]"]
  node_parallax["Parallax effect<br/>[parallax.js]"]
  node_parallax_styles["Parallax styling<br/>[parallax.css]"]
  node_media["Site media"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_page
node_cart -->|"binds controls"| node_page
node_interactions -->|"binds interactions"| node_page
node_parallax -->|"reads elements"| node_page
node_cart -->|"reads and writes"| node_browser_storage
node_cart -->|"builds order link"| node_whatsapp

click node_page "https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/index.html"
click node_site_styles "https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/css/main.css"
click node_menu_styles "https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/css/menu-tones.css"
click node_cart "https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/js/cart.js"
click node_interactions "https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/js/main.js"
click node_parallax "https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/js/parallax.js"
click node_parallax_styles "https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/css/parallax.css"
click node_tokens "https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/css/tokens.css"
click node_media "https://github.com/yoshio28/atelier-gourmet/tree/claude/clever-cannon-zomxv1/src/assets/video"

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_page,node_site_styles,node_menu_styles,node_tokens toneBlue
class node_cart,node_browser_storage,node_whatsapp toneAmber
class node_interactions,node_parallax,node_parallax_styles,node_media toneMint
class node_visitor toneIndigo
```

## Components

### Website experience

- [One-page site](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/index.html): `src/index.html`
- [Site styling](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/css/main.css): `src/css/main.css`
- [Menu tones](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/css/menu-tones.css): `src/css/menu-tones.css`
- [Design tokens](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/css/tokens.css): `src/css/tokens.css`

### Order workflow

- [Cart and order](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/js/cart.js): `src/js/cart.js`
- **Local storage**
- **WhatsApp**

### Motion and media

- [Navigation and hero](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/js/main.js): `src/js/main.js`
- [Parallax effect](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/js/parallax.js): `src/js/parallax.js`
- [Parallax styling](https://github.com/yoshio28/atelier-gourmet/blob/claude/clever-cannon-zomxv1/src/css/parallax.css): `src/css/parallax.css`
- [Site media](https://github.com/yoshio28/atelier-gourmet/tree/claude/clever-cannon-zomxv1/src/assets/video): `src/assets/video`

### Other components

- **Visitor**

## Connections

- Visitor → One-page site: browses (evidence: `README.md`)
- Cart and order → One-page site: binds controls (evidence: `src/js/cart.js`)
- Navigation and hero → One-page site: binds interactions (evidence: `src/js/main.js`)
- Parallax effect → One-page site: reads elements (evidence: `src/js/parallax.js`)
- Cart and order → Local storage: reads and writes (evidence: `src/js/cart.js`)
- Cart and order → WhatsApp: builds order link (evidence: `src/js/cart.js`)
