# adityapannu669-collab/nexathon-2026 architecture

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

- Interactive diagram: https://gitdiagram.com/adityapannu669-collab/nexathon-2026
- Repository: https://github.com/adityapannu669-collab/nexathon-2026

## Overview

#### Purpose and Entry Point
Nexathon 2026 is a static, frontend-only hackathon registration and event-information site. The browser entry point is `index.html`, which defines the page sections, navigation targets, registration form, and modal markup. There is no backend, database, package runtime, or build pipeline.

Paths: `index.html`, `README.md`

#### Page Composition
The single HTML document organizes the landing experience into event information, statistics, schedule/timeline, prizes, sponsors, and registration content. Section IDs provide anchors for desktop/mobile navigation and support active-section tracking.

Paths: `index.html`

#### Presentation and Responsive Layout
CSS owns the visual system: responsive breakpoints, desktop/mobile navigation states, light/dark theme styling, timeline presentation, form/modal appearance, and reveal-animation classes. JavaScript changes state through classes and attributes rather than generating the application UI.

Paths: `css/style.css`, `index.html`

#### Client Interaction Controller
A single browser-side script initializes and coordinates interactive behavior after the document loads. It handles navigation menu toggling, theme selection, countdown updates, scroll-driven active navigation, intersection-based reveal effects, registration validation, and success-modal lifecycle.

Paths: `js/script.js`, `index.html`

#### Theme Persistence Boundary
Theme switching is entirely client-side. The selected dark/light mode is read from and written to the browser’s `localStorage`, then reflected in page-level styling state. This is the only persistent user state; it remains local to the browser.

Paths: `js/script.js`, `css/style.css`

#### Registration Flow
The registration form is a frontend validation workflow: user input is checked for required fields and format/content constraints, validation feedback is presented in the UI, and a successful submission opens an animated confirmation modal without page reload. Submission data is not transmitted or stored, creating a firm boundary between demo UX and real registration processing.

Paths: `index.html`, `js/script.js`, `css/style.css`

#### Runtime and Deployment
The application runs directly in a modern browser using HTML5, CSS3, and vanilla JavaScript. It uses browser-native `localStorage` and `IntersectionObserver`; no external API or service is required at runtime. The static site is deployed on Vercel, with the documented live deployment at `https://nexathon-2026.vercel.app/`.

Paths: `README.md`, `index.html`, `js/script.js`

Main entry points: [`js/script.js`](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/js/script.js) (Interaction controller), [`index.html`](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html) (Landing document), [`README.md`](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/README.md) (Vercel static hosting), [`css/style.css`](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/css/style.css) (Visual system)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_static["Static site"]
  node_html["Landing document<br/>HTML entry point<br/>[index.html]"]
  node_sections["Event sections<br/>page content<br/>[index.html]"]
  node_nav["Anchor navigation<br/>navigation markup<br/>[index.html]"]
  node_registration["Registration form<br/>frontend form<br/>[index.html]"]
  node_modal["Success modal<br/>confirmation UI<br/>[index.html]"]
  node_css["Visual system<br/>CSS stylesheet<br/>[style.css]"]
end

subgraph group_browser["Browser runtime"]
  node_script["Interaction controller<br/>vanilla JavaScript<br/>[script.js]"]
  node_theme["Theme state<br/>page class and attributes<br/>[index.html]"]
  node_storage[("Browser localStorage<br/>client persistence")]
  node_observer["IntersectionObserver<br/>browser API"]
end

subgraph group_deployment["Deployment"]
  node_vercel{{"Vercel static hosting<br/>deployment platform<br/>[README.md]"}}
  node_readme["Project documentation<br/>README<br/>[README.md]"]
end

node_html -->|"contains"| node_sections
node_html -->|"defines"| node_nav
node_html -->|"contains"| node_registration
node_html -->|"contains"| node_modal
node_html -->|"loads"| node_css
node_html -->|"loads"| node_script
node_nav -->|"anchors to"| node_sections
node_script -->|"toggles and tracks"| node_nav
node_script -->|"sets"| node_theme
node_theme -->|"selects styles"| node_css
node_script -->|"reads and writes theme"| node_storage
node_script -->|"uses"| node_observer
node_script -->|"validates"| node_registration
node_script -->|"opens on success"| node_modal
node_vercel -->|"serves"| node_html
node_readme -.->|"documents"| node_vercel

click node_html "https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html"
click node_sections "https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html"
click node_nav "https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html"
click node_registration "https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html"
click node_modal "https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html"
click node_css "https://github.com/adityapannu669-collab/nexathon-2026/blob/main/css/style.css"
click node_script "https://github.com/adityapannu669-collab/nexathon-2026/blob/main/js/script.js"
click node_theme "https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html"
click node_vercel "https://github.com/adityapannu669-collab/nexathon-2026/blob/main/README.md"
click node_readme "https://github.com/adityapannu669-collab/nexathon-2026/blob/main/README.md"

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_html,node_sections,node_nav,node_registration,node_modal,node_css toneBlue
class node_script,node_theme,node_storage,node_observer toneAmber
class node_vercel,node_readme toneMint
```

## Components

### Static site

- [Landing document](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html): HTML entry point · Defines sections, navigation, form, and modal markup. · `index.html`
- [Event sections](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html): page content · Information, stats, schedule, prizes, sponsors, and registration. · `index.html`
- [Anchor navigation](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html): navigation markup · Section IDs support desktop/mobile links and active state. · `index.html`
- [Registration form](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html): frontend form · Demo-only submission; data is not sent or stored. · `index.html`
- [Success modal](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html): confirmation UI · `index.html`
- [Visual system](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/css/style.css): CSS stylesheet · Responsive layout, themes, navigation, timeline, form, modal, and reveal styles. · `css/style.css`

### Browser runtime

- [Interaction controller](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/js/script.js): vanilla JavaScript · Coordinates navigation, theme, countdown, reveals, validation, and modal state. · `js/script.js`
- [Theme state](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/index.html): page class and attributes · Light/dark state is reflected in styling selectors. · `index.html`
- **Browser localStorage**: client persistence · Only persistent user state: selected theme.
- **IntersectionObserver**: browser API · Drives scroll-based reveal effects.

### Deployment

- [Vercel static hosting](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/README.md): deployment platform · Serves the static site. · `README.md`
- [Project documentation](https://github.com/adityapannu669-collab/nexathon-2026/blob/main/README.md): README · Documents runtime and live deployment. · `README.md`

## Connections

- Landing document → Event sections: contains
- Landing document → Anchor navigation: defines
- Landing document → Registration form: contains
- Landing document → Success modal: contains
- Landing document → Visual system: loads
- Landing document → Interaction controller: loads
- Anchor navigation → Event sections: anchors to
- Interaction controller → Anchor navigation: toggles and tracks
- Interaction controller → Theme state: sets
- Theme state → Visual system: selects styles
- Interaction controller → Browser localStorage: reads and writes theme
- Interaction controller → IntersectionObserver: uses
- Interaction controller → Registration form: validates
- Interaction controller → Success modal: opens on success
- Vercel static hosting → Landing document: serves
- Project documentation → Vercel static hosting: documents
