# anaritadiogo/personal-website architecture

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

- Interactive diagram: https://gitdiagram.com/anaritadiogo/personal-website
- Repository: https://github.com/anaritadiogo/personal-website

## Overview

This repository is a personal portfolio website: visitors browse a landing page and distinct biography, photography, postcard, and project showcases. The graph preserves those documented content stages and the sampled interactive effects and folder-state components. The root layout’s composition and several component calls are visible in excerpts; unsampled page wiring is represented only where the README documents the site structure, and no storage or external service is shown.

Main entry points: [`src/app/layout.tsx`](https://github.com/anaritadiogo/personal-website/blob/main/src/app/layout.tsx) (Root layout), [`src/app/layout-client.tsx`](https://github.com/anaritadiogo/personal-website/blob/main/src/app/layout-client.tsx) (Client shell), [`src/context/FolderContext.tsx`](https://github.com/anaritadiogo/personal-website/blob/main/src/context/FolderContext.tsx) (Folder state), [`src/components/FolderSidebar.tsx`](https://github.com/anaritadiogo/personal-website/blob/main/src/components/FolderSidebar.tsx) (Folder sidebar)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio shell"]
  node_root["Root layout<br/>[layout.tsx]"]
  node_client_shell["Client shell<br/>[layout-client.tsx]"]
  node_navigation["Navigation<br/>[Navigation.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_landing["Landing page<br/>[page.tsx]"]
  node_about["Biography<br/>[page.tsx]"]
  node_photography["Photography gallery<br/>[page.tsx]"]
  node_postcards["Postcard collection<br/>[page.tsx]"]
  node_projects["Project showcase<br/>[page.tsx]"]
end

subgraph group_interaction["Interactive components"]
  node_folder_state["Folder state<br/>[FolderContext.tsx]"]
  node_folder_sidebar["Folder sidebar<br/>[FolderSidebar.tsx]"]
  node_click_ripple["Click ripple<br/>[ClickRipple.tsx]"]
  node_click_quantum["Click particles<br/>[ClickQuantum.tsx]"]
  node_click_test["Click demo<br/>[page.tsx]"]
  node_cursor_text["Cursor text effect"]
  node_mouse_position["Mouse position hook"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_root
node_root -->|"renders"| node_client_shell
node_root -->|"provides state"| node_folder_state
node_client_shell -->|"wraps content"| node_click_ripple
node_folder_sidebar -->|"reads and updates"| node_folder_state
node_click_test -->|"renders"| node_click_quantum
node_cursor_text -->|"reads position"| node_mouse_position
node_visitor -->|"browses"| node_landing
node_visitor -->|"browses"| node_about
node_visitor -->|"browses"| node_photography
node_visitor -->|"browses"| node_postcards
node_visitor -->|"browses"| node_projects

click node_root "https://github.com/anaritadiogo/personal-website/blob/main/src/app/layout.tsx"
click node_client_shell "https://github.com/anaritadiogo/personal-website/blob/main/src/app/layout-client.tsx"
click node_navigation "https://github.com/anaritadiogo/personal-website/blob/main/src/components/Navigation.tsx"
click node_landing "https://github.com/anaritadiogo/personal-website/blob/main/src/app/page.tsx"
click node_about "https://github.com/anaritadiogo/personal-website/blob/main/src/app/about/page.tsx"
click node_photography "https://github.com/anaritadiogo/personal-website/blob/main/src/app/photography/page.tsx"
click node_postcards "https://github.com/anaritadiogo/personal-website/blob/main/src/app/postcards/page.tsx"
click node_projects "https://github.com/anaritadiogo/personal-website/blob/main/src/app/projects/page.tsx"
click node_folder_state "https://github.com/anaritadiogo/personal-website/blob/main/src/context/FolderContext.tsx"
click node_folder_sidebar "https://github.com/anaritadiogo/personal-website/blob/main/src/components/FolderSidebar.tsx"
click node_click_ripple "https://github.com/anaritadiogo/personal-website/blob/main/src/components/ClickRipple.tsx"
click node_click_quantum "https://github.com/anaritadiogo/personal-website/blob/main/src/components/ClickQuantum.tsx"
click node_click_test "https://github.com/anaritadiogo/personal-website/blob/main/src/app/test-click/page.tsx"
click node_cursor_text "https://github.com/anaritadiogo/personal-website/blob/main/src/components/fancy/text/text-cursor-proximity.tsx"
click node_mouse_position "https://github.com/anaritadiogo/personal-website/blob/main/src/hooks/useMousePositionRef.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_root,node_client_shell,node_navigation toneBlue
class node_landing,node_about,node_photography,node_postcards,node_projects toneAmber
class node_folder_state,node_folder_sidebar,node_click_ripple,node_click_quantum,node_click_test,node_cursor_text,node_mouse_position toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio shell

- [Root layout](https://github.com/anaritadiogo/personal-website/blob/main/src/app/layout.tsx): `src/app/layout.tsx`
- [Client shell](https://github.com/anaritadiogo/personal-website/blob/main/src/app/layout-client.tsx): `src/app/layout-client.tsx`
- [Navigation](https://github.com/anaritadiogo/personal-website/blob/main/src/components/Navigation.tsx): `src/components/Navigation.tsx`

### Portfolio content

- [Landing page](https://github.com/anaritadiogo/personal-website/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Biography](https://github.com/anaritadiogo/personal-website/blob/main/src/app/about/page.tsx): `src/app/about/page.tsx`
- [Photography gallery](https://github.com/anaritadiogo/personal-website/blob/main/src/app/photography/page.tsx): `src/app/photography/page.tsx`
- [Postcard collection](https://github.com/anaritadiogo/personal-website/blob/main/src/app/postcards/page.tsx): `src/app/postcards/page.tsx`
- [Project showcase](https://github.com/anaritadiogo/personal-website/blob/main/src/app/projects/page.tsx): `src/app/projects/page.tsx`

### Interactive components

- [Folder state](https://github.com/anaritadiogo/personal-website/blob/main/src/context/FolderContext.tsx): `src/context/FolderContext.tsx`
- [Folder sidebar](https://github.com/anaritadiogo/personal-website/blob/main/src/components/FolderSidebar.tsx): `src/components/FolderSidebar.tsx`
- [Click ripple](https://github.com/anaritadiogo/personal-website/blob/main/src/components/ClickRipple.tsx): `src/components/ClickRipple.tsx`
- [Click particles](https://github.com/anaritadiogo/personal-website/blob/main/src/components/ClickQuantum.tsx): `src/components/ClickQuantum.tsx`
- [Click demo](https://github.com/anaritadiogo/personal-website/blob/main/src/app/test-click/page.tsx): `src/app/test-click/page.tsx`
- [Cursor text effect](https://github.com/anaritadiogo/personal-website/blob/main/src/components/fancy/text/text-cursor-proximity.tsx): `src/components/fancy/text/text-cursor-proximity.tsx`
- [Mouse position hook](https://github.com/anaritadiogo/personal-website/blob/main/src/hooks/useMousePositionRef.ts): `src/hooks/useMousePositionRef.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Root layout: opens site (evidence: `README.md`)
- Root layout → Client shell: renders (evidence: `src/app/layout.tsx`)
- Root layout → Folder state: provides state (evidence: `src/app/layout.tsx`)
- Client shell → Click ripple: wraps content (evidence: `src/app/layout-client.tsx`)
- Folder sidebar → Folder state: reads and updates (evidence: `src/components/FolderSidebar.tsx`)
- Click demo → Click particles: renders (evidence: `src/app/test-click/page.tsx`)
- Cursor text effect → Mouse position hook: reads position (evidence: `src/components/fancy/text/text-cursor-proximity.tsx`)
- Visitor → Landing page: browses (evidence: `README.md`)
- Visitor → Biography: browses (evidence: `README.md`)
- Visitor → Photography gallery: browses (evidence: `README.md`)
- Visitor → Postcard collection: browses (evidence: `README.md`)
- Visitor → Project showcase: browses (evidence: `README.md`)
