# kirill-talk/landing architecture

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

- Interactive diagram: https://gitdiagram.com/kirill-talk/landing
- Repository: https://github.com/kirill-talk/landing

## Overview

Aether is a Svelte landing page with inline content editing and publishing. The visitor flow mounts the page, loads its content, then renders the hero, stats, and feature sections; in edit mode, edits update shared content and can be published through the development save API or GitHub’s content API. README documents a further tokenomics/community/roadmap-style marketing capability, but the sampled App does not show those components wired into its rendered page. Edges are limited to relationships visible in excerpts or explicitly documented.

Main entry points: [`src/App.svelte`](https://github.com/kirill-talk/landing/blob/main/src/App.svelte) (Page orchestrator), [`src/components/Editable.svelte`](https://github.com/kirill-talk/landing/blob/main/src/components/Editable.svelte) (Inline editor), [`src/main.ts`](https://github.com/kirill-talk/landing/blob/main/src/main.ts) (Svelte entry), [`src/components/SectionHero.svelte`](https://github.com/kirill-talk/landing/blob/main/src/components/SectionHero.svelte) (Hero section)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Landing page"]
  node_mount["Svelte entry<br/>[main.ts]"]
  node_app["Page orchestrator<br/>[App.svelte]"]
  node_navbar["Navigation<br/>[Navbar.svelte]"]
end

subgraph group_editing["Visual editing"]
  node_editable["Inline editor<br/>[Editable.svelte]"]
end

subgraph group_marketing["Marketing content"]
  node_hero["Hero section<br/>[SectionHero.svelte]"]
  node_stats["Stats section"]
  node_features["Feature section"]
  node_footer["Footer<br/>[Footer.svelte]"]
  node_tokenomics["Tokenomics section<br/>[Tokenomics.svelte]"]
  node_community["Community section<br/>[Community.svelte]"]
  node_roadmap["Roadmap section<br/>[Roadmap.svelte]"]
  node_legacyhero["Alternate hero<br/>[Hero.svelte]"]
  node_legacyfeatures["Alternate features<br/>[Features.svelte]"]
  node_legacyfooter["Alternate footer<br/>[Footer.svelte]"]
  node_cta["CTA component<br/>[CTA.svelte]"]
  node_counter["Counter component<br/>[Counter.svelte]"]
end

subgraph group_persistence["Content persistence"]
  node_content["Page content<br/>[content.json]"]
  node_devsave["Dev save API<br/>[vite.config.ts]"]
  node_github["GitHub Contents API"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens page"| node_mount
node_mount -->|"mounts"| node_app
node_app -->|"fetches content"| node_content
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_stats
node_app -->|"renders"| node_features
node_app -->|"renders"| node_footer
node_hero -->|"uses editor"| node_editable
node_stats -->|"uses editor"| node_editable
node_features -->|"uses editor"| node_editable
node_app -->|"posts edits"| node_devsave
node_devsave -->|"writes content"| node_content
node_app -->|"updates file"| node_github

click node_mount "https://github.com/kirill-talk/landing/blob/main/src/main.ts"
click node_app "https://github.com/kirill-talk/landing/blob/main/src/App.svelte"
click node_navbar "https://github.com/kirill-talk/landing/blob/main/src/components/Navbar.svelte"
click node_hero "https://github.com/kirill-talk/landing/blob/main/src/components/SectionHero.svelte"
click node_stats "https://github.com/kirill-talk/landing/blob/main/src/components/SectionStats.svelte"
click node_features "https://github.com/kirill-talk/landing/blob/main/src/components/SectionFeatures.svelte"
click node_footer "https://github.com/kirill-talk/landing/blob/main/src/components/Footer.svelte"
click node_editable "https://github.com/kirill-talk/landing/blob/main/src/components/Editable.svelte"
click node_content "https://github.com/kirill-talk/landing/blob/main/public/content.json"
click node_devsave "https://github.com/kirill-talk/landing/blob/main/vite.config.ts"
click node_tokenomics "https://github.com/kirill-talk/landing/blob/main/src/lib/Tokenomics.svelte"
click node_community "https://github.com/kirill-talk/landing/blob/main/src/lib/Community.svelte"
click node_roadmap "https://github.com/kirill-talk/landing/blob/main/src/lib/Roadmap.svelte"
click node_legacyhero "https://github.com/kirill-talk/landing/blob/main/src/lib/Hero.svelte"
click node_legacyfeatures "https://github.com/kirill-talk/landing/blob/main/src/lib/Features.svelte"
click node_legacyfooter "https://github.com/kirill-talk/landing/blob/main/src/lib/Footer.svelte"
click node_cta "https://github.com/kirill-talk/landing/blob/main/src/lib/CTA.svelte"
click node_counter "https://github.com/kirill-talk/landing/blob/main/src/lib/Counter.svelte"

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_mount,node_app,node_navbar toneBlue
class node_editable toneAmber
class node_hero,node_stats,node_features,node_footer,node_tokenomics,node_community,node_roadmap,node_legacyhero,node_legacyfeatures,node_legacyfooter,node_cta,node_counter toneMint
class node_content,node_devsave,node_github toneRose
class node_visitor toneIndigo
```

## Components

### Landing page

- [Svelte entry](https://github.com/kirill-talk/landing/blob/main/src/main.ts): `src/main.ts`
- [Page orchestrator](https://github.com/kirill-talk/landing/blob/main/src/App.svelte): `src/App.svelte`
- [Navigation](https://github.com/kirill-talk/landing/blob/main/src/components/Navbar.svelte): `src/components/Navbar.svelte`

### Visual editing

- [Inline editor](https://github.com/kirill-talk/landing/blob/main/src/components/Editable.svelte): `src/components/Editable.svelte`

### Marketing content

- [Hero section](https://github.com/kirill-talk/landing/blob/main/src/components/SectionHero.svelte): `src/components/SectionHero.svelte`
- [Stats section](https://github.com/kirill-talk/landing/blob/main/src/components/SectionStats.svelte): `src/components/SectionStats.svelte`
- [Feature section](https://github.com/kirill-talk/landing/blob/main/src/components/SectionFeatures.svelte): `src/components/SectionFeatures.svelte`
- [Footer](https://github.com/kirill-talk/landing/blob/main/src/components/Footer.svelte): `src/components/Footer.svelte`
- [Tokenomics section](https://github.com/kirill-talk/landing/blob/main/src/lib/Tokenomics.svelte): `src/lib/Tokenomics.svelte`
- [Community section](https://github.com/kirill-talk/landing/blob/main/src/lib/Community.svelte): `src/lib/Community.svelte`
- [Roadmap section](https://github.com/kirill-talk/landing/blob/main/src/lib/Roadmap.svelte): `src/lib/Roadmap.svelte`
- [Alternate hero](https://github.com/kirill-talk/landing/blob/main/src/lib/Hero.svelte): `src/lib/Hero.svelte`
- [Alternate features](https://github.com/kirill-talk/landing/blob/main/src/lib/Features.svelte): `src/lib/Features.svelte`
- [Alternate footer](https://github.com/kirill-talk/landing/blob/main/src/lib/Footer.svelte): `src/lib/Footer.svelte`
- [CTA component](https://github.com/kirill-talk/landing/blob/main/src/lib/CTA.svelte): `src/lib/CTA.svelte`
- [Counter component](https://github.com/kirill-talk/landing/blob/main/src/lib/Counter.svelte): `src/lib/Counter.svelte`

### Content persistence

- [Page content](https://github.com/kirill-talk/landing/blob/main/public/content.json): `public/content.json`
- [Dev save API](https://github.com/kirill-talk/landing/blob/main/vite.config.ts): `vite.config.ts`
- **GitHub Contents API**

### Other components

- **Visitor**

## Connections

- Visitor → Svelte entry: opens page (evidence: `README.md`)
- Svelte entry → Page orchestrator: mounts (evidence: `src/main.ts`)
- Page orchestrator → Page content: fetches content (evidence: `src/App.svelte`)
- Page orchestrator → Navigation: renders (evidence: `src/App.svelte`)
- Page orchestrator → Hero section: renders (evidence: `src/App.svelte`)
- Page orchestrator → Stats section: renders (evidence: `src/App.svelte`)
- Page orchestrator → Feature section: renders (evidence: `src/App.svelte`)
- Page orchestrator → Footer: renders (evidence: `src/App.svelte`)
- Hero section → Inline editor: uses editor (evidence: `src/components/SectionHero.svelte`)
- Stats section → Inline editor: uses editor (evidence: `src/components/SectionStats.svelte`)
- Feature section → Inline editor: uses editor (evidence: `src/components/SectionFeatures.svelte`)
- Page orchestrator → Dev save API: posts edits (evidence: `README.md`)
- Dev save API → Page content: writes content (evidence: `vite.config.ts`)
- Page orchestrator → GitHub Contents API: updates file (evidence: `src/App.svelte`)
