# kareem-20/vegiess-dinner architecture

> Architecture diagram of the GitHub repository kareem-20/vegiess-dinner, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-02-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kareem-20/vegiess-dinner
- Repository: https://github.com/kareem-20/vegiess-dinner

## Overview

##### Main Components

a. Client-Side Components:
- HTML Pages Layer (index.html, menu.html, contact.html, reservation.html, our-vision.html)
- Styling Layer (CSS folder, style.css)
- JavaScript Layer (main.js)
- Asset Layer (image folder, webfonts folder)

##### Specific Elements

a. Components:
- Use rounded rectangles for resource files (CSS, JS)

b. Connections:

##### Additional Details

Annotations for:
- Font Awesome integration (webfonts folder)
- Static file serving
- Client-side routing
- Resource loading paths

- [User/Browser] (Top)
- ↓
- [HTML Pages Layer]
- ↓
- [Resource Layer (CSS/JS)]
- ↓
- [Asset Layer]

##### Important Notes

- Static nature of the website
- Clear separation between content, styling, and functionality
- That all processing happens client-side
- Entry points (likely index.html)
- How assets are loaded and cached

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "User Interface"
        Browser["Web Browser"]
    end

    subgraph "HTML Pages Layer"
        Index["Home Page"]:::html
        Menu["Menu Page"]:::html
        Contact["Contact Page"]:::html
        Reservation["Reservation Page"]:::html
        Vision["Our Vision Page"]:::html
    end

    subgraph "Resource Layer"
        CSS["Stylesheet"]:::css
        JS["Client-side Logic"]:::js
    end

    subgraph "Asset Layer"
        Images["Image Assets"]:::asset
        Fonts["Web Fonts"]:::asset
        FA_Brand["Font Awesome Brands"]:::font
        FA_Regular["Font Awesome Regular"]:::font
        FA_Solid["Font Awesome Solid"]:::font
    end

    %% Connections
    Browser --> Index
    Index --> Menu
    Index --> Contact
    Index --> Reservation
    Index --> Vision

    %% Resource Dependencies
    Index -.-> CSS
    Menu -.-> CSS
    Contact -.-> CSS
    Reservation -.-> CSS
    Vision -.-> CSS

    Index -.-> JS
    Menu -.-> JS
    Contact -.-> JS
    Reservation -.-> JS
    Vision -.-> JS

    %% Asset Loading
    CSS --> Images
    CSS --> Fonts
    Fonts --> FA_Brand
    Fonts --> FA_Regular
    Fonts --> FA_Solid

    %% Styling
    classDef html fill:#3498db,stroke:#2980b9,color:white
    classDef css fill:#9b59b6,stroke:#8e44ad,color:white
    classDef js fill:#f1c40f,stroke:#f39c12,color:black
    classDef asset fill:#2ecc71,stroke:#27ae60,color:white
    classDef font fill:#95a5a6,stroke:#7f8c8d,color:white

    %% Click Events
    click Index "https://github.com/kareem-20/Vegiess-Dinner/blob/master//index.html"
    click Menu "https://github.com/kareem-20/Vegiess-Dinner/blob/master//menu.html"
    click Contact "https://github.com/kareem-20/Vegiess-Dinner/blob/master//contact.html"
    click Reservation "https://github.com/kareem-20/Vegiess-Dinner/blob/master//reservation.html"
    click Vision "https://github.com/kareem-20/Vegiess-Dinner/blob/master//our-vision.html"
    click CSS "https://github.com/kareem-20/Vegiess-Dinner/blob/master//style.css"
    click JS "https://github.com/kareem-20/Vegiess-Dinner/blob/master//main.js"
    click Images "https://github.com/kareem-20/Vegiess-Dinner/tree/master//image"
    click Fonts "https://github.com/kareem-20/Vegiess-Dinner/tree/master//webfonts"
    click FA_Brand "https://github.com/kareem-20/Vegiess-Dinner/blob/master//webfonts/fa-brands-400.eot"
    click FA_Regular "https://github.com/kareem-20/Vegiess-Dinner/blob/master//webfonts/fa-regular-400.eot"
    click FA_Solid "https://github.com/kareem-20/Vegiess-Dinner/blob/master//webfonts/fa-solid-900.eot"
```
