# adarshp521/india-that-is-bharat architecture

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

- Interactive diagram: https://gitdiagram.com/adarshp521/india-that-is-bharat
- Repository: https://github.com/adarshp521/india-that-is-bharat

## Overview

INDIA is a small, scroll-driven landing page built with GSAP. A visitor views the page while a GSAP timeline, triggered by scrolling, reveals the opening image, strips, image cards, and final text. The sampled source shows the animation sequence and its CSS import; the HTML and styles were not sampled, so page wiring and visual details are not inferred.

Main entry points: [`src/main.js`](https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.js) (Scroll timeline), [`index.html`](https://github.com/adarshp521/india-that-is-bharat/blob/main/index.html) (India landing page), [`src/style.css`](https://github.com/adarshp521/india-that-is-bharat/blob/main/src/style.css) (Page styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Landing page"]
  node_landing["India landing page<br/>[index.html]"]
  node_styles["Page styles<br/>[style.css]"]
end

subgraph group_motion["Scroll animation"]
  node_timeline["Scroll timeline<br/>[main.js]"]
  node_gsap["GSAP / ScrollTrigger"]
  node_opening["Opening image reveal<br/>[main.js]"]
  node_strips["Strip reveal<br/>[main.js]"]
  node_cards["Image card transition<br/>[main.js]"]
  node_final["Final text reveal<br/>[main.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"views"| node_landing
node_timeline -->|"imports"| node_styles
node_timeline -->|"registers and animates"| node_gsap
node_timeline -->|"animates"| node_opening
node_timeline -->|"animates"| node_strips
node_timeline -->|"animates"| node_cards
node_timeline -->|"animates"| node_final

click node_landing "https://github.com/adarshp521/india-that-is-bharat/blob/main/index.html"
click node_styles "https://github.com/adarshp521/india-that-is-bharat/blob/main/src/style.css"
click node_timeline "https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.js"
click node_opening "https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.js"
click node_strips "https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.js"
click node_cards "https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.js"
click node_final "https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.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_landing,node_styles toneBlue
class node_timeline,node_gsap,node_opening,node_strips,node_cards,node_final toneAmber
class node_visitor toneIndigo
```

## Components

### Landing page

- [India landing page](https://github.com/adarshp521/india-that-is-bharat/blob/main/index.html): `index.html`
- [Page styles](https://github.com/adarshp521/india-that-is-bharat/blob/main/src/style.css): `src/style.css`

### Scroll animation

- [Scroll timeline](https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.js): `src/main.js`
- **GSAP / ScrollTrigger**
- [Opening image reveal](https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.js): `src/main.js`
- [Strip reveal](https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.js): `src/main.js`
- [Image card transition](https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.js): `src/main.js`
- [Final text reveal](https://github.com/adarshp521/india-that-is-bharat/blob/main/src/main.js): `src/main.js`

### Other components

- **Visitor**

## Connections

- Visitor → India landing page: views (evidence: `README.md`)
- Scroll timeline → Page styles: imports (evidence: `src/main.js`)
- Scroll timeline → GSAP / ScrollTrigger: registers and animates (evidence: `src/main.js`)
- Scroll timeline → Opening image reveal: animates (evidence: `src/main.js`)
- Scroll timeline → Strip reveal: animates (evidence: `src/main.js`)
- Scroll timeline → Image card transition: animates (evidence: `src/main.js`)
- Scroll timeline → Final text reveal: animates (evidence: `src/main.js`)
