# kinchingip/kcip-personal-website architecture

> Architecture diagram of the GitHub repository kinchingip/kcip-personal-website, 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/kinchingip/kcip-personal-website
- Repository: https://github.com/kinchingip/kcip-personal-website

## Overview

This is a personal portfolio site combining a narrative home page, research and self-introduction, photography galleries, and blog posts. Visitors read the home-page scroll or open dedicated photography and blog routes; content collections supply the series and posts. Sampled React components add animated presentation, voice annotations, and interactive dice checks. The README documents the main routes and content workflow; several page and component implementations were not sampled, so their relationships are shown only where documented.

Main entry points: [`src/pages/index.astro`](https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/index.astro) (Narrative home), [`src/layouts/Layout.astro`](https://github.com/kinchingip/kcip-personal-website/blob/main/src/layouts/Layout.astro) (Shared page shell), [`src/components/ResearchThreads.tsx`](https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/ResearchThreads.tsx) (Research threads), [`src/pages/photography/index.astro`](https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/photography/index.astro) (Series overview)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site experience"]
  node_home["Narrative home<br/>[index.astro]"]
  node_layout["Shared page shell<br/>[Layout.astro]"]
  node_about["About section<br/>[About.astro]"]
  node_featured["Featured work<br/>[FeaturedWork.astro]"]
  node_contact["Contact section<br/>[Contact.astro]"]
  node_research["Research page<br/>[research.astro]"]
  node_research_threads["Research threads"]
  node_hero["Hero section<br/>[Hero.tsx]"]
end

subgraph group_photo["Photography portfolio"]
  node_photo_index["Series overview<br/>[index.astro]"]
  node_photo_series["Series gallery<br/>[&#91;series&#93;.astro]"]
  node_photo_content["Series content"]
  node_photo_assets["Optimized photos"]
end

subgraph group_writing["Writing"]
  node_blog_index["Post listing<br/>[index.astro]"]
  node_blog_post["Blog post<br/>[&#91;slug&#93;.astro]"]
  node_blog_content["Blog content"]
  node_content_schema["Content schemas<br/>[content.config.ts]"]
end

subgraph group_interactive["Interactive elements"]
  node_dice["Skill check UI<br/>[DiceCheck.tsx]"]
  node_skill_data["Skill check outcomes<br/>[skillChecks.ts]"]
  node_voice_word["Voice annotations<br/>[VoiceWord.tsx]"]
  node_voice_data["Voice metadata<br/>[voices.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -.->|"opens"| node_research
node_visitor -->|"opens"| node_photo_index
node_visitor -->|"opens"| node_photo_series
node_visitor -->|"opens"| node_blog_index
node_visitor -->|"opens"| node_blog_post
node_home -->|"uses shell"| node_layout
node_home -->|"presents"| node_about
node_home -->|"teases work"| node_featured
node_home -->|"presents"| node_contact
node_home -.->|"opens with"| node_hero
node_home -.->|"shows research"| node_research_threads
node_home -->|"teases recent posts"| node_blog_index
node_research -.->|"uses shell"| node_layout
node_research -.->|"presents"| node_research_threads
node_photo_index -->|"uses shell"| node_layout
node_photo_index -->|"lists series"| node_photo_content
node_photo_index -->|"links to"| node_photo_series
node_photo_series -->|"uses shell"| node_layout
node_photo_series -->|"loads series"| node_photo_content
node_photo_content -->|"references images"| node_photo_assets
node_blog_index -->|"uses shell"| node_layout
node_blog_index -->|"lists posts"| node_blog_content
node_blog_post -->|"uses shell"| node_layout
node_blog_post -.->|"loads post"| node_blog_content
node_content_schema -->|"defines collection"| node_blog_content
node_content_schema -->|"defines collection"| node_photo_content
node_hero -->|"renders"| node_dice
node_hero -->|"uses check"| node_skill_data
node_research_threads -->|"renders"| node_dice
node_research_threads -->|"uses checks"| node_skill_data
node_research_threads -->|"renders"| node_voice_word
node_dice -.->|"accepts outcomes"| node_skill_data
node_voice_word -->|"reads metadata"| node_voice_data

click node_home "https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/index.astro"
click node_layout "https://github.com/kinchingip/kcip-personal-website/blob/main/src/layouts/Layout.astro"
click node_about "https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/About.astro"
click node_featured "https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/FeaturedWork.astro"
click node_contact "https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/Contact.astro"
click node_research "https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/research.astro"
click node_research_threads "https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/ResearchThreads.tsx"
click node_photo_index "https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/photography/index.astro"
click node_photo_series "https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/photography/%5Bseries%5D.astro"
click node_photo_content "https://github.com/kinchingip/kcip-personal-website/tree/main/src/content/photography"
click node_photo_assets "https://github.com/kinchingip/kcip-personal-website/tree/main/src/assets/photography"
click node_blog_index "https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/blog/index.astro"
click node_blog_post "https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/blog/%5Bslug%5D.astro"
click node_blog_content "https://github.com/kinchingip/kcip-personal-website/tree/main/src/content/blog"
click node_content_schema "https://github.com/kinchingip/kcip-personal-website/blob/main/src/content.config.ts"
click node_dice "https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/DiceCheck.tsx"
click node_skill_data "https://github.com/kinchingip/kcip-personal-website/blob/main/src/lib/skillChecks.ts"
click node_voice_word "https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/VoiceWord.tsx"
click node_voice_data "https://github.com/kinchingip/kcip-personal-website/blob/main/src/lib/voices.ts"
click node_hero "https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/Hero.tsx"

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,node_layout,node_about,node_featured,node_contact,node_research,node_research_threads,node_hero toneBlue
class node_photo_index,node_photo_series,node_photo_content,node_photo_assets toneAmber
class node_blog_index,node_blog_post,node_blog_content,node_content_schema toneMint
class node_dice,node_skill_data,node_voice_word,node_voice_data toneRose
class node_visitor toneIndigo
```

## Components

### Site experience

- [Narrative home](https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [Shared page shell](https://github.com/kinchingip/kcip-personal-website/blob/main/src/layouts/Layout.astro): `src/layouts/Layout.astro`
- [About section](https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/About.astro): `src/components/About.astro`
- [Featured work](https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/FeaturedWork.astro): `src/components/FeaturedWork.astro`
- [Contact section](https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/Contact.astro): `src/components/Contact.astro`
- [Research page](https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/research.astro): `src/pages/research.astro`
- [Research threads](https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/ResearchThreads.tsx): `src/components/ResearchThreads.tsx`
- [Hero section](https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`

### Photography portfolio

- [Series overview](https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/photography/index.astro): `src/pages/photography/index.astro`
- [Series gallery](https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/photography/%5Bseries%5D.astro): `src/pages/photography/[series].astro`
- [Series content](https://github.com/kinchingip/kcip-personal-website/tree/main/src/content/photography): `src/content/photography`
- [Optimized photos](https://github.com/kinchingip/kcip-personal-website/tree/main/src/assets/photography): `src/assets/photography`

### Writing

- [Post listing](https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/blog/index.astro): `src/pages/blog/index.astro`
- [Blog post](https://github.com/kinchingip/kcip-personal-website/blob/main/src/pages/blog/%5Bslug%5D.astro): `src/pages/blog/[slug].astro`
- [Blog content](https://github.com/kinchingip/kcip-personal-website/tree/main/src/content/blog): `src/content/blog`
- [Content schemas](https://github.com/kinchingip/kcip-personal-website/blob/main/src/content.config.ts): `src/content.config.ts`

### Interactive elements

- [Skill check UI](https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/DiceCheck.tsx): `src/components/DiceCheck.tsx`
- [Skill check outcomes](https://github.com/kinchingip/kcip-personal-website/blob/main/src/lib/skillChecks.ts): `src/lib/skillChecks.ts`
- [Voice annotations](https://github.com/kinchingip/kcip-personal-website/blob/main/src/components/VoiceWord.tsx): `src/components/VoiceWord.tsx`
- [Voice metadata](https://github.com/kinchingip/kcip-personal-website/blob/main/src/lib/voices.ts): `src/lib/voices.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Narrative home: opens (evidence: `README.md`)
- Visitor → Research page: opens
- Visitor → Series overview: opens (evidence: `README.md`)
- Visitor → Series gallery: opens (evidence: `README.md`)
- Visitor → Post listing: opens (evidence: `README.md`)
- Visitor → Blog post: opens (evidence: `README.md`)
- Narrative home → Shared page shell: uses shell (evidence: `README.md`)
- Narrative home → About section: presents (evidence: `README.md`)
- Narrative home → Featured work: teases work (evidence: `README.md`)
- Narrative home → Contact section: presents (evidence: `README.md`)
- Narrative home → Hero section: opens with
- Narrative home → Research threads: shows research
- Narrative home → Post listing: teases recent posts (evidence: `README.md`)
- Research page → Shared page shell: uses shell
- Research page → Research threads: presents
- Series overview → Shared page shell: uses shell (evidence: `README.md`)
- Series overview → Series content: lists series (evidence: `README.md`)
- Series overview → Series gallery: links to (evidence: `README.md`)
- Series gallery → Shared page shell: uses shell (evidence: `README.md`)
- Series gallery → Series content: loads series (evidence: `README.md`)
- Series content → Optimized photos: references images (evidence: `README.md`)
- Post listing → Shared page shell: uses shell (evidence: `README.md`)
- Post listing → Blog content: lists posts (evidence: `README.md`)
- Blog post → Shared page shell: uses shell (evidence: `README.md`)
- Blog post → Blog content: loads post
- Content schemas → Blog content: defines collection (evidence: `src/content.config.ts`)
- Content schemas → Series content: defines collection (evidence: `src/content.config.ts`)
- Hero section → Skill check UI: renders (evidence: `src/components/Hero.tsx`)
- Hero section → Skill check outcomes: uses check (evidence: `src/components/Hero.tsx`)
- Research threads → Skill check UI: renders (evidence: `src/components/ResearchThreads.tsx`)
- Research threads → Skill check outcomes: uses checks (evidence: `src/components/ResearchThreads.tsx`)
- Research threads → Voice annotations: renders (evidence: `src/components/ResearchThreads.tsx`)
- Skill check UI → Skill check outcomes: accepts outcomes
- Voice annotations → Voice metadata: reads metadata (evidence: `src/components/VoiceWord.tsx`)
