# krishna-prasad-ceo/compcom2k26 architecture

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

- Interactive diagram: https://gitdiagram.com/krishna-prasad-ceo/compcom2k26
- Repository: https://github.com/krishna-prasad-ceo/compcom2k26

## Overview

#### Purpose and Entry Points
This is a Vite-powered React/TypeScript single-page event or festival site. The browser bootstraps from `index.html` into `index.tsx`, which renders the root composition in `App.tsx`.

#### Application Shell and Page Composition
`App.tsx` is the primary orchestration boundary: it assembles the site-wide visual layers, landing content, event information, workshops, registration, contact, and footer into one scroll-driven page. Shared content/types are likely centralized in `constants.ts` and `types.ts`.

Paths:
- `App.tsx`
- `index.tsx`
- `constants.ts`
- `types.ts`

#### Persistent Visual and Navigation Layer
The page uses a global animated/decorative canvas plus persistent navigation and section-transition elements. These components define the shared presentation framework around otherwise independent content sections.

Paths:
- `components/BackgroundCanvas.tsx`
- `components/Header.tsx`
- `components/SectionDividers.tsx`

#### Landing and Intro Sequence
The top-of-page experience is split into an introductory animation, hero content, and a creator-focused reveal. These likely control the initial attention flow before users enter the informational sections.

Paths:
- `components/IntroAnimation.tsx`
- `components/Hero.tsx`
- `components/CreatorReveal.tsx`

#### Event Discovery Content
Core informational content is divided by audience intent: general event details and workshop offerings. These sections consume static repository-defined data rather than an indicated backend or CMS integration.

Paths:
- `components/Events.tsx`
- `components/Workshops.tsx`
- `constants.ts`

#### Conversion and Contact Boundary
Registration is the main conversion stage, followed by a contact section for direct outreach. No server, API route, database, authentication layer, or external service integration is visible in the supplied tree; any submission behavior would be client-side or delegated to external links/forms within these components.

Paths:
- `components/Registration.tsx`
- `components/Contact.tsx`
- `components/Footer.tsx`

#### Runtime and Delivery
The project runs as a client-rendered React application using Vite and TypeScript. Static browser assets are served from `public`; package/runtime dependencies and scripts are defined in `package.json`, while Vite behavior is configured in `vite.config.ts`.

Paths:
- `package.json`
- `vite.config.ts`
- `public`

Main entry points: [`App.tsx`](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/App.tsx) (Single-Page Composition), [`constants.ts`](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/constants.ts) (Static Content), [`index.html`](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/index.html) (Browser Entry Document), [`vite.config.ts`](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/vite.config.ts) (Vite Configuration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Build &amp; Runtime"]
  node_package["Package Scripts &amp; Dependencies<br/>package manifest<br/>[package.json]"]
  node_vite["Vite Configuration<br/>build config<br/>[vite.config.ts]"]
  node_public["Static Assets<br/>asset directory"]
  node_html["Browser Entry Document<br/>HTML entry<br/>[index.html]"]
  node_entry["React Bootstrap<br/>TypeScript entry<br/>[index.tsx]"]
end

subgraph group_shell["App Shell"]
  node_app["Single-Page Composition<br/>React root<br/>[App.tsx]"]
  node_background["Animated Background<br/>React component"]
  node_header["Persistent Navigation<br/>React component<br/>[Header.tsx]"]
  node_dividers["Section Transitions<br/>React component"]
end

subgraph group_content["Page Content"]
  node_intro["Intro Animation<br/>React component<br/>[IntroAnimation.tsx]"]
  node_hero["Hero<br/>React component<br/>[Hero.tsx]"]
  node_creator["Creator Reveal<br/>React component<br/>[CreatorReveal.tsx]"]
  node_events["Event Details<br/>React section<br/>[Events.tsx]"]
  node_workshops["Workshop Offerings<br/>React section<br/>[Workshops.tsx]"]
  node_registration["Registration<br/>React section<br/>[Registration.tsx]"]
  node_contact["Contact<br/>React section<br/>[Contact.tsx]"]
  node_footer["Footer<br/>React component<br/>[Footer.tsx]"]
  node_constants["Static Content<br/>shared data<br/>[constants.ts]"]
  node_types["Shared Types<br/>TypeScript types<br/>[types.ts]"]
end

node_package -->|"configures"| node_vite
node_vite -->|"serves"| node_html
node_public -->|"provides assets"| node_html
node_html -->|"loads"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"includes"| node_background
node_app -->|"includes"| node_header
node_app -->|"includes"| node_dividers
node_app -->|"composes"| node_intro
node_app -->|"composes"| node_hero
node_app -->|"composes"| node_creator
node_app -->|"composes"| node_events
node_app -->|"composes"| node_workshops
node_app -->|"composes"| node_registration
node_app -->|"composes"| node_contact
node_app -->|"composes"| node_footer
node_constants -->|"supplies content"| node_events
node_constants -->|"supplies content"| node_workshops
node_types -.->|"defines data shapes"| node_constants

click node_package "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/package.json"
click node_vite "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/vite.config.ts"
click node_public "https://github.com/krishna-prasad-ceo/compcom2k26/tree/main/public"
click node_html "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/index.html"
click node_entry "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/index.tsx"
click node_app "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/App.tsx"
click node_background "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/BackgroundCanvas.tsx"
click node_header "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Header.tsx"
click node_dividers "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/SectionDividers.tsx"
click node_intro "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/IntroAnimation.tsx"
click node_hero "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Hero.tsx"
click node_creator "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/CreatorReveal.tsx"
click node_events "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Events.tsx"
click node_workshops "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Workshops.tsx"
click node_registration "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Registration.tsx"
click node_contact "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Contact.tsx"
click node_footer "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Footer.tsx"
click node_constants "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/constants.ts"
click node_types "https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/types.ts"

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_package,node_vite,node_public,node_html,node_entry toneBlue
class node_app,node_background,node_header,node_dividers toneAmber
class node_intro,node_hero,node_creator,node_events,node_workshops,node_registration,node_contact,node_footer,node_constants,node_types toneMint
```

## Components

### Build & Runtime

- [Package Scripts & Dependencies](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/package.json): package manifest · `package.json`
- [Vite Configuration](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/vite.config.ts): build config · `vite.config.ts`
- [Static Assets](https://github.com/krishna-prasad-ceo/compcom2k26/tree/main/public): asset directory · `public`
- [Browser Entry Document](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/index.html): HTML entry · `index.html`
- [React Bootstrap](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/index.tsx): TypeScript entry · `index.tsx`

### App Shell

- [Single-Page Composition](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/App.tsx): React root · Composes the scroll-driven festival page. · `App.tsx`
- [Animated Background](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/BackgroundCanvas.tsx): React component · `components/BackgroundCanvas.tsx`
- [Persistent Navigation](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Header.tsx): React component · `components/Header.tsx`
- [Section Transitions](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/SectionDividers.tsx): React component · `components/SectionDividers.tsx`

### Page Content

- [Intro Animation](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/IntroAnimation.tsx): React component · `components/IntroAnimation.tsx`
- [Hero](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Hero.tsx): React component · `components/Hero.tsx`
- [Creator Reveal](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/CreatorReveal.tsx): React component · `components/CreatorReveal.tsx`
- [Event Details](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Events.tsx): React section · `components/Events.tsx`
- [Workshop Offerings](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Workshops.tsx): React section · `components/Workshops.tsx`
- [Registration](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Registration.tsx): React section · Primary conversion stage. · `components/Registration.tsx`
- [Contact](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Contact.tsx): React section · `components/Contact.tsx`
- [Footer](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/components/Footer.tsx): React component · `components/Footer.tsx`
- [Static Content](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/constants.ts): shared data · `constants.ts`
- [Shared Types](https://github.com/krishna-prasad-ceo/compcom2k26/blob/main/types.ts): TypeScript types · `types.ts`

## Connections

- Package Scripts & Dependencies → Vite Configuration: configures
- Vite Configuration → Browser Entry Document: serves
- Static Assets → Browser Entry Document: provides assets
- Browser Entry Document → React Bootstrap: loads
- React Bootstrap → Single-Page Composition: renders
- Single-Page Composition → Animated Background: includes
- Single-Page Composition → Persistent Navigation: includes
- Single-Page Composition → Section Transitions: includes
- Single-Page Composition → Intro Animation: composes
- Single-Page Composition → Hero: composes
- Single-Page Composition → Creator Reveal: composes
- Single-Page Composition → Event Details: composes
- Single-Page Composition → Workshop Offerings: composes
- Single-Page Composition → Registration: composes
- Single-Page Composition → Contact: composes
- Single-Page Composition → Footer: composes
- Static Content → Event Details: supplies content
- Static Content → Workshop Offerings: supplies content
- Shared Types → Static Content: defines data shapes
