# llorente14/mipotoforio architecture

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

- Interactive diagram: https://gitdiagram.com/llorente14/mipotoforio
- Repository: https://github.com/llorente14/mipotoforio

## Overview

MiPotoforio is a personal portfolio site. Visitors enter through the animated landing page, explore profile and featured work, then open project or certificate listings and detail pages; the command palette provides cross-site search. Other major capabilities include the sky theme, 3D scenes with still-image fallbacks, and GitHub activity. The graph combines README-documented capabilities with sampled implementation links; several page and presentation components were not sampled, so their internal call relationships are not asserted.

Main entry points: [`src/pages/projects/index.astro`](https://github.com/llorente14/mipotoforio/blob/main/src/pages/projects/index.astro) (Project listings), [`src/components/ModelSlot.tsx`](https://github.com/llorente14/mipotoforio/blob/main/src/components/ModelSlot.tsx) (3D model slot), [`src/pages/index.astro`](https://github.com/llorente14/mipotoforio/blob/main/src/pages/index.astro) (Landing page), [`src/components/CommandPalette.tsx`](https://github.com/llorente14/mipotoforio/blob/main/src/components/CommandPalette.tsx) (Command palette)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio experience"]
  node_landing["Landing page<br/>[index.astro]"]
  node_layout["Shared layout<br/>[BaseLayout.astro]"]
  node_hero["Hero transition<br/>[HeroSection.astro]"]
  node_navbar["Navigation and theme<br/>[Navbar.astro]"]
  node_sections["Profile sections<br/>[AboutSection.astro]"]
end

subgraph group_content["Portfolio content"]
  node_projects["Project listings<br/>[index.astro]"]
  node_projectdetail["Project details<br/>[&#91;slug&#93;.astro]"]
  node_projectgallery["Project gallery"]
  node_certificates["Certificate listings<br/>[certificates.astro]"]
  node_contentdata["Typed content<br/>[content.config.ts]"]
end

subgraph group_visuals["Visual storytelling"]
  node_modelslot["3D model slot<br/>[ModelSlot.tsx]"]
  node_capability["Device capability"]
  node_firstinput["First-input gate<br/>[first-input.ts]"]
  node_modelscene["3D scene renderer<br/>[ModelScene.tsx]"]
  node_cardprogress["Card progress state<br/>[card-progress.ts]"]
  node_sakura["Sakura animation"]
  node_kaito["Kaito model generator<br/>[kaito.py]"]
  node_toon["Model and render helpers<br/>[toon.py]"]
  node_othermodels["Building and pagoda models"]
end

subgraph group_activity["Search and activity"]
  node_palette["Command palette<br/>[CommandPalette.tsx]"]
  node_githubsection["GitHub activity"]
  node_githubdata["Contribution fetcher"]
end

node_visitor(("Visitor"))
node_github(("GitHub"))

node_visitor -->|"opens"| node_landing
node_landing -->|"presents"| node_hero
node_landing -->|"reveals"| node_sections
node_visitor -->|"switches theme"| node_navbar
node_visitor -->|"browses"| node_projects
node_projects -->|"opens details"| node_projectdetail
node_projectdetail -->|"shows gallery"| node_projectgallery
node_visitor -->|"browses"| node_certificates
node_contentdata -->|"supplies content"| node_projects
node_contentdata -->|"supplies content"| node_certificates
node_visitor -->|"searches"| node_palette
node_palette -->|"finds projects"| node_projects
node_palette -->|"finds certificates"| node_certificates
node_githubsection -.->|"uses fetcher"| node_githubdata
node_githubdata -->|"fetches contributions"| node_github
node_modelslot -->|"checks device"| node_capability
node_modelslot -->|"waits for input"| node_firstinput
node_modelslot -->|"loads scene"| node_modelscene
node_modelscene -->|"reads progress"| node_cardprogress
node_sakura -->|"checks device"| node_capability
node_kaito -->|"uses helpers"| node_toon
node_othermodels -.->|"uses helpers"| node_toon

click node_landing "https://github.com/llorente14/mipotoforio/blob/main/src/pages/index.astro"
click node_layout "https://github.com/llorente14/mipotoforio/blob/main/src/layouts/BaseLayout.astro"
click node_hero "https://github.com/llorente14/mipotoforio/blob/main/src/components/HeroSection.astro"
click node_navbar "https://github.com/llorente14/mipotoforio/blob/main/src/components/Navbar.astro"
click node_sections "https://github.com/llorente14/mipotoforio/blob/main/src/components/AboutSection.astro"
click node_projects "https://github.com/llorente14/mipotoforio/blob/main/src/pages/projects/index.astro"
click node_projectdetail "https://github.com/llorente14/mipotoforio/blob/main/src/pages/projects/%5Bslug%5D.astro"
click node_projectgallery "https://github.com/llorente14/mipotoforio/blob/main/src/components/ProjectGallery.astro"
click node_certificates "https://github.com/llorente14/mipotoforio/blob/main/src/pages/certificates.astro"
click node_contentdata "https://github.com/llorente14/mipotoforio/blob/main/src/content.config.ts"
click node_palette "https://github.com/llorente14/mipotoforio/blob/main/src/components/CommandPalette.tsx"
click node_githubsection "https://github.com/llorente14/mipotoforio/blob/main/src/components/GithubSection.astro"
click node_githubdata "https://github.com/llorente14/mipotoforio/blob/main/src/lib/github-contributions.ts"
click node_modelslot "https://github.com/llorente14/mipotoforio/blob/main/src/components/ModelSlot.tsx"
click node_capability "https://github.com/llorente14/mipotoforio/blob/main/src/lib/device-capability.ts"
click node_firstinput "https://github.com/llorente14/mipotoforio/blob/main/src/lib/first-input.ts"
click node_modelscene "https://github.com/llorente14/mipotoforio/blob/main/src/components/ModelScene.tsx"
click node_cardprogress "https://github.com/llorente14/mipotoforio/blob/main/src/lib/card-progress.ts"
click node_sakura "https://github.com/llorente14/mipotoforio/blob/main/src/components/SakuraParticles.tsx"
click node_kaito "https://github.com/llorente14/mipotoforio/blob/main/blender/kaito.py"
click node_toon "https://github.com/llorente14/mipotoforio/blob/main/blender/toon.py"
click node_othermodels "https://github.com/llorente14/mipotoforio/tree/main/blender"

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_landing,node_layout,node_hero,node_navbar,node_sections toneBlue
class node_projects,node_projectdetail,node_projectgallery,node_certificates,node_contentdata toneAmber
class node_modelslot,node_capability,node_firstinput,node_modelscene,node_cardprogress,node_sakura,node_kaito,node_toon,node_othermodels toneMint
class node_palette,node_githubsection,node_githubdata toneRose
class node_visitor,node_github toneIndigo
```

## Components

### Portfolio experience

- [Landing page](https://github.com/llorente14/mipotoforio/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [Shared layout](https://github.com/llorente14/mipotoforio/blob/main/src/layouts/BaseLayout.astro): `src/layouts/BaseLayout.astro`
- [Hero transition](https://github.com/llorente14/mipotoforio/blob/main/src/components/HeroSection.astro): `src/components/HeroSection.astro`
- [Navigation and theme](https://github.com/llorente14/mipotoforio/blob/main/src/components/Navbar.astro): `src/components/Navbar.astro`
- [Profile sections](https://github.com/llorente14/mipotoforio/blob/main/src/components/AboutSection.astro): `src/components/AboutSection.astro`

### Portfolio content

- [Project listings](https://github.com/llorente14/mipotoforio/blob/main/src/pages/projects/index.astro): `src/pages/projects/index.astro`
- [Project details](https://github.com/llorente14/mipotoforio/blob/main/src/pages/projects/%5Bslug%5D.astro): `src/pages/projects/[slug].astro`
- [Project gallery](https://github.com/llorente14/mipotoforio/blob/main/src/components/ProjectGallery.astro): `src/components/ProjectGallery.astro`
- [Certificate listings](https://github.com/llorente14/mipotoforio/blob/main/src/pages/certificates.astro): `src/pages/certificates.astro`
- [Typed content](https://github.com/llorente14/mipotoforio/blob/main/src/content.config.ts): `src/content.config.ts`

### Visual storytelling

- [3D model slot](https://github.com/llorente14/mipotoforio/blob/main/src/components/ModelSlot.tsx): `src/components/ModelSlot.tsx`
- [Device capability](https://github.com/llorente14/mipotoforio/blob/main/src/lib/device-capability.ts): `src/lib/device-capability.ts`
- [First-input gate](https://github.com/llorente14/mipotoforio/blob/main/src/lib/first-input.ts): `src/lib/first-input.ts`
- [3D scene renderer](https://github.com/llorente14/mipotoforio/blob/main/src/components/ModelScene.tsx): `src/components/ModelScene.tsx`
- [Card progress state](https://github.com/llorente14/mipotoforio/blob/main/src/lib/card-progress.ts): `src/lib/card-progress.ts`
- [Sakura animation](https://github.com/llorente14/mipotoforio/blob/main/src/components/SakuraParticles.tsx): `src/components/SakuraParticles.tsx`
- [Kaito model generator](https://github.com/llorente14/mipotoforio/blob/main/blender/kaito.py): `blender/kaito.py`
- [Model and render helpers](https://github.com/llorente14/mipotoforio/blob/main/blender/toon.py): `blender/toon.py`
- [Building and pagoda models](https://github.com/llorente14/mipotoforio/tree/main/blender): `blender`

### Search and activity

- [Command palette](https://github.com/llorente14/mipotoforio/blob/main/src/components/CommandPalette.tsx): `src/components/CommandPalette.tsx`
- [GitHub activity](https://github.com/llorente14/mipotoforio/blob/main/src/components/GithubSection.astro): `src/components/GithubSection.astro`
- [Contribution fetcher](https://github.com/llorente14/mipotoforio/blob/main/src/lib/github-contributions.ts): `src/lib/github-contributions.ts`

### Other components

- **Visitor**
- **GitHub**

## Connections

- Visitor → Landing page: opens (evidence: `README.md`)
- Landing page → Hero transition: presents (evidence: `README.md`)
- Landing page → Profile sections: reveals (evidence: `README.md`)
- Visitor → Navigation and theme: switches theme (evidence: `README.md`)
- Visitor → Project listings: browses (evidence: `README.md`)
- Project listings → Project details: opens details (evidence: `README.md`)
- Project details → Project gallery: shows gallery (evidence: `README.md`)
- Visitor → Certificate listings: browses (evidence: `README.md`)
- Typed content → Project listings: supplies content (evidence: `README.md`)
- Typed content → Certificate listings: supplies content (evidence: `README.md`)
- Visitor → Command palette: searches (evidence: `README.md`)
- Command palette → Project listings: finds projects (evidence: `README.md`)
- Command palette → Certificate listings: finds certificates (evidence: `README.md`)
- GitHub activity → Contribution fetcher: uses fetcher
- Contribution fetcher → GitHub: fetches contributions (evidence: `README.md`)
- 3D model slot → Device capability: checks device (evidence: `src/components/ModelSlot.tsx`)
- 3D model slot → First-input gate: waits for input (evidence: `src/components/ModelSlot.tsx`)
- 3D model slot → 3D scene renderer: loads scene (evidence: `src/components/ModelSlot.tsx`)
- 3D scene renderer → Card progress state: reads progress (evidence: `src/components/ModelScene.tsx`)
- Sakura animation → Device capability: checks device (evidence: `src/components/SakuraParticles.tsx`)
- Kaito model generator → Model and render helpers: uses helpers (evidence: `blender/kaito.py`)
- Building and pagoda models → Model and render helpers: uses helpers (evidence: `blender/kaito.py`)
