# divyansh200102/brainwave architecture

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

- Interactive diagram: https://gitdiagram.com/divyansh200102/brainwave
- Repository: https://github.com/divyansh200102/brainwave

## Overview

This repository is a React marketing landing page for Brainwave, an AI-chat app; the shown code presents capabilities and product plans rather than implementing chat or AI processing. The principal workflow is a visitor browsing the landing page from its navigation and hero through feature, collaboration, service, pricing, and roadmap sections. Shared presentation components and constants support those sections. The graph follows the rendered composition and documented imports; it does not infer backend behavior or inspect unsampled component bodies.

Main entry points: [`src/App.jsx`](https://github.com/divyansh200102/brainwave/blob/main/src/App.jsx) (Landing page), [`src/components/Hero.jsx`](https://github.com/divyansh200102/brainwave/blob/main/src/components/Hero.jsx) (Hero), [`src/components/Roadmap.jsx`](https://github.com/divyansh200102/brainwave/blob/main/src/components/Roadmap.jsx) (Roadmap), [`src/components/Services.jsx`](https://github.com/divyansh200102/brainwave/blob/main/src/components/Services.jsx) (AI services)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_composition["Page composition"]
  node_app["Landing page<br/>[App.jsx]"]
end

subgraph group_sections["Landing sections"]
  node_header["Navigation<br/>[Header.jsx]"]
  node_hero["Hero<br/>[Hero.jsx]"]
  node_benefits["Benefits<br/>[Benefits.jsx]"]
  node_collaboration["Collaboration<br/>[Collaboration.jsx]"]
  node_services["AI services<br/>[Services.jsx]"]
  node_pricing["Pricing<br/>[Pricing.jsx]"]
  node_roadmap["Roadmap<br/>[Roadmap.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
end

subgraph group_shared["Shared presentation"]
  node_section["Section layout<br/>[Section.jsx]"]
  node_heading["Section heading<br/>[Heading.jsx]"]
  node_tagline["Tagline<br/>[Tagline.jsx]"]
  node_button["Button<br/>[Button.jsx]"]
  node_generating["Generating status<br/>[Generating.jsx]"]
  node_notification["Notification card<br/>[Notification.jsx]"]
  node_company["Company logos<br/>[CompanyLogos.jsx]"]
  node_pricinglist["Plan details<br/>[PricingList.jsx]"]
  node_constants["Page content data<br/>[index.js]"]
  node_designhero["Hero visuals<br/>[Hero.jsx]"]
  node_designservices["Service visuals<br/>[Services.jsx]"]
  node_designheader["Header visuals<br/>[Header.jsx]"]
  node_designcollab["Collaboration visuals<br/>[Collaboration.jsx]"]
  node_designbenefits["Benefits visuals<br/>[Benefits.jsx]"]
  node_designpricing["Pricing visuals<br/>[Pricing.jsx]"]
  node_designroadmap["Roadmap visuals<br/>[Roadmap.jsx]"]
end

node_app -->|"renders"| node_header
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_benefits
node_app -->|"renders"| node_collaboration
node_app -->|"renders"| node_services
node_app -->|"renders"| node_pricing
node_app -->|"renders"| node_roadmap
node_app -->|"renders"| node_footer
node_header -->|"reads navigation"| node_constants
node_header -->|"renders"| node_button
node_header -->|"renders"| node_designheader
node_hero -->|"uses layout"| node_section
node_hero -->|"renders"| node_button
node_hero -->|"renders"| node_generating
node_hero -->|"renders"| node_notification
node_hero -->|"renders"| node_company
node_hero -->|"renders"| node_designhero
node_hero -->|"reads icons"| node_constants
node_benefits -->|"uses layout"| node_section
node_benefits -->|"renders"| node_heading
node_benefits -->|"reads benefits"| node_constants
node_benefits -->|"renders"| node_designbenefits
node_collaboration -->|"uses layout"| node_section
node_collaboration -->|"renders"| node_button
node_collaboration -->|"reads content"| node_constants
node_collaboration -->|"renders"| node_designcollab
node_services -->|"uses layout"| node_section
node_services -->|"renders"| node_heading
node_services -->|"renders"| node_generating
node_services -->|"renders"| node_designservices
node_services -->|"reads services"| node_constants
node_pricing -->|"uses layout"| node_section
node_pricing -->|"renders"| node_heading
node_pricing -->|"renders"| node_pricinglist
node_pricing -->|"renders"| node_designpricing
node_roadmap -->|"uses layout"| node_section
node_roadmap -->|"renders"| node_heading
node_roadmap -->|"renders"| node_tagline
node_roadmap -->|"renders"| node_button
node_roadmap -->|"reads roadmap"| node_constants
node_roadmap -->|"renders"| node_designroadmap
node_heading -->|"renders"| node_tagline
node_pricinglist -->|"renders"| node_button
node_pricinglist -->|"reads plans"| node_constants

click node_app "https://github.com/divyansh200102/brainwave/blob/main/src/App.jsx"
click node_header "https://github.com/divyansh200102/brainwave/blob/main/src/components/Header.jsx"
click node_hero "https://github.com/divyansh200102/brainwave/blob/main/src/components/Hero.jsx"
click node_benefits "https://github.com/divyansh200102/brainwave/blob/main/src/components/Benefits.jsx"
click node_collaboration "https://github.com/divyansh200102/brainwave/blob/main/src/components/Collaboration.jsx"
click node_services "https://github.com/divyansh200102/brainwave/blob/main/src/components/Services.jsx"
click node_pricing "https://github.com/divyansh200102/brainwave/blob/main/src/components/Pricing.jsx"
click node_roadmap "https://github.com/divyansh200102/brainwave/blob/main/src/components/Roadmap.jsx"
click node_footer "https://github.com/divyansh200102/brainwave/blob/main/src/components/Footer.jsx"
click node_section "https://github.com/divyansh200102/brainwave/blob/main/src/components/Section.jsx"
click node_heading "https://github.com/divyansh200102/brainwave/blob/main/src/components/Heading.jsx"
click node_tagline "https://github.com/divyansh200102/brainwave/blob/main/src/components/Tagline.jsx"
click node_button "https://github.com/divyansh200102/brainwave/blob/main/src/components/Button.jsx"
click node_generating "https://github.com/divyansh200102/brainwave/blob/main/src/components/Generating.jsx"
click node_notification "https://github.com/divyansh200102/brainwave/blob/main/src/components/Notification.jsx"
click node_company "https://github.com/divyansh200102/brainwave/blob/main/src/components/CompanyLogos.jsx"
click node_pricinglist "https://github.com/divyansh200102/brainwave/blob/main/src/components/PricingList.jsx"
click node_constants "https://github.com/divyansh200102/brainwave/blob/main/src/constants/index.js"
click node_designhero "https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Hero.jsx"
click node_designservices "https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Services.jsx"
click node_designheader "https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Header.jsx"
click node_designcollab "https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Collaboration.jsx"
click node_designbenefits "https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Benefits.jsx"
click node_designpricing "https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Pricing.jsx"
click node_designroadmap "https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Roadmap.jsx"

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_app toneBlue
class node_header,node_hero,node_benefits,node_collaboration,node_services,node_pricing,node_roadmap,node_footer toneAmber
class node_section,node_heading,node_tagline,node_button,node_generating,node_notification,node_company,node_pricinglist,node_constants,node_designhero,node_designservices,node_designheader,node_designcollab,node_designbenefits,node_designpricing,node_designroadmap toneMint
```

## Components

### Page composition

- [Landing page](https://github.com/divyansh200102/brainwave/blob/main/src/App.jsx): `src/App.jsx`

### Landing sections

- [Navigation](https://github.com/divyansh200102/brainwave/blob/main/src/components/Header.jsx): `src/components/Header.jsx`
- [Hero](https://github.com/divyansh200102/brainwave/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [Benefits](https://github.com/divyansh200102/brainwave/blob/main/src/components/Benefits.jsx): `src/components/Benefits.jsx`
- [Collaboration](https://github.com/divyansh200102/brainwave/blob/main/src/components/Collaboration.jsx): `src/components/Collaboration.jsx`
- [AI services](https://github.com/divyansh200102/brainwave/blob/main/src/components/Services.jsx): `src/components/Services.jsx`
- [Pricing](https://github.com/divyansh200102/brainwave/blob/main/src/components/Pricing.jsx): `src/components/Pricing.jsx`
- [Roadmap](https://github.com/divyansh200102/brainwave/blob/main/src/components/Roadmap.jsx): `src/components/Roadmap.jsx`
- [Footer](https://github.com/divyansh200102/brainwave/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`

### Shared presentation

- [Section layout](https://github.com/divyansh200102/brainwave/blob/main/src/components/Section.jsx): `src/components/Section.jsx`
- [Section heading](https://github.com/divyansh200102/brainwave/blob/main/src/components/Heading.jsx): `src/components/Heading.jsx`
- [Tagline](https://github.com/divyansh200102/brainwave/blob/main/src/components/Tagline.jsx): `src/components/Tagline.jsx`
- [Button](https://github.com/divyansh200102/brainwave/blob/main/src/components/Button.jsx): `src/components/Button.jsx`
- [Generating status](https://github.com/divyansh200102/brainwave/blob/main/src/components/Generating.jsx): `src/components/Generating.jsx`
- [Notification card](https://github.com/divyansh200102/brainwave/blob/main/src/components/Notification.jsx): `src/components/Notification.jsx`
- [Company logos](https://github.com/divyansh200102/brainwave/blob/main/src/components/CompanyLogos.jsx): `src/components/CompanyLogos.jsx`
- [Plan details](https://github.com/divyansh200102/brainwave/blob/main/src/components/PricingList.jsx): `src/components/PricingList.jsx`
- [Page content data](https://github.com/divyansh200102/brainwave/blob/main/src/constants/index.js): `src/constants/index.js`
- [Hero visuals](https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Hero.jsx): `src/components/design/Hero.jsx`
- [Service visuals](https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Services.jsx): `src/components/design/Services.jsx`
- [Header visuals](https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Header.jsx): `src/components/design/Header.jsx`
- [Collaboration visuals](https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Collaboration.jsx): `src/components/design/Collaboration.jsx`
- [Benefits visuals](https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Benefits.jsx): `src/components/design/Benefits.jsx`
- [Pricing visuals](https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Pricing.jsx): `src/components/design/Pricing.jsx`
- [Roadmap visuals](https://github.com/divyansh200102/brainwave/blob/main/src/components/design/Roadmap.jsx): `src/components/design/Roadmap.jsx`

## Connections

- Landing page → Navigation: renders (evidence: `src/App.jsx`)
- Landing page → Hero: renders (evidence: `src/App.jsx`)
- Landing page → Benefits: renders (evidence: `src/App.jsx`)
- Landing page → Collaboration: renders (evidence: `src/App.jsx`)
- Landing page → AI services: renders (evidence: `src/App.jsx`)
- Landing page → Pricing: renders (evidence: `src/App.jsx`)
- Landing page → Roadmap: renders (evidence: `src/App.jsx`)
- Landing page → Footer: renders (evidence: `src/App.jsx`)
- Navigation → Page content data: reads navigation (evidence: `src/components/Header.jsx`)
- Navigation → Button: renders (evidence: `src/components/Header.jsx`)
- Navigation → Header visuals: renders (evidence: `src/components/Header.jsx`)
- Hero → Section layout: uses layout (evidence: `src/components/Hero.jsx`)
- Hero → Button: renders (evidence: `src/components/Hero.jsx`)
- Hero → Generating status: renders (evidence: `src/components/Hero.jsx`)
- Hero → Notification card: renders (evidence: `src/components/Hero.jsx`)
- Hero → Company logos: renders (evidence: `src/components/Hero.jsx`)
- Hero → Hero visuals: renders (evidence: `src/components/Hero.jsx`)
- Hero → Page content data: reads icons (evidence: `src/components/Hero.jsx`)
- Benefits → Section layout: uses layout (evidence: `src/components/Benefits.jsx`)
- Benefits → Section heading: renders (evidence: `src/components/Benefits.jsx`)
- Benefits → Page content data: reads benefits (evidence: `src/components/Benefits.jsx`)
- Benefits → Benefits visuals: renders (evidence: `src/components/Benefits.jsx`)
- Collaboration → Section layout: uses layout (evidence: `src/components/Collaboration.jsx`)
- Collaboration → Button: renders (evidence: `src/components/Collaboration.jsx`)
- Collaboration → Page content data: reads content (evidence: `src/components/Collaboration.jsx`)
- Collaboration → Collaboration visuals: renders (evidence: `src/components/Collaboration.jsx`)
- AI services → Section layout: uses layout (evidence: `src/components/Services.jsx`)
- AI services → Section heading: renders (evidence: `src/components/Services.jsx`)
- AI services → Generating status: renders (evidence: `src/components/Services.jsx`)
- AI services → Service visuals: renders (evidence: `src/components/Services.jsx`)
- AI services → Page content data: reads services (evidence: `src/components/Services.jsx`)
- Pricing → Section layout: uses layout (evidence: `src/components/Pricing.jsx`)
- Pricing → Section heading: renders (evidence: `src/components/Pricing.jsx`)
- Pricing → Plan details: renders (evidence: `src/components/Pricing.jsx`)
- Pricing → Pricing visuals: renders (evidence: `src/components/Pricing.jsx`)
- Roadmap → Section layout: uses layout (evidence: `src/components/Roadmap.jsx`)
- Roadmap → Section heading: renders (evidence: `src/components/Roadmap.jsx`)
- Roadmap → Tagline: renders (evidence: `src/components/Roadmap.jsx`)
- Roadmap → Button: renders (evidence: `src/components/Roadmap.jsx`)
- Roadmap → Page content data: reads roadmap (evidence: `src/components/Roadmap.jsx`)
- Roadmap → Roadmap visuals: renders (evidence: `src/components/Roadmap.jsx`)
- Section heading → Tagline: renders (evidence: `src/components/Heading.jsx`)
- Plan details → Button: renders (evidence: `src/components/PricingList.jsx`)
- Plan details → Page content data: reads plans (evidence: `src/components/PricingList.jsx`)
