# sebbjf/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/sebbjf/portfolio
- Repository: https://github.com/sebbjf/portfolio

## Overview

This is a bilingual personal portfolio site. A visitor views the English or Spanish pages, which present the portfolio sections and résumé/project information; Astro is configured to prerender the site as static output. The README documents the page/section structure, while the sampled configuration confirms localization inputs and static rendering. Individual page implementations were not sampled, so links from pages to specific content collections are not asserted.

Main entry points: [`src/pages`](https://github.com/sebbjf/portfolio/tree/main/src/pages) (Bilingual pages), [`astro.config.mjs`](https://github.com/sebbjf/portfolio/blob/main/astro.config.mjs) (Static-site configuration), [`astro-i18next.config.ts`](https://github.com/sebbjf/portfolio/blob/main/astro-i18next.config.ts) (Language configuration), [`src/consts/experience.js`](https://github.com/sebbjf/portfolio/blob/main/src/consts/experience.js) (Work experience)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Site presentation"]
  node_pages["Bilingual pages"]
  node_sections["Portfolio sections"]
  node_components["Reusable components"]
end

subgraph group_content["Portfolio content"]
  node_projects["Project entries<br/>[projects.js]"]
  node_experience["Work experience<br/>[experience.js]"]
  node_education["Education entries<br/>[education.js]"]
  node_skills["Skills entries<br/>[skills.js]"]
  node_awards["Awards entries<br/>[awards.js]"]
  node_dateformat["Résumé date formatting<br/>[formatPeriod.js]"]
end

subgraph group_localization["Localization and rendering"]
  node_i18nconfig["Language configuration"]
  node_translations["English and Spanish strings"]
  node_astroconfig["Static-site configuration<br/>[astro.config.mjs]"]
end

node_visitor(("Visitor"))

node_visitor -->|"views"| node_pages
node_pages -->|"presents"| node_sections
node_i18nconfig -->|"loads"| node_translations
node_astroconfig -->|"enables"| node_i18nconfig
node_astroconfig -.->|"prerenders"| node_pages
node_experience -.->|"dates formatted by"| node_dateformat

click node_pages "https://github.com/sebbjf/portfolio/tree/main/src/pages"
click node_sections "https://github.com/sebbjf/portfolio/tree/main/src/sections"
click node_components "https://github.com/sebbjf/portfolio/tree/main/src/components"
click node_projects "https://github.com/sebbjf/portfolio/blob/main/src/consts/projects.js"
click node_experience "https://github.com/sebbjf/portfolio/blob/main/src/consts/experience.js"
click node_education "https://github.com/sebbjf/portfolio/blob/main/src/consts/education.js"
click node_skills "https://github.com/sebbjf/portfolio/blob/main/src/consts/skills.js"
click node_awards "https://github.com/sebbjf/portfolio/blob/main/src/consts/awards.js"
click node_dateformat "https://github.com/sebbjf/portfolio/blob/main/src/utils/formatPeriod.js"
click node_i18nconfig "https://github.com/sebbjf/portfolio/blob/main/astro-i18next.config.ts"
click node_translations "https://github.com/sebbjf/portfolio/tree/main/public/locales"
click node_astroconfig "https://github.com/sebbjf/portfolio/blob/main/astro.config.mjs"

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_pages,node_sections,node_components toneBlue
class node_projects,node_experience,node_education,node_skills,node_awards,node_dateformat toneAmber
class node_i18nconfig,node_translations,node_astroconfig toneMint
class node_visitor toneIndigo
```

## Components

### Site presentation

- [Bilingual pages](https://github.com/sebbjf/portfolio/tree/main/src/pages): `src/pages`
- [Portfolio sections](https://github.com/sebbjf/portfolio/tree/main/src/sections): `src/sections`
- [Reusable components](https://github.com/sebbjf/portfolio/tree/main/src/components): `src/components`

### Portfolio content

- [Project entries](https://github.com/sebbjf/portfolio/blob/main/src/consts/projects.js): `src/consts/projects.js`
- [Work experience](https://github.com/sebbjf/portfolio/blob/main/src/consts/experience.js): `src/consts/experience.js`
- [Education entries](https://github.com/sebbjf/portfolio/blob/main/src/consts/education.js): `src/consts/education.js`
- [Skills entries](https://github.com/sebbjf/portfolio/blob/main/src/consts/skills.js): `src/consts/skills.js`
- [Awards entries](https://github.com/sebbjf/portfolio/blob/main/src/consts/awards.js): `src/consts/awards.js`
- [Résumé date formatting](https://github.com/sebbjf/portfolio/blob/main/src/utils/formatPeriod.js): `src/utils/formatPeriod.js`

### Localization and rendering

- [Language configuration](https://github.com/sebbjf/portfolio/blob/main/astro-i18next.config.ts): `astro-i18next.config.ts`
- [English and Spanish strings](https://github.com/sebbjf/portfolio/tree/main/public/locales): `public/locales`
- [Static-site configuration](https://github.com/sebbjf/portfolio/blob/main/astro.config.mjs): `astro.config.mjs`

### Other components

- **Visitor**

## Connections

- Visitor → Bilingual pages: views (evidence: `README.md`)
- Bilingual pages → Portfolio sections: presents (evidence: `README.md`)
- Language configuration → English and Spanish strings: loads (evidence: `astro-i18next.config.ts`)
- Static-site configuration → Language configuration: enables (evidence: `astro.config.mjs`)
- Static-site configuration → Bilingual pages: prerenders
- Work experience → Résumé date formatting: dates formatted by
