# divyashrma18/batman architecture

> Architecture diagram of the GitHub repository divyashrma18/batman, 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/batman
- Repository: https://github.com/divyashrma18/batman

## Overview

This is a small React landing-page experience themed around The Dark Knight, not a backend or multi-stage business application. The browser mounts the app, which renders a hero scene containing navigation and animated text. The hero also uses pointer movement to reveal a second image over a canvas. The README is empty, so capabilities and relationships here are based on the sampled source; styling and unsampled assets are not mapped in detail.

Main entry points: [`vite-project/src/components/Hero.jsx`](https://github.com/divyashrma18/batman/blob/main/vite-project/src/components/Hero.jsx) (Hero scene), [`vite-project/src/App.jsx`](https://github.com/divyashrma18/batman/blob/main/vite-project/src/App.jsx) (App), [`vite-project/src/main.jsx`](https://github.com/divyashrma18/batman/blob/main/vite-project/src/main.jsx) (React entry), [`vite-project/src/components/Navbar.jsx`](https://github.com/divyashrma18/batman/blob/main/vite-project/src/components/Navbar.jsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Page runtime"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app_component["App<br/>[App.jsx]"]
  node_hero["Hero scene<br/>[Hero.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_hero_images["Hero images"]
end

node_visitor(("Visitor"))

node_entry -->|"renders"| node_app_component
node_app_component -->|"renders"| node_hero
node_hero -->|"renders"| node_navbar
node_hero -->|"loads"| node_hero_images
node_visitor -->|"moves pointer"| node_hero

click node_entry "https://github.com/divyashrma18/batman/blob/main/vite-project/src/main.jsx"
click node_app_component "https://github.com/divyashrma18/batman/blob/main/vite-project/src/App.jsx"
click node_hero "https://github.com/divyashrma18/batman/blob/main/vite-project/src/components/Hero.jsx"
click node_navbar "https://github.com/divyashrma18/batman/blob/main/vite-project/src/components/Navbar.jsx"
click node_hero_images "https://github.com/divyashrma18/batman/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_entry,node_app_component,node_hero,node_navbar,node_hero_images toneBlue
class node_visitor toneIndigo
```

## Components

### Page runtime

- [React entry](https://github.com/divyashrma18/batman/blob/main/vite-project/src/main.jsx): `vite-project/src/main.jsx`
- [App](https://github.com/divyashrma18/batman/blob/main/vite-project/src/App.jsx): `vite-project/src/App.jsx`
- [Hero scene](https://github.com/divyashrma18/batman/blob/main/vite-project/src/components/Hero.jsx): `vite-project/src/components/Hero.jsx`
- [Navigation](https://github.com/divyashrma18/batman/blob/main/vite-project/src/components/Navbar.jsx): `vite-project/src/components/Navbar.jsx`
- [Hero images](https://github.com/divyashrma18/batman/tree/main/vite-project/public/images): `vite-project/public/images`

### Other components

- **Visitor**

## Connections

- React entry → App: renders (evidence: `vite-project/src/main.jsx`)
- App → Hero scene: renders (evidence: `vite-project/src/App.jsx`)
- Hero scene → Navigation: renders (evidence: `vite-project/src/components/Hero.jsx`)
- Hero scene → Hero images: loads (evidence: `vite-project/src/components/Hero.jsx`)
- Visitor → Hero scene: moves pointer (evidence: `vite-project/src/components/Hero.jsx`)
