# quocchienphung/logio architecture

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

- Interactive diagram: https://gitdiagram.com/quocchienphung/logio
- Repository: https://github.com/quocchienphung/logio

## Overview

This repository is a Next.js recreation of Stripe’s public marketing site, not Stripe’s payment-processing backend. Visitors enter through the homepage or product routes and browse product and company marketing pages. The homepage assembles shared navigation, content sections, and footer; product routes render corresponding product pages, with Data Pipeline’s page composition shown directly in the sampled source. The tree and source index establish additional product-page capabilities, but their internal wiring was not sampled, so those relationships are not expanded here.

Main entry points: [`src/app/page.tsx`](https://github.com/quocchienphung/logio/blob/main/src/app/page.tsx) (Homepage route), [`src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/DataPipelinePage.tsx`](https://github.com/quocchienphung/logio/blob/main/src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/DataPipelinePage.tsx) (Data Pipeline page), [`src/app/(v1)/data-pipeline/page.tsx`](https://github.com/quocchienphung/logio/blob/main/src/app/(v1)/data-pipeline/page.tsx) (Product routes), [`src/components/stripe/Stats/Stats.tsx`](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Stats/Stats.tsx) (Company statistics)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Site entry"]
  node_home_route["Homepage route<br/>[page.tsx]"]
  node_product_routes["Product routes<br/>[page.tsx]"]
end

subgraph group_marketing["Homepage content"]
  node_home_hero["Homepage hero<br/>[Hero.tsx]"]
  node_solutions["Solutions<br/>[Solutions.tsx]"]
  node_query_box["AI query box<br/>[QueryBox.tsx]"]
  node_sessions["Sessions banner<br/>[SessionsBanner.tsx]"]
  node_stats["Company statistics<br/>[Stats.tsx]"]
  node_business_sizes["Business sizes<br/>[BusinessSizes.tsx]"]
  node_developers["Developer content<br/>[Developers.tsx]"]
  node_news["News<br/>[News.tsx]"]
  node_home_cta["Call to action<br/>[Cta.tsx]"]
end

subgraph group_products["Product pages"]
  node_data_pipeline["Data Pipeline page"]
  node_other_products["Other product pages"]
  node_data_sections["Data Pipeline sections"]
  node_sigma_feature["Sigma integration feature"]
end

subgraph group_shared["Shared site UI"]
  node_navigation["Navigation<br/>[Navigation.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_runtime["Interactive runtime"]
  node_v1_runtime["V1 page runtime<br/>[V1Runtime.tsx]"]
  node_dom_graphics["DOM graphics runtime"]
  node_dataviz["Data visualization controller"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens"| node_home_route
node_visitor -->|"opens"| node_product_routes
node_home_route -->|"renders"| node_home_hero
node_home_route -->|"renders"| node_solutions
node_home_route -->|"renders"| node_query_box
node_home_route -->|"renders"| node_sessions
node_home_route -->|"renders"| node_stats
node_home_route -->|"renders"| node_business_sizes
node_home_route -->|"renders"| node_developers
node_home_route -->|"renders"| node_news
node_home_route -->|"renders"| node_home_cta
node_home_route -->|"renders"| node_navigation
node_home_route -->|"renders"| node_footer
node_home_route -->|"renders"| node_dom_graphics
node_product_routes -->|"renders"| node_data_pipeline
node_product_routes -.->|"routes to"| node_other_products
node_data_pipeline -->|"renders"| node_navigation
node_data_pipeline -->|"renders"| node_footer
node_data_pipeline -->|"renders"| node_data_sections
node_data_pipeline -->|"renders"| node_v1_runtime
node_data_sections -->|"includes"| node_sigma_feature
node_stats -.->|"uses"| node_dataviz

click node_home_route "https://github.com/quocchienphung/logio/blob/main/src/app/page.tsx"
click node_product_routes "https://github.com/quocchienphung/logio/blob/main/src/app/(v1)/data-pipeline/page.tsx"
click node_home_hero "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Hero/Hero.tsx"
click node_solutions "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Solutions/Solutions.tsx"
click node_query_box "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/QueryBox/QueryBox.tsx"
click node_sessions "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Sessions/SessionsBanner.tsx"
click node_stats "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Stats/Stats.tsx"
click node_business_sizes "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Business/BusinessSizes.tsx"
click node_developers "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Developers/Developers.tsx"
click node_news "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/News/News.tsx"
click node_home_cta "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Cta/Cta.tsx"
click node_data_pipeline "https://github.com/quocchienphung/logio/blob/main/src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/DataPipelinePage.tsx"
click node_other_products "https://github.com/quocchienphung/logio/tree/main/src/components/sites/stripe-com-9ababc9a"
click node_navigation "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Navigation/Navigation.tsx"
click node_footer "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Footer/Footer.tsx"
click node_data_sections "https://github.com/quocchienphung/logio/blob/main/src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/sections/S00ProductHeroSection.tsx"
click node_sigma_feature "https://github.com/quocchienphung/logio/blob/main/src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/sections/S03DataPipelineIncludesAccess.tsx"
click node_v1_runtime "https://github.com/quocchienphung/logio/blob/main/src/components/sites/stripe-com-9ababc9a/v1/V1Runtime.tsx"
click node_dom_graphics "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/DomGraphicsRuntime.tsx"
click node_dataviz "https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Stats/dataviz/DataVizController.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_home_route,node_product_routes toneBlue
class node_home_hero,node_solutions,node_query_box,node_sessions,node_stats,node_business_sizes,node_developers,node_news,node_home_cta toneAmber
class node_data_pipeline,node_other_products,node_data_sections,node_sigma_feature toneMint
class node_navigation,node_footer toneRose
class node_v1_runtime,node_dom_graphics,node_dataviz,node_visitor toneIndigo
```

## Components

### Site entry

- [Homepage route](https://github.com/quocchienphung/logio/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Product routes](https://github.com/quocchienphung/logio/blob/main/src/app/(v1)/data-pipeline/page.tsx): `src/app/(v1)/data-pipeline/page.tsx`

### Homepage content

- [Homepage hero](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Hero/Hero.tsx): `src/components/stripe/Hero/Hero.tsx`
- [Solutions](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Solutions/Solutions.tsx): `src/components/stripe/Solutions/Solutions.tsx`
- [AI query box](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/QueryBox/QueryBox.tsx): `src/components/stripe/QueryBox/QueryBox.tsx`
- [Sessions banner](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Sessions/SessionsBanner.tsx): `src/components/stripe/Sessions/SessionsBanner.tsx`
- [Company statistics](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Stats/Stats.tsx): `src/components/stripe/Stats/Stats.tsx`
- [Business sizes](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Business/BusinessSizes.tsx): `src/components/stripe/Business/BusinessSizes.tsx`
- [Developer content](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Developers/Developers.tsx): `src/components/stripe/Developers/Developers.tsx`
- [News](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/News/News.tsx): `src/components/stripe/News/News.tsx`
- [Call to action](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Cta/Cta.tsx): `src/components/stripe/Cta/Cta.tsx`

### Product pages

- [Data Pipeline page](https://github.com/quocchienphung/logio/blob/main/src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/DataPipelinePage.tsx): `src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/DataPipelinePage.tsx`
- [Other product pages](https://github.com/quocchienphung/logio/tree/main/src/components/sites/stripe-com-9ababc9a): `src/components/sites/stripe-com-9ababc9a`
- [Data Pipeline sections](https://github.com/quocchienphung/logio/blob/main/src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/sections/S00ProductHeroSection.tsx): `src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/sections/S00ProductHeroSection.tsx`
- [Sigma integration feature](https://github.com/quocchienphung/logio/blob/main/src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/sections/S03DataPipelineIncludesAccess.tsx): `src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/sections/S03DataPipelineIncludesAccess.tsx`

### Shared site UI

- [Navigation](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Navigation/Navigation.tsx): `src/components/stripe/Navigation/Navigation.tsx`
- [Footer](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Footer/Footer.tsx): `src/components/stripe/Footer/Footer.tsx`

### Interactive runtime

- [V1 page runtime](https://github.com/quocchienphung/logio/blob/main/src/components/sites/stripe-com-9ababc9a/v1/V1Runtime.tsx): `src/components/sites/stripe-com-9ababc9a/v1/V1Runtime.tsx`
- [DOM graphics runtime](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/DomGraphicsRuntime.tsx): `src/components/stripe/DomGraphicsRuntime.tsx`
- [Data visualization controller](https://github.com/quocchienphung/logio/blob/main/src/components/stripe/Stats/dataviz/DataVizController.ts): `src/components/stripe/Stats/dataviz/DataVizController.ts`

### Other components

- **Site visitor**

## Connections

- Site visitor → Homepage route: opens
- Site visitor → Product routes: opens
- Homepage route → Homepage hero: renders (evidence: `src/app/page.tsx`)
- Homepage route → Solutions: renders (evidence: `src/app/page.tsx`)
- Homepage route → AI query box: renders (evidence: `src/app/page.tsx`)
- Homepage route → Sessions banner: renders (evidence: `src/app/page.tsx`)
- Homepage route → Company statistics: renders (evidence: `src/app/page.tsx`)
- Homepage route → Business sizes: renders (evidence: `src/app/page.tsx`)
- Homepage route → Developer content: renders (evidence: `src/app/page.tsx`)
- Homepage route → News: renders (evidence: `src/app/page.tsx`)
- Homepage route → Call to action: renders (evidence: `src/app/page.tsx`)
- Homepage route → Navigation: renders (evidence: `src/app/page.tsx`)
- Homepage route → Footer: renders (evidence: `src/app/page.tsx`)
- Homepage route → DOM graphics runtime: renders (evidence: `src/app/page.tsx`)
- Product routes → Data Pipeline page: renders (evidence: `src/app/(v1)/data-pipeline/page.tsx`)
- Product routes → Other product pages: routes to (evidence: `src/app/(v1)/data-pipeline/page.tsx`)
- Data Pipeline page → Navigation: renders (evidence: `src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/DataPipelinePage.tsx`)
- Data Pipeline page → Footer: renders (evidence: `src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/DataPipelinePage.tsx`)
- Data Pipeline page → Data Pipeline sections: renders (evidence: `src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/DataPipelinePage.tsx`)
- Data Pipeline page → V1 page runtime: renders (evidence: `src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/DataPipelinePage.tsx`)
- Data Pipeline sections → Sigma integration feature: includes (evidence: `src/components/sites/stripe-com-9ababc9a/data-pipeline-3adcc219/DataPipelinePage.tsx`)
- Company statistics → Data visualization controller: uses
