# fesantsss/myportfolio architecture

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

- Interactive diagram: https://gitdiagram.com/fesantsss/myportfolio
- Repository: https://github.com/fesantsss/myportfolio

## Overview

This is a multilingual personal portfolio. Visitors arrive at a localized home page, experience the intro and portfolio sections, inspect project details in a drawer, and can explore the engineer’s experience, skills, CV, and contact links. Locale switching updates the page copy and URL; the site also serves a localized 404 and locale-specific SEO metadata. The graph follows documented page composition and indexed imports; several capabilities are documented in the README but their implementation was not sampled.

Main entry points: [`src/app/[locale]/page.tsx`](https://github.com/fesantsss/myportfolio/blob/main/src/app/%5Blocale%5D/page.tsx) (Home page), [`src/components/components-home/Initialize.tsx`](https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/Initialize.tsx) (Intro and hero), [`src/components/components-home/About.tsx`](https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/About.tsx) (About and CV), [`src/app/[locale]/layout.tsx`](https://github.com/fesantsss/myportfolio/blob/main/src/app/%5Blocale%5D/layout.tsx) (Locale layout and SEO)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site and routing"]
  node_home_page["Home page<br/>[page.tsx]"]
  node_site_layout["Locale layout and SEO<br/>[layout.tsx]"]
  node_not_found_route["404 route<br/>[not-found.tsx]"]
  node_unknown_route["Unknown paths<br/>[page.tsx]"]
  node_robots["Robots metadata<br/>[robots.ts]"]
  node_sitemap["Sitemap<br/>[sitemap.ts]"]
  node_not_found_view["Creative 404 view<br/>[NotFoundView.tsx]"]
end

subgraph group_home["Portfolio sections"]
  node_header["Navigation header<br/>[Header.tsx]"]
  node_intro["Intro and hero<br/>[Initialize.tsx]"]
  node_work["Project showcase<br/>[Work.tsx]"]
  node_project_cards["Project cards<br/>[WorkCase.tsx]"]
  node_project_drawer["Project detail drawer<br/>[ProjectDrawer.tsx]"]
  node_about["About and CV<br/>[About.tsx]"]
  node_experience["Experience entries"]
  node_contact["Contact section<br/>[Contact.tsx]"]
  node_contact_data["Contact links<br/>[contacts.json]"]
  node_skills_data["Skills list<br/>[skills.json]"]
end

subgraph group_locale["Localization"]
  node_footer["Footer and language switch<br/>[Footer.tsx]"]
  node_locale_switch["Language switching<br/>[SwitchLanguage.tsx]"]
  node_locale_provider["Client locale provider<br/>[LocaleProvider.tsx]"]
  node_routing["Locale routing config<br/>[routing.ts]"]
  node_locale_defs["Locale definitions<br/>[locales.ts]"]
  node_messages["Translated content<br/>[en.json]"]
end

subgraph group_motion["Motion and presentation"]
  node_dot_grid["Dot grid visual<br/>[DotGrid.tsx]"]
  node_marquee["Marquee visual<br/>[Marquee.tsx]"]
  node_split_chars["Split headline text<br/>[SplitChars.tsx]"]
  node_motion_lib["Motion utilities<br/>[motion.ts]"]
  node_smooth_scroll["Smooth scrolling"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens"| node_home_page
node_home_page -->|"renders"| node_header
node_home_page -->|"renders"| node_intro
node_home_page -->|"renders"| node_work
node_home_page -->|"renders"| node_about
node_home_page -->|"renders"| node_contact
node_home_page -->|"renders"| node_footer
node_work -->|"renders"| node_project_cards
node_project_cards -->|"opens"| node_project_drawer
node_about -->|"renders"| node_experience
node_about -->|"reads"| node_skills_data
node_contact -->|"reads"| node_contact_data
node_intro -->|"renders"| node_dot_grid
node_intro -->|"renders"| node_split_chars
node_intro -->|"announces readiness"| node_motion_lib
node_header -->|"waits for hero"| node_motion_lib
node_project_drawer -->|"uses magnetic motion"| node_motion_lib
node_about -->|"renders"| node_split_chars
node_footer -->|"renders"| node_locale_switch
node_locale_switch -->|"switches copy"| node_locale_provider
node_locale_provider -->|"loads translations"| node_messages
node_site_layout -->|"provides messages"| node_locale_provider
node_site_layout -->|"wraps content"| node_smooth_scroll
node_site_layout -->|"uses locale config"| node_routing
node_routing -->|"defines locales"| node_locale_defs
node_home_page -->|"validates locale"| node_locale_defs
node_not_found_route -->|"renders"| node_not_found_view
node_unknown_route -->|"routes to"| node_not_found_route
node_not_found_view -->|"renders"| node_dot_grid
node_not_found_view -->|"renders"| node_marquee
node_visitor -->|"crawls"| node_robots
node_visitor -->|"discovers pages"| node_sitemap

click node_home_page "https://github.com/fesantsss/myportfolio/blob/main/src/app/%5Blocale%5D/page.tsx"
click node_site_layout "https://github.com/fesantsss/myportfolio/blob/main/src/app/%5Blocale%5D/layout.tsx"
click node_not_found_route "https://github.com/fesantsss/myportfolio/blob/main/src/app/%5Blocale%5D/not-found.tsx"
click node_unknown_route "https://github.com/fesantsss/myportfolio/blob/main/src/app/%5Blocale%5D/%5B...rest%5D/page.tsx"
click node_robots "https://github.com/fesantsss/myportfolio/blob/main/src/app/robots.ts"
click node_sitemap "https://github.com/fesantsss/myportfolio/blob/main/src/app/sitemap.ts"
click node_header "https://github.com/fesantsss/myportfolio/blob/main/src/components/Header.tsx"
click node_intro "https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/Initialize.tsx"
click node_work "https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/Work.tsx"
click node_project_cards "https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/WorkCase.tsx"
click node_project_drawer "https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/ProjectDrawer.tsx"
click node_about "https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/About.tsx"
click node_experience "https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/ExperienceAbout.tsx"
click node_contact "https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/Contact.tsx"
click node_contact_data "https://github.com/fesantsss/myportfolio/blob/main/src/data/contacts.json"
click node_skills_data "https://github.com/fesantsss/myportfolio/blob/main/src/data/skills.json"
click node_footer "https://github.com/fesantsss/myportfolio/blob/main/src/components/Footer.tsx"
click node_locale_switch "https://github.com/fesantsss/myportfolio/blob/main/src/components/SwitchLanguage.tsx"
click node_locale_provider "https://github.com/fesantsss/myportfolio/blob/main/src/components/LocaleProvider.tsx"
click node_routing "https://github.com/fesantsss/myportfolio/blob/main/src/i18n/routing.ts"
click node_locale_defs "https://github.com/fesantsss/myportfolio/blob/main/src/i18n/locales.ts"
click node_messages "https://github.com/fesantsss/myportfolio/blob/main/messages/en.json"
click node_not_found_view "https://github.com/fesantsss/myportfolio/blob/main/src/components/NotFoundView.tsx"
click node_dot_grid "https://github.com/fesantsss/myportfolio/blob/main/src/components/DotGrid.tsx"
click node_marquee "https://github.com/fesantsss/myportfolio/blob/main/src/components/Marquee.tsx"
click node_split_chars "https://github.com/fesantsss/myportfolio/blob/main/src/components/SplitChars.tsx"
click node_motion_lib "https://github.com/fesantsss/myportfolio/blob/main/src/lib/motion.ts"
click node_smooth_scroll "https://github.com/fesantsss/myportfolio/blob/main/src/components/SmoothScrollProvider.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_page,node_site_layout,node_not_found_route,node_unknown_route,node_robots,node_sitemap,node_not_found_view toneBlue
class node_header,node_intro,node_work,node_project_cards,node_project_drawer,node_about,node_experience,node_contact,node_contact_data,node_skills_data toneAmber
class node_footer,node_locale_switch,node_locale_provider,node_routing,node_locale_defs,node_messages toneMint
class node_dot_grid,node_marquee,node_split_chars,node_motion_lib,node_smooth_scroll toneRose
class node_visitor toneIndigo
```

## Components

### Site and routing

- [Home page](https://github.com/fesantsss/myportfolio/blob/main/src/app/%5Blocale%5D/page.tsx): `src/app/[locale]/page.tsx`
- [Locale layout and SEO](https://github.com/fesantsss/myportfolio/blob/main/src/app/%5Blocale%5D/layout.tsx): `src/app/[locale]/layout.tsx`
- [404 route](https://github.com/fesantsss/myportfolio/blob/main/src/app/%5Blocale%5D/not-found.tsx): `src/app/[locale]/not-found.tsx`
- [Unknown paths](https://github.com/fesantsss/myportfolio/blob/main/src/app/%5Blocale%5D/%5B...rest%5D/page.tsx): `src/app/[locale]/[...rest]/page.tsx`
- [Robots metadata](https://github.com/fesantsss/myportfolio/blob/main/src/app/robots.ts): `src/app/robots.ts`
- [Sitemap](https://github.com/fesantsss/myportfolio/blob/main/src/app/sitemap.ts): `src/app/sitemap.ts`
- [Creative 404 view](https://github.com/fesantsss/myportfolio/blob/main/src/components/NotFoundView.tsx): `src/components/NotFoundView.tsx`

### Portfolio sections

- [Navigation header](https://github.com/fesantsss/myportfolio/blob/main/src/components/Header.tsx): `src/components/Header.tsx`
- [Intro and hero](https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/Initialize.tsx): `src/components/components-home/Initialize.tsx`
- [Project showcase](https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/Work.tsx): `src/components/components-home/Work.tsx`
- [Project cards](https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/WorkCase.tsx): `src/components/components-home/WorkCase.tsx`
- [Project detail drawer](https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/ProjectDrawer.tsx): `src/components/components-home/ProjectDrawer.tsx`
- [About and CV](https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/About.tsx): `src/components/components-home/About.tsx`
- [Experience entries](https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/ExperienceAbout.tsx): `src/components/components-home/ExperienceAbout.tsx`
- [Contact section](https://github.com/fesantsss/myportfolio/blob/main/src/components/components-home/Contact.tsx): `src/components/components-home/Contact.tsx`
- [Contact links](https://github.com/fesantsss/myportfolio/blob/main/src/data/contacts.json): `src/data/contacts.json`
- [Skills list](https://github.com/fesantsss/myportfolio/blob/main/src/data/skills.json): `src/data/skills.json`

### Localization

- [Footer and language switch](https://github.com/fesantsss/myportfolio/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`
- [Language switching](https://github.com/fesantsss/myportfolio/blob/main/src/components/SwitchLanguage.tsx): `src/components/SwitchLanguage.tsx`
- [Client locale provider](https://github.com/fesantsss/myportfolio/blob/main/src/components/LocaleProvider.tsx): `src/components/LocaleProvider.tsx`
- [Locale routing config](https://github.com/fesantsss/myportfolio/blob/main/src/i18n/routing.ts): `src/i18n/routing.ts`
- [Locale definitions](https://github.com/fesantsss/myportfolio/blob/main/src/i18n/locales.ts): `src/i18n/locales.ts`
- [Translated content](https://github.com/fesantsss/myportfolio/blob/main/messages/en.json): `messages/en.json`

### Motion and presentation

- [Dot grid visual](https://github.com/fesantsss/myportfolio/blob/main/src/components/DotGrid.tsx): `src/components/DotGrid.tsx`
- [Marquee visual](https://github.com/fesantsss/myportfolio/blob/main/src/components/Marquee.tsx): `src/components/Marquee.tsx`
- [Split headline text](https://github.com/fesantsss/myportfolio/blob/main/src/components/SplitChars.tsx): `src/components/SplitChars.tsx`
- [Motion utilities](https://github.com/fesantsss/myportfolio/blob/main/src/lib/motion.ts): `src/lib/motion.ts`
- [Smooth scrolling](https://github.com/fesantsss/myportfolio/blob/main/src/components/SmoothScrollProvider.tsx): `src/components/SmoothScrollProvider.tsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home page: opens (evidence: `README.md`)
- Home page → Navigation header: renders (evidence: `src/app/[locale]/page.tsx`)
- Home page → Intro and hero: renders (evidence: `src/app/[locale]/page.tsx`)
- Home page → Project showcase: renders (evidence: `src/app/[locale]/page.tsx`)
- Home page → About and CV: renders (evidence: `src/app/[locale]/page.tsx`)
- Home page → Contact section: renders (evidence: `src/app/[locale]/page.tsx`)
- Home page → Footer and language switch: renders (evidence: `src/app/[locale]/page.tsx`)
- Project showcase → Project cards: renders (evidence: `src/components/components-home/Work.tsx`)
- Project cards → Project detail drawer: opens (evidence: `src/components/components-home/WorkCase.tsx`)
- About and CV → Experience entries: renders (evidence: `src/components/components-home/About.tsx`)
- About and CV → Skills list: reads (evidence: `src/components/components-home/About.tsx`)
- Contact section → Contact links: reads (evidence: `src/components/components-home/Contact.tsx`)
- Intro and hero → Dot grid visual: renders (evidence: `src/components/components-home/Initialize.tsx`)
- Intro and hero → Split headline text: renders (evidence: `src/components/components-home/Initialize.tsx`)
- Intro and hero → Motion utilities: announces readiness (evidence: `src/components/components-home/Initialize.tsx`)
- Navigation header → Motion utilities: waits for hero (evidence: `src/components/Header.tsx`)
- Project detail drawer → Motion utilities: uses magnetic motion (evidence: `src/components/components-home/ProjectDrawer.tsx`)
- About and CV → Split headline text: renders (evidence: `src/components/components-home/About.tsx`)
- Footer and language switch → Language switching: renders (evidence: `src/components/Footer.tsx`)
- Language switching → Client locale provider: switches copy (evidence: `src/components/SwitchLanguage.tsx`)
- Client locale provider → Translated content: loads translations (evidence: `src/components/LocaleProvider.tsx`)
- Locale layout and SEO → Client locale provider: provides messages (evidence: `src/app/[locale]/layout.tsx`)
- Locale layout and SEO → Smooth scrolling: wraps content (evidence: `src/app/[locale]/layout.tsx`)
- Locale layout and SEO → Locale routing config: uses locale config (evidence: `src/app/[locale]/layout.tsx`)
- Locale routing config → Locale definitions: defines locales (evidence: `src/i18n/locales.ts`)
- Home page → Locale definitions: validates locale (evidence: `src/app/[locale]/page.tsx`)
- 404 route → Creative 404 view: renders (evidence: `src/app/[locale]/not-found.tsx`)
- Unknown paths → 404 route: routes to (evidence: `README.md`)
- Creative 404 view → Dot grid visual: renders (evidence: `src/components/NotFoundView.tsx`)
- Creative 404 view → Marquee visual: renders (evidence: `src/components/NotFoundView.tsx`)
- Site visitor → Robots metadata: crawls (evidence: `README.md`)
- Site visitor → Sitemap: discovers pages (evidence: `README.md`)
