# pranjal1-1/canva_cafe architecture

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

- Interactive diagram: https://gitdiagram.com/pranjal1-1/canva_cafe
- Repository: https://github.com/pranjal1-1/canva_cafe

## Overview

Canva_Cafe is a small café website with home, about, gallery, and menu pages. Its principal demonstrated workflow is selecting menu items, adjusting cart quantities, and checking out; the cart and checkout are handled client-side in menu.js. The tree identifies the pages and stylesheet, but their contents and navigation links were not provided, so those relationships are not inferred.

Main entry points: [`Project html/menu.html`](https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/menu.html) (Menu Page), [`Project html/menu.js`](https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/menu.js) (Cart and Checkout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Cafe Pages"]
  node_home["Home Page<br/>[home.html]"]
  node_about["About Page<br/>[about.html]"]
  node_gallery["Gallery Page<br/>[gallery.html]"]
  node_menu["Menu Page<br/>[menu.html]"]
end

subgraph group_ordering["Menu Ordering"]
  node_cart["Cart and Checkout<br/>[menu.js]"]
end

subgraph group_presentation["Styling"]
  node_styles["Menu Styles<br/>[menu.css]"]
end

node_visitor(("Visitor"))

node_visitor -.->|"uses"| node_menu
node_cart -->|"updates DOM"| node_menu

click node_home "https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/home.html"
click node_about "https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/about.html"
click node_gallery "https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/gallery.html"
click node_menu "https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/menu.html"
click node_cart "https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/menu.js"
click node_styles "https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/menu.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_home,node_about,node_gallery,node_menu toneBlue
class node_cart toneAmber
class node_styles toneMint
class node_visitor toneIndigo
```

## Components

### Cafe Pages

- [Home Page](https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/home.html): `Project html/home.html`
- [About Page](https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/about.html): `Project html/about.html`
- [Gallery Page](https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/gallery.html): `Project html/gallery.html`
- [Menu Page](https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/menu.html): `Project html/menu.html`

### Menu Ordering

- [Cart and Checkout](https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/menu.js): `Project html/menu.js`

### Styling

- [Menu Styles](https://github.com/pranjal1-1/canva_cafe/blob/main/Project%20html/menu.css): `Project html/menu.css`

### Other components

- **Visitor**

## Connections

- Visitor → Menu Page: uses
- Cart and Checkout → Menu Page: updates DOM (evidence: `Project html/menu.js`)
