# divyashrma18/light-house architecture

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

- Interactive diagram: https://gitdiagram.com/divyashrma18/light-house
- Repository: https://github.com/divyashrma18/light-house

## Overview

This is a React landing-page experience themed around a lighthouse, with a cinematic hero, navigation, motion-led story sections, and mouse-driven light-beam reveals. The runtime flow mounts the page, composes its sections, and renders visual assets; visitors interact with the hero and beam section. Source excerpts establish component composition and media references, but the README is empty and styling details are not sampled, so the graph focuses on evidenced runtime behavior.

Main entry points: [`vite-project/src/App.jsx`](https://github.com/divyashrma18/light-house/blob/main/vite-project/src/App.jsx) (Landing Page), [`vite-project/src/components/Hero.jsx`](https://github.com/divyashrma18/light-house/blob/main/vite-project/src/components/Hero.jsx) (Cinematic Hero), [`vite-project/src/main.jsx`](https://github.com/divyashrma18/light-house/blob/main/vite-project/src/main.jsx) (React Mount), [`vite-project/src/components/Section1.jsx`](https://github.com/divyashrma18/light-house/blob/main/vite-project/src/components/Section1.jsx) (Beam Reveal)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Page Shell"]
  node_mount["React Mount<br/>[main.jsx]"]
  node_app["Landing Page<br/>[App.jsx]"]
end

subgraph group_hero["Hero Experience"]
  node_hero["Cinematic Hero<br/>[Hero.jsx]"]
  node_navbar["Hero Navigation<br/>[Navbar.jsx]"]
end

subgraph group_sections["Story Sections"]
  node_section1["Beam Reveal<br/>[Section1.jsx]"]
  node_section2["Motion Story<br/>[Section2.jsx]"]
end

subgraph group_media["Visual Assets"]
  node_video["Hero Video<br/>[hero.mp4]"]
  node_images["Section Imagery"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens page"| node_mount
node_mount -->|"renders"| node_app
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_section2
node_app -->|"renders"| node_section1
node_hero -->|"renders"| node_navbar
node_hero -->|"plays"| node_video
node_section1 -->|"loads image"| node_images
node_section2 -->|"loads image"| node_images

click node_mount "https://github.com/divyashrma18/light-house/blob/main/vite-project/src/main.jsx"
click node_app "https://github.com/divyashrma18/light-house/blob/main/vite-project/src/App.jsx"
click node_hero "https://github.com/divyashrma18/light-house/blob/main/vite-project/src/components/Hero.jsx"
click node_navbar "https://github.com/divyashrma18/light-house/blob/main/vite-project/src/components/Navbar.jsx"
click node_section1 "https://github.com/divyashrma18/light-house/blob/main/vite-project/src/components/Section1.jsx"
click node_section2 "https://github.com/divyashrma18/light-house/blob/main/vite-project/src/components/Section2.jsx"
click node_video "https://github.com/divyashrma18/light-house/blob/main/vite-project/public/videos/hero.mp4"
click node_images "https://github.com/divyashrma18/light-house/tree/main/vite-project/public/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_mount,node_app toneBlue
class node_hero,node_navbar toneAmber
class node_section1,node_section2 toneMint
class node_video,node_images toneRose
class node_visitor toneIndigo
```

## Components

### Page Shell

- [React Mount](https://github.com/divyashrma18/light-house/blob/main/vite-project/src/main.jsx): `vite-project/src/main.jsx`
- [Landing Page](https://github.com/divyashrma18/light-house/blob/main/vite-project/src/App.jsx): `vite-project/src/App.jsx`

### Hero Experience

- [Cinematic Hero](https://github.com/divyashrma18/light-house/blob/main/vite-project/src/components/Hero.jsx): `vite-project/src/components/Hero.jsx`
- [Hero Navigation](https://github.com/divyashrma18/light-house/blob/main/vite-project/src/components/Navbar.jsx): `vite-project/src/components/Navbar.jsx`

### Story Sections

- [Beam Reveal](https://github.com/divyashrma18/light-house/blob/main/vite-project/src/components/Section1.jsx): `vite-project/src/components/Section1.jsx`
- [Motion Story](https://github.com/divyashrma18/light-house/blob/main/vite-project/src/components/Section2.jsx): `vite-project/src/components/Section2.jsx`

### Visual Assets

- [Hero Video](https://github.com/divyashrma18/light-house/blob/main/vite-project/public/videos/hero.mp4): `vite-project/public/videos/hero.mp4`
- [Section Imagery](https://github.com/divyashrma18/light-house/tree/main/vite-project/public/images): `vite-project/public/images`

### Other components

- **Visitor**

## Connections

- Visitor → React Mount: opens page (evidence: `vite-project/src/main.jsx`)
- React Mount → Landing Page: renders (evidence: `vite-project/src/main.jsx`)
- Landing Page → Cinematic Hero: renders (evidence: `vite-project/src/App.jsx`)
- Landing Page → Motion Story: renders (evidence: `vite-project/src/App.jsx`)
- Landing Page → Beam Reveal: renders (evidence: `vite-project/src/App.jsx`)
- Cinematic Hero → Hero Navigation: renders (evidence: `vite-project/src/components/Hero.jsx`)
- Cinematic Hero → Hero Video: plays (evidence: `vite-project/src/components/Hero.jsx`)
- Beam Reveal → Section Imagery: loads image (evidence: `vite-project/src/components/Section1.jsx`)
- Motion Story → Section Imagery: loads image (evidence: `vite-project/src/components/Section2.jsx`)
