# rupesh91206/mindflow architecture

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

- Interactive diagram: https://gitdiagram.com/rupesh91206/mindflow
- Repository: https://github.com/rupesh91206/mindflow

## Overview

Mindflow is represented here as a React marketing site, not as an implemented focus-management product. Its visitor workflow is to enter the landing page, browse product claims and supporting sections, then reach pricing or calls to action. The site documents time-blocking, an AI companion, focus analytics, flow zones, team focus, and integrations, but the supplied source does not show those capabilities running. Backend bindings are generated and appear empty; no connection to the landing page is evidenced.

Main entry points: [`src/frontend/src/pages/LandingPage.tsx`](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/pages/LandingPage.tsx) (Landing page), [`src/frontend/src/App.tsx`](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/App.tsx) (App shell), [`src/frontend/src/main.tsx`](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/main.tsx) (Frontend bootstrap), [`src/frontend/src/components/layout/Header.tsx`](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/layout/Header.tsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Site shell"]
  node_bootstrap["Frontend bootstrap<br/>[main.tsx]"]
  node_app["App shell<br/>[App.tsx]"]
  node_header["Navigation<br/>[Header.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_story["Product narrative"]
  node_landing["Landing page<br/>[LandingPage.tsx]"]
  node_hero["Hero pitch<br/>[HeroSection.tsx]"]
  node_process["How it works"]
  node_features["Feature claims"]
  node_integration["Integrations"]
  node_evidence["Metrics and trust<br/>[MetricsSection.tsx]"]
  node_comparison["Comparison"]
  node_testimonials["Testimonials"]
  node_pricing["Pricing<br/>[PricingSection.tsx]"]
  node_faq["FAQ<br/>[FAQSection.tsx]"]
  node_cta["Call to action"]
end

subgraph group_content["Site content"]
  node_contentdata["Marketing content<br/>[content.ts]"]
end

subgraph group_backend["Backend bindings"]
  node_backendclient["Actor client<br/>[backend.ts]"]
  node_idl["Candid service definition<br/>[backend.did.js]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens site"| node_bootstrap
node_bootstrap -->|"renders"| node_app
node_app -->|"renders"| node_header
node_app -->|"renders"| node_landing
node_app -->|"renders"| node_footer
node_landing -->|"renders"| node_hero
node_landing -->|"renders"| node_process
node_landing -->|"renders"| node_features
node_landing -->|"renders"| node_integration
node_landing -->|"renders"| node_evidence
node_landing -->|"renders"| node_comparison
node_landing -->|"renders"| node_testimonials
node_landing -->|"renders"| node_pricing
node_landing -->|"renders"| node_faq
node_landing -->|"renders"| node_cta
node_header -->|"reads links"| node_contentdata
node_hero -->|"reads copy"| node_contentdata
node_backendclient -->|"uses definition"| node_idl

click node_bootstrap "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/main.tsx"
click node_app "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/App.tsx"
click node_header "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/layout/Header.tsx"
click node_landing "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/pages/LandingPage.tsx"
click node_hero "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/HeroSection.tsx"
click node_process "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/HowItWorksSection.tsx"
click node_features "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/FeaturesSection.tsx"
click node_integration "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/IntegrationsSection.tsx"
click node_evidence "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/MetricsSection.tsx"
click node_comparison "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/ComparisonSection.tsx"
click node_testimonials "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/TestimonialsSection.tsx"
click node_pricing "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/PricingSection.tsx"
click node_faq "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/FAQSection.tsx"
click node_cta "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/CTABannerSection.tsx"
click node_footer "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/layout/Footer.tsx"
click node_contentdata "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/data/content.ts"
click node_backendclient "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/backend.ts"
click node_idl "https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/declarations/backend.did.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_bootstrap,node_app,node_header,node_footer toneBlue
class node_landing,node_hero,node_process,node_features,node_integration,node_evidence,node_comparison,node_testimonials,node_pricing,node_faq,node_cta toneAmber
class node_contentdata toneMint
class node_backendclient,node_idl toneRose
class node_visitor toneIndigo
```

## Components

### Site shell

- [Frontend bootstrap](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/main.tsx): `src/frontend/src/main.tsx`
- [App shell](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/App.tsx): `src/frontend/src/App.tsx`
- [Navigation](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/layout/Header.tsx): `src/frontend/src/components/layout/Header.tsx`
- [Footer](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/layout/Footer.tsx): `src/frontend/src/components/layout/Footer.tsx`

### Product narrative

- [Landing page](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/pages/LandingPage.tsx): `src/frontend/src/pages/LandingPage.tsx`
- [Hero pitch](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/HeroSection.tsx): `src/frontend/src/components/sections/HeroSection.tsx`
- [How it works](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/HowItWorksSection.tsx): `src/frontend/src/components/sections/HowItWorksSection.tsx`
- [Feature claims](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/FeaturesSection.tsx): `src/frontend/src/components/sections/FeaturesSection.tsx`
- [Integrations](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/IntegrationsSection.tsx): `src/frontend/src/components/sections/IntegrationsSection.tsx`
- [Metrics and trust](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/MetricsSection.tsx): `src/frontend/src/components/sections/MetricsSection.tsx`
- [Comparison](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/ComparisonSection.tsx): `src/frontend/src/components/sections/ComparisonSection.tsx`
- [Testimonials](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/TestimonialsSection.tsx): `src/frontend/src/components/sections/TestimonialsSection.tsx`
- [Pricing](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/PricingSection.tsx): `src/frontend/src/components/sections/PricingSection.tsx`
- [FAQ](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/FAQSection.tsx): `src/frontend/src/components/sections/FAQSection.tsx`
- [Call to action](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/components/sections/CTABannerSection.tsx): `src/frontend/src/components/sections/CTABannerSection.tsx`

### Site content

- [Marketing content](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/data/content.ts): `src/frontend/src/data/content.ts`

### Backend bindings

- [Actor client](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/backend.ts): `src/frontend/src/backend.ts`
- [Candid service definition](https://github.com/rupesh91206/mindflow/blob/main/src/frontend/src/declarations/backend.did.js): `src/frontend/src/declarations/backend.did.js`

### Other components

- **Site visitor**

## Connections

- Site visitor → Frontend bootstrap: opens site
- Frontend bootstrap → App shell: renders (evidence: `src/frontend/src/main.tsx`)
- App shell → Navigation: renders (evidence: `src/frontend/src/App.tsx`)
- App shell → Landing page: renders (evidence: `src/frontend/src/App.tsx`)
- App shell → Footer: renders (evidence: `src/frontend/src/App.tsx`)
- Landing page → Hero pitch: renders (evidence: `src/frontend/src/pages/LandingPage.tsx`)
- Landing page → How it works: renders (evidence: `src/frontend/src/pages/LandingPage.tsx`)
- Landing page → Feature claims: renders (evidence: `src/frontend/src/pages/LandingPage.tsx`)
- Landing page → Integrations: renders (evidence: `src/frontend/src/pages/LandingPage.tsx`)
- Landing page → Metrics and trust: renders (evidence: `src/frontend/src/pages/LandingPage.tsx`)
- Landing page → Comparison: renders (evidence: `src/frontend/src/pages/LandingPage.tsx`)
- Landing page → Testimonials: renders (evidence: `src/frontend/src/pages/LandingPage.tsx`)
- Landing page → Pricing: renders (evidence: `src/frontend/src/pages/LandingPage.tsx`)
- Landing page → FAQ: renders (evidence: `src/frontend/src/pages/LandingPage.tsx`)
- Landing page → Call to action: renders (evidence: `src/frontend/src/pages/LandingPage.tsx`)
- Navigation → Marketing content: reads links (evidence: `src/frontend/src/components/layout/Header.tsx`)
- Hero pitch → Marketing content: reads copy (evidence: `src/frontend/src/components/sections/HeroSection.tsx`)
- Actor client → Candid service definition: uses definition (evidence: `src/frontend/src/backend.ts`)
