# onecloud-frontend/landing-page architecture

> Architecture diagram of the GitHub repository onecloud-frontend/landing-page, 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/onecloud-frontend/landing-page
- Repository: https://github.com/onecloud-frontend/landing-page

## Overview

Onecloud is a standalone React landing page presenting an enterprise cloud platform, not the platform’s operational software. A visitor loads the page; the app composes navigation and ordered sections describing governance, modules, workflow, customer testimonials, FAQs, and conversion actions. Several sections render content from shared data modules, with shared TypeScript contracts. The excerpts show composition and selected data usage; other section internals are not fully sampled, so no additional interactions or backend behavior are inferred.

Main entry points: [`src/App.tsx`](https://github.com/onecloud-frontend/landing-page/blob/dev/src/App.tsx) (Page Composition), [`src/data/landingData.ts`](https://github.com/onecloud-frontend/landing-page/blob/dev/src/data/landingData.ts) (Landing Content Data), [`src/main.tsx`](https://github.com/onecloud-frontend/landing-page/blob/dev/src/main.tsx) (React Entry), [`src/components/landing/Navbar.tsx`](https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/Navbar.tsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Page Entry"]
  node_entry["React Entry<br/>[main.tsx]"]
  node_app["Page Composition<br/>[App.tsx]"]
end

subgraph group_presentation["Landing Sections"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_hero["Hero Section<br/>[HeroSection.tsx]"]
  node_why["Platform Benefits"]
  node_features["Module Features"]
  node_how["How It Works<br/>[HowItWorks.tsx]"]
  node_testimonials["Testimonials<br/>[Testimonials.tsx]"]
  node_faq["FAQ<br/>[FAQ.tsx]"]
  node_cta["Conversion CTA<br/>[CTASection.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_content["Landing Content"]
  node_landingdata["Landing Content Data<br/>[landingData.ts]"]
  node_benefitdata["Benefit Data"]
  node_contracts["Content Types<br/>[landing.types.ts]"]
end

node_visitor(("Visitor Browser"))

node_visitor -->|"loads page"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_why
node_app -->|"renders"| node_features
node_app -->|"renders"| node_how
node_app -->|"renders"| node_testimonials
node_app -->|"renders"| node_faq
node_app -->|"renders"| node_cta
node_app -->|"renders"| node_footer
node_navbar -->|"reads navigation"| node_landingdata
node_hero -->|"reads content"| node_landingdata
node_features -->|"reads modules"| node_landingdata
node_testimonials -->|"reads reviews"| node_landingdata
node_why -->|"reads benefits"| node_benefitdata
node_landingdata -->|"uses types"| node_contracts

click node_entry "https://github.com/onecloud-frontend/landing-page/blob/dev/src/main.tsx"
click node_app "https://github.com/onecloud-frontend/landing-page/blob/dev/src/App.tsx"
click node_navbar "https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/Navbar.tsx"
click node_hero "https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/HeroSection.tsx"
click node_why "https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/WhyEnterpriseCloud.tsx"
click node_features "https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/FeaturesByModule.tsx"
click node_how "https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/HowItWorks.tsx"
click node_testimonials "https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/Testimonials.tsx"
click node_faq "https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/FAQ.tsx"
click node_cta "https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/CTASection.tsx"
click node_footer "https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/Footer.tsx"
click node_landingdata "https://github.com/onecloud-frontend/landing-page/blob/dev/src/data/landingData.ts"
click node_benefitdata "https://github.com/onecloud-frontend/landing-page/blob/dev/src/data/whyEnterpriseCloudData.ts"
click node_contracts "https://github.com/onecloud-frontend/landing-page/blob/dev/src/types/landing.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_entry,node_app,node_visitor toneBlue
class node_navbar,node_hero,node_why,node_features,node_how,node_testimonials,node_faq,node_cta,node_footer toneAmber
class node_landingdata,node_benefitdata,node_contracts toneMint
```

## Components

### Page Entry

- [React Entry](https://github.com/onecloud-frontend/landing-page/blob/dev/src/main.tsx): `src/main.tsx`
- [Page Composition](https://github.com/onecloud-frontend/landing-page/blob/dev/src/App.tsx): `src/App.tsx`

### Landing Sections

- [Navigation](https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/Navbar.tsx): `src/components/landing/Navbar.tsx`
- [Hero Section](https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/HeroSection.tsx): `src/components/landing/HeroSection.tsx`
- [Platform Benefits](https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/WhyEnterpriseCloud.tsx): `src/components/landing/WhyEnterpriseCloud.tsx`
- [Module Features](https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/FeaturesByModule.tsx): `src/components/landing/FeaturesByModule.tsx`
- [How It Works](https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/HowItWorks.tsx): `src/components/landing/HowItWorks.tsx`
- [Testimonials](https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/Testimonials.tsx): `src/components/landing/Testimonials.tsx`
- [FAQ](https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/FAQ.tsx): `src/components/landing/FAQ.tsx`
- [Conversion CTA](https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/CTASection.tsx): `src/components/landing/CTASection.tsx`
- [Footer](https://github.com/onecloud-frontend/landing-page/blob/dev/src/components/landing/Footer.tsx): `src/components/landing/Footer.tsx`

### Landing Content

- [Landing Content Data](https://github.com/onecloud-frontend/landing-page/blob/dev/src/data/landingData.ts): `src/data/landingData.ts`
- [Benefit Data](https://github.com/onecloud-frontend/landing-page/blob/dev/src/data/whyEnterpriseCloudData.ts): `src/data/whyEnterpriseCloudData.ts`
- [Content Types](https://github.com/onecloud-frontend/landing-page/blob/dev/src/types/landing.types.ts): `src/types/landing.types.ts`

### Other components

- **Visitor Browser**

## Connections

- Visitor Browser → React Entry: loads page (evidence: `src/main.tsx`)
- React Entry → Page Composition: renders (evidence: `src/main.tsx`)
- Page Composition → Navigation: renders (evidence: `src/App.tsx`)
- Page Composition → Hero Section: renders (evidence: `src/App.tsx`)
- Page Composition → Platform Benefits: renders (evidence: `src/App.tsx`)
- Page Composition → Module Features: renders (evidence: `src/App.tsx`)
- Page Composition → How It Works: renders (evidence: `src/App.tsx`)
- Page Composition → Testimonials: renders (evidence: `src/App.tsx`)
- Page Composition → FAQ: renders (evidence: `src/App.tsx`)
- Page Composition → Conversion CTA: renders (evidence: `src/App.tsx`)
- Page Composition → Footer: renders (evidence: `src/App.tsx`)
- Navigation → Landing Content Data: reads navigation (evidence: `src/components/landing/Navbar.tsx`)
- Hero Section → Landing Content Data: reads content (evidence: `src/components/landing/HeroSection.tsx`)
- Module Features → Landing Content Data: reads modules (evidence: `src/components/landing/FeaturesByModule.tsx`)
- Testimonials → Landing Content Data: reads reviews (evidence: `src/components/landing/Testimonials.tsx`)
- Platform Benefits → Benefit Data: reads benefits (evidence: `src/components/landing/WhyEnterpriseCloud.tsx`)
- Landing Content Data → Content Types: uses types (evidence: `src/data/landingData.ts`)
