# nyn-05/astro_portfolio architecture

> Architecture diagram of the GitHub repository nyn-05/astro_portfolio, 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/nyn-05/astro_portfolio
- Repository: https://github.com/nyn-05/astro_portfolio

## Overview

Astro Portfolio is a static, content-driven personal portfolio. Visitors browse the homepage and resume; portfolio identity, project case studies, education, skills, and achievements are maintained as typed content and presented as pages. The README also describes responsive, accessible theming, SEO metadata, and security headers. Page-to-component wiring is not shown in the sampled source, so those likely relationships are marked unverified rather than asserted as sourced calls.

Main entry points: [`src/pages/index.astro`](https://github.com/nyn-05/astro_portfolio/blob/main/src/pages/index.astro) (Homepage), [`src/pages/resume.astro`](https://github.com/nyn-05/astro_portfolio/blob/main/src/pages/resume.astro) (Resume page), [`src/content.config.ts`](https://github.com/nyn-05/astro_portfolio/blob/main/src/content.config.ts) (Collection schemas), [`src/layouts`](https://github.com/nyn-05/astro_portfolio/tree/main/src/layouts) (Page layouts)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Pages and presentation"]
  node_routes["Portfolio pages"]
  node_home["Homepage<br/>[index.astro]"]
  node_resume["Resume page<br/>[resume.astro]"]
  node_layouts["Page layouts"]
  node_components["Content components"]
end

subgraph group_content["Content and profile"]
  node_collections["Collection schemas<br/>[content.config.ts]"]
  node_project_content["Project case studies"]
  node_education_content["Education records"]
  node_skills_content["Skills data"]
  node_achievement_content["Achievements"]
  node_experience_content["Experience records"]
  node_profile["Profile and contact<br/>[profile.ts]"]
end

subgraph group_site["Site experience"]
  node_styles["Visual styles"]
  node_format["Date formatting<br/>[format.ts]"]
  node_static_assets["Static assets"]
  node_seo_security["SEO and headers<br/>[netlify.toml]"]
end

node_visitor(("Visitor"))

node_visitor -->|"visits"| node_routes
node_routes -.->|"serves"| node_home
node_routes -.->|"serves"| node_resume
node_home -.->|"uses"| node_layouts
node_resume -.->|"uses"| node_layouts
node_home -.->|"renders"| node_components
node_resume -.->|"renders"| node_components
node_collections -->|"validates"| node_project_content
node_collections -->|"validates"| node_education_content
node_collections -->|"validates"| node_skills_content
node_collections -->|"validates"| node_achievement_content
node_collections -->|"validates"| node_experience_content
node_home -.->|"presents"| node_profile
node_home -.->|"presents"| node_project_content
node_home -.->|"presents"| node_skills_content
node_home -.->|"presents"| node_achievement_content
node_resume -.->|"presents"| node_education_content
node_resume -.->|"presents"| node_experience_content
node_layouts -.->|"uses"| node_styles
node_layouts -.->|"configures"| node_seo_security
node_home -.->|"uses"| node_static_assets
node_resume -.->|"formats dates"| node_format

click node_routes "https://github.com/nyn-05/astro_portfolio/tree/main/src/pages"
click node_home "https://github.com/nyn-05/astro_portfolio/blob/main/src/pages/index.astro"
click node_resume "https://github.com/nyn-05/astro_portfolio/blob/main/src/pages/resume.astro"
click node_layouts "https://github.com/nyn-05/astro_portfolio/tree/main/src/layouts"
click node_components "https://github.com/nyn-05/astro_portfolio/tree/main/src/components"
click node_collections "https://github.com/nyn-05/astro_portfolio/blob/main/src/content.config.ts"
click node_project_content "https://github.com/nyn-05/astro_portfolio/tree/main/src/content/projects"
click node_education_content "https://github.com/nyn-05/astro_portfolio/tree/main/src/content/education"
click node_skills_content "https://github.com/nyn-05/astro_portfolio/tree/main/src/content/skills"
click node_achievement_content "https://github.com/nyn-05/astro_portfolio/tree/main/src/content/achievements"
click node_profile "https://github.com/nyn-05/astro_portfolio/blob/main/src/data/profile.ts"
click node_styles "https://github.com/nyn-05/astro_portfolio/tree/main/src/styles"
click node_format "https://github.com/nyn-05/astro_portfolio/blob/main/src/utils/format.ts"
click node_static_assets "https://github.com/nyn-05/astro_portfolio/tree/main/public"
click node_seo_security "https://github.com/nyn-05/astro_portfolio/blob/main/netlify.toml"

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_routes,node_home,node_resume,node_layouts,node_components toneBlue
class node_collections,node_project_content,node_education_content,node_skills_content,node_achievement_content,node_experience_content,node_profile toneAmber
class node_styles,node_format,node_static_assets,node_seo_security toneMint
class node_visitor toneIndigo
```

## Components

### Pages and presentation

- [Portfolio pages](https://github.com/nyn-05/astro_portfolio/tree/main/src/pages): `src/pages`
- [Homepage](https://github.com/nyn-05/astro_portfolio/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [Resume page](https://github.com/nyn-05/astro_portfolio/blob/main/src/pages/resume.astro): `src/pages/resume.astro`
- [Page layouts](https://github.com/nyn-05/astro_portfolio/tree/main/src/layouts): `src/layouts`
- [Content components](https://github.com/nyn-05/astro_portfolio/tree/main/src/components): `src/components`

### Content and profile

- [Collection schemas](https://github.com/nyn-05/astro_portfolio/blob/main/src/content.config.ts): `src/content.config.ts`
- [Project case studies](https://github.com/nyn-05/astro_portfolio/tree/main/src/content/projects): `src/content/projects`
- [Education records](https://github.com/nyn-05/astro_portfolio/tree/main/src/content/education): `src/content/education`
- [Skills data](https://github.com/nyn-05/astro_portfolio/tree/main/src/content/skills): `src/content/skills`
- [Achievements](https://github.com/nyn-05/astro_portfolio/tree/main/src/content/achievements): `src/content/achievements`
- **Experience records**
- [Profile and contact](https://github.com/nyn-05/astro_portfolio/blob/main/src/data/profile.ts): `src/data/profile.ts`

### Site experience

- [Visual styles](https://github.com/nyn-05/astro_portfolio/tree/main/src/styles): `src/styles`
- [Date formatting](https://github.com/nyn-05/astro_portfolio/blob/main/src/utils/format.ts): `src/utils/format.ts`
- [Static assets](https://github.com/nyn-05/astro_portfolio/tree/main/public): `public`
- [SEO and headers](https://github.com/nyn-05/astro_portfolio/blob/main/netlify.toml): `netlify.toml`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio pages: visits (evidence: `README.md`)
- Portfolio pages → Homepage: serves
- Portfolio pages → Resume page: serves
- Homepage → Page layouts: uses
- Resume page → Page layouts: uses
- Homepage → Content components: renders
- Resume page → Content components: renders
- Collection schemas → Project case studies: validates (evidence: `src/content.config.ts`)
- Collection schemas → Education records: validates (evidence: `src/content.config.ts`)
- Collection schemas → Skills data: validates (evidence: `src/content.config.ts`)
- Collection schemas → Achievements: validates (evidence: `src/content.config.ts`)
- Collection schemas → Experience records: validates (evidence: `src/content.config.ts`)
- Homepage → Profile and contact: presents
- Homepage → Project case studies: presents
- Homepage → Skills data: presents
- Homepage → Achievements: presents
- Resume page → Education records: presents
- Resume page → Experience records: presents
- Page layouts → Visual styles: uses
- Page layouts → SEO and headers: configures
- Homepage → Static assets: uses
- Resume page → Date formatting: formats dates
