# sivayeti/spice-and-flame-restaurant architecture

> Architecture diagram of the GitHub repository sivayeti/spice-and-flame-restaurant, 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/sivayeti/spice-and-flame-restaurant
- Repository: https://github.com/sivayeti/spice-and-flame-restaurant

## Overview

This repository snapshot is chiefly a static WordPress site export, with a partial Elementor runtime and bundled plugin assets. The visible content includes landing, menu, gallery, contact, and article/archive pages. The sampled runtime includes Elementor editor startup, atomic tabs, and YouTube embedding. The tree and excerpts do not expose the WordPress server, page-rendering pipeline, or the PHP implementations of the migration and backup plugins, so those connections are omitted.

Main entry points: [`wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-handler.js`](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-handler.js) (Tabs handler), [`wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-preview-handler.js`](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-preview-handler.js) (Tabs preview), [`wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/editor-tabs-state.js`](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/editor-tabs-state.js) (Tabs state), [`wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/utils.js`](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/utils.js) (Tabs utilities)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Public site"]
  node_home["Home page<br/>[index.html]"]
  node_menu["Menu page<br/>[index.html]"]
  node_gallery["Gallery page<br/>[index.html]"]
  node_contact["Contact page<br/>[index.html]"]
  node_about["About page<br/>[index.html]"]
  node_posts["Post pages<br/>[index.html]"]
end

subgraph group_editor["Elementor runtime"]
  node_editor["Elementor editor"]
  node_editorenv["Editor environment"]
  node_editorv1["Editor v1 startup"]
  node_tabs["Tabs handler"]
  node_tabpreview["Tabs preview"]
  node_tabstate["Tabs state"]
  node_tabutils["Tabs utilities<br/>[utils.js]"]
end

subgraph group_media["Embedded media"]
  node_youtube["YouTube handler<br/>[youtube-handler.js]"]
end

node_visitor(("Site visitor"))
node_registry["Frontend handler registry"]
node_youtubeapi["YouTube IFrame API"]

node_editor -.->|"starts environment"| node_editorenv
node_editorv1 -.->|"starts Elementor"| node_editor
node_tabs -->|"registers handler"| node_registry
node_tabpreview -->|"registers handler"| node_registry
node_tabs -->|"reads and updates"| node_tabstate
node_tabs -->|"uses tab helpers"| node_tabutils
node_tabpreview -->|"updates selection"| node_tabstate
node_tabpreview -->|"uses tab helpers"| node_tabutils
node_tabstate -->|"uses tab IDs"| node_tabutils
node_youtube -->|"registers handler"| node_registry
node_youtube -->|"loads API"| node_youtubeapi

click node_home "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/index.html"
click node_menu "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/menu/index.html"
click node_gallery "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/gallery/index.html"
click node_contact "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/contact/index.html"
click node_about "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/about/index.html"
click node_posts "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/hello-world/index.html"
click node_editor "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/core/editor/loader/v2/js/editor-loader-v2.js"
click node_editorenv "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/core/editor/loader/v2/js/editor-environment-v2.js"
click node_editorv1 "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/core/editor/loader/v1/js/editor-loader-v1.js"
click node_tabs "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-handler.js"
click node_tabpreview "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-preview-handler.js"
click node_tabstate "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/editor-tabs-state.js"
click node_tabutils "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/utils.js"
click node_youtube "https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-youtube/youtube-handler.js"

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_menu,node_gallery,node_contact,node_about,node_posts,node_registry toneBlue
class node_editor,node_editorenv,node_editorv1,node_tabs,node_tabpreview,node_tabstate,node_tabutils toneAmber
class node_youtube,node_youtubeapi toneMint
class node_visitor toneIndigo
```

## Components

### Public site

- [Home page](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/index.html): `index.html`
- [Menu page](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/menu/index.html): `menu/index.html`
- [Gallery page](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/gallery/index.html): `gallery/index.html`
- [Contact page](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/contact/index.html): `contact/index.html`
- [About page](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/about/index.html): `about/index.html`
- [Post pages](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/hello-world/index.html): `hello-world/index.html`

### Elementor runtime

- [Elementor editor](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/core/editor/loader/v2/js/editor-loader-v2.js): `wp-content/plugins/elementor/core/editor/loader/v2/js/editor-loader-v2.js`
- [Editor environment](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/core/editor/loader/v2/js/editor-environment-v2.js): `wp-content/plugins/elementor/core/editor/loader/v2/js/editor-environment-v2.js`
- [Editor v1 startup](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/core/editor/loader/v1/js/editor-loader-v1.js): `wp-content/plugins/elementor/core/editor/loader/v1/js/editor-loader-v1.js`
- [Tabs handler](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-handler.js): `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-handler.js`
- [Tabs preview](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-preview-handler.js): `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-preview-handler.js`
- [Tabs state](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/editor-tabs-state.js): `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/editor-tabs-state.js`
- [Tabs utilities](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/utils.js): `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/utils.js`

### Embedded media

- [YouTube handler](https://github.com/sivayeti/spice-and-flame-restaurant/blob/main/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-youtube/youtube-handler.js): `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-youtube/youtube-handler.js`

### Other components

- **Site visitor**
- **Frontend handler registry**
- **YouTube IFrame API**

## Connections

- Elementor editor → Editor environment: starts environment
- Editor v1 startup → Elementor editor: starts Elementor
- Tabs handler → Frontend handler registry: registers handler (evidence: `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-handler.js`)
- Tabs preview → Frontend handler registry: registers handler (evidence: `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-preview-handler.js`)
- Tabs handler → Tabs state: reads and updates (evidence: `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-handler.js`)
- Tabs handler → Tabs utilities: uses tab helpers (evidence: `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-handler.js`)
- Tabs preview → Tabs state: updates selection (evidence: `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-preview-handler.js`)
- Tabs preview → Tabs utilities: uses tab helpers (evidence: `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/atomic-tabs-preview-handler.js`)
- Tabs state → Tabs utilities: uses tab IDs (evidence: `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-tabs/handlers/editor-tabs-state.js`)
- YouTube handler → Frontend handler registry: registers handler (evidence: `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-youtube/youtube-handler.js`)
- YouTube handler → YouTube IFrame API: loads API (evidence: `wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-youtube/youtube-handler.js`)
