# deepakharidass/restaurant-website architecture

> Architecture diagram of the GitHub repository deepakharidass/restaurant-website, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/deepakharidass/restaurant-website
- Repository: https://github.com/deepakharidass/restaurant-website

## Overview

Urban Taste is a static, multi-page restaurant website. Visitors browse the landing page, restaurant story, menu and booking page, and contact page; the booking and contact forms provide client-side validation and success feedback, with no backend submission. Shared styling and JavaScript support responsive presentation, navigation, and page interactions. The README documents page capabilities and structure; only js/main.js was sampled, so connections not shown there are cited to the README rather than inferred from unsampled HTML.

Main entry points: [`services.html`](https://github.com/deepakharidass/restaurant-website/blob/main/services.html) (Menu & Booking), [`contact.html`](https://github.com/deepakharidass/restaurant-website/blob/main/contact.html) (Contact Page), [`index.html`](https://github.com/deepakharidass/restaurant-website/blob/main/index.html) (Landing Page), [`about.html`](https://github.com/deepakharidass/restaurant-website/blob/main/about.html) (About Page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Restaurant Pages"]
  node_home["Landing Page<br/>[index.html]"]
  node_story["About Page<br/>[about.html]"]
  node_booking["Menu &amp; Booking<br/>[services.html]"]
  node_contact["Contact Page<br/>[contact.html]"]
end

subgraph group_interaction["Site Interactions"]
  node_navigation["Navigation Toggle<br/>[main.js]"]
  node_formvalidation["Form Validation<br/>[main.js]"]
  node_feedback["Form Feedback<br/>[main.js]"]
  node_footer["Footer Year<br/>[main.js]"]
end

subgraph group_presentation["Presentation Assets"]
  node_styles["Shared Styles<br/>[styles.css]"]
  node_images["Restaurant Images"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_home
node_visitor -->|"browses"| node_story
node_visitor -->|"browses"| node_booking
node_visitor -->|"browses"| node_contact
node_home -->|"uses shared styling"| node_styles
node_story -->|"uses shared styling"| node_styles
node_booking -->|"uses shared styling"| node_styles
node_contact -->|"uses shared styling"| node_styles
node_home -->|"presents imagery"| node_images
node_story -->|"presents imagery"| node_images
node_booking -->|"presents imagery"| node_images
node_visitor -->|"toggles menu"| node_navigation
node_visitor -->|"submits booking"| node_booking
node_visitor -->|"submits inquiry"| node_contact
node_booking -->|"validates booking"| node_formvalidation
node_contact -->|"validates inquiry"| node_formvalidation
node_formvalidation -->|"sets feedback"| node_feedback
node_home -->|"shows current year"| node_footer
node_story -->|"shows current year"| node_footer
node_booking -->|"shows current year"| node_footer
node_contact -->|"shows current year"| node_footer

click node_home "https://github.com/deepakharidass/restaurant-website/blob/main/index.html"
click node_story "https://github.com/deepakharidass/restaurant-website/blob/main/about.html"
click node_booking "https://github.com/deepakharidass/restaurant-website/blob/main/services.html"
click node_contact "https://github.com/deepakharidass/restaurant-website/blob/main/contact.html"
click node_navigation "https://github.com/deepakharidass/restaurant-website/blob/main/js/main.js"
click node_formvalidation "https://github.com/deepakharidass/restaurant-website/blob/main/js/main.js"
click node_feedback "https://github.com/deepakharidass/restaurant-website/blob/main/js/main.js"
click node_footer "https://github.com/deepakharidass/restaurant-website/blob/main/js/main.js"
click node_styles "https://github.com/deepakharidass/restaurant-website/blob/main/css/styles.css"
click node_images "https://github.com/deepakharidass/restaurant-website/tree/main/images"

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_story,node_booking,node_contact toneBlue
class node_navigation,node_formvalidation,node_feedback,node_footer toneAmber
class node_styles,node_images toneMint
class node_visitor toneIndigo
```

## Components

### Restaurant Pages

- [Landing Page](https://github.com/deepakharidass/restaurant-website/blob/main/index.html): `index.html`
- [About Page](https://github.com/deepakharidass/restaurant-website/blob/main/about.html): `about.html`
- [Menu & Booking](https://github.com/deepakharidass/restaurant-website/blob/main/services.html): `services.html`
- [Contact Page](https://github.com/deepakharidass/restaurant-website/blob/main/contact.html): `contact.html`

### Site Interactions

- [Navigation Toggle](https://github.com/deepakharidass/restaurant-website/blob/main/js/main.js): `js/main.js`
- [Form Validation](https://github.com/deepakharidass/restaurant-website/blob/main/js/main.js): `js/main.js`
- [Form Feedback](https://github.com/deepakharidass/restaurant-website/blob/main/js/main.js): `js/main.js`
- [Footer Year](https://github.com/deepakharidass/restaurant-website/blob/main/js/main.js): `js/main.js`

### Presentation Assets

- [Shared Styles](https://github.com/deepakharidass/restaurant-website/blob/main/css/styles.css): `css/styles.css`
- [Restaurant Images](https://github.com/deepakharidass/restaurant-website/tree/main/images): `images`

### Other components

- **Visitor**

## Connections

- Visitor → Landing Page: browses (evidence: `README.md`)
- Visitor → About Page: browses (evidence: `README.md`)
- Visitor → Menu & Booking: browses (evidence: `README.md`)
- Visitor → Contact Page: browses (evidence: `README.md`)
- Landing Page → Shared Styles: uses shared styling (evidence: `README.md`)
- About Page → Shared Styles: uses shared styling (evidence: `README.md`)
- Menu & Booking → Shared Styles: uses shared styling (evidence: `README.md`)
- Contact Page → Shared Styles: uses shared styling (evidence: `README.md`)
- Landing Page → Restaurant Images: presents imagery (evidence: `README.md`)
- About Page → Restaurant Images: presents imagery (evidence: `README.md`)
- Menu & Booking → Restaurant Images: presents imagery (evidence: `README.md`)
- Visitor → Navigation Toggle: toggles menu (evidence: `js/main.js`)
- Visitor → Menu & Booking: submits booking (evidence: `README.md`)
- Visitor → Contact Page: submits inquiry (evidence: `README.md`)
- Menu & Booking → Form Validation: validates booking (evidence: `README.md`)
- Contact Page → Form Validation: validates inquiry (evidence: `README.md`)
- Form Validation → Form Feedback: sets feedback (evidence: `js/main.js`)
- Landing Page → Footer Year: shows current year (evidence: `README.md`)
- About Page → Footer Year: shows current year (evidence: `README.md`)
- Menu & Booking → Footer Year: shows current year (evidence: `README.md`)
- Contact Page → Footer Year: shows current year (evidence: `README.md`)
