# suriya055/varsha-beauty-parlor architecture

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

- Interactive diagram: https://gitdiagram.com/suriya055/varsha-beauty-parlor
- Repository: https://github.com/suriya055/varsha-beauty-parlor

## Overview

Splendour Salon is a browser-based salon showcase. Visitors navigate the site and explore its gallery; the JavaScript handles page switching, gallery filtering, image viewing, and before/after comparisons. The source excerpt documents these behaviors, but the HTML, CSS, and hosting guide were not provided, so their contents and any booking or hosting workflow cannot be verified.

Main entry points: [`index.html`](https://github.com/suriya055/varsha-beauty-parlor/blob/main/index.html) (Page UI), [`script.js`](https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js) (Page navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Salon site"]
  node_page_ui["Page UI<br/>[index.html]"]
  node_navigation["Page navigation<br/>[script.js]"]
  node_fade_ins["Scroll fade-ins<br/>[script.js]"]
end

subgraph group_discovery["Gallery discovery"]
  node_gallery_filter["Gallery filter<br/>[script.js]"]
  node_lightbox["Image lightbox<br/>[script.js]"]
end

subgraph group_interaction["Visual interactions"]
  node_before_after["Before/after slider<br/>[script.js]"]
  node_header_shadow["Sticky header shadow<br/>[script.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"selects pages"| node_navigation
node_visitor -->|"filters gallery"| node_gallery_filter
node_visitor -->|"opens images"| node_lightbox
node_visitor -->|"drags slider"| node_before_after
node_navigation -->|"toggles pages"| node_page_ui
node_navigation -->|"triggers"| node_fade_ins
node_gallery_filter -->|"shows items"| node_page_ui
node_lightbox -->|"displays image"| node_page_ui
node_before_after -->|"clips image"| node_page_ui
node_visitor -->|"scrolls page"| node_header_shadow
node_header_shadow -->|"toggles shadow"| node_page_ui

click node_page_ui "https://github.com/suriya055/varsha-beauty-parlor/blob/main/index.html"
click node_navigation "https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js"
click node_fade_ins "https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js"
click node_gallery_filter "https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js"
click node_lightbox "https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js"
click node_before_after "https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js"
click node_header_shadow "https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.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_page_ui,node_navigation,node_fade_ins toneBlue
class node_gallery_filter,node_lightbox toneAmber
class node_before_after,node_header_shadow toneMint
class node_visitor toneIndigo
```

## Components

### Salon site

- [Page UI](https://github.com/suriya055/varsha-beauty-parlor/blob/main/index.html): `index.html`
- [Page navigation](https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js): `script.js`
- [Scroll fade-ins](https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js): `script.js`

### Gallery discovery

- [Gallery filter](https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js): `script.js`
- [Image lightbox](https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js): `script.js`

### Visual interactions

- [Before/after slider](https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js): `script.js`
- [Sticky header shadow](https://github.com/suriya055/varsha-beauty-parlor/blob/main/script.js): `script.js`

### Other components

- **Visitor**

## Connections

- Visitor → Page navigation: selects pages (evidence: `script.js`)
- Visitor → Gallery filter: filters gallery (evidence: `script.js`)
- Visitor → Image lightbox: opens images (evidence: `script.js`)
- Visitor → Before/after slider: drags slider (evidence: `script.js`)
- Page navigation → Page UI: toggles pages (evidence: `script.js`)
- Page navigation → Scroll fade-ins: triggers (evidence: `script.js`)
- Gallery filter → Page UI: shows items (evidence: `script.js`)
- Image lightbox → Page UI: displays image (evidence: `script.js`)
- Before/after slider → Page UI: clips image (evidence: `script.js`)
- Visitor → Sticky header shadow: scrolls page (evidence: `script.js`)
- Sticky header shadow → Page UI: toggles shadow (evidence: `script.js`)
