# maxencepachot/pachotmaxence-website architecture

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

- Interactive diagram: https://gitdiagram.com/maxencepachot/pachotmaxence-website
- Repository: https://github.com/maxencepachot/pachotmaxence-website

## Overview

This is a bilingual personal portfolio for a Data Platform Engineer. Visitors enter through the English or French home/projects URLs, read localized profile and project content, and can follow CV, contact, or language-switch links. Routing and URL-derived language selection form the central runtime; shared navigation and per-page SEO support those views. The graph covers the principal routes and documented portfolio capabilities. Relationships for unsampled components are omitted rather than inferred.

Main entry points: [`src/App.jsx`](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/App.jsx) (App router), [`src/i18n/index.jsx`](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/index.jsx) (Language provider), [`src/pages/Home.jsx`](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/pages/Home.jsx) (Home page), [`src/pages/Projects.jsx`](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/pages/Projects.jsx) (Projects page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["App runtime"]
  node_entry["React entry<br/>[main.jsx]"]
  node_router["App router<br/>[App.jsx]"]
end

subgraph group_language["Language system"]
  node_routes["Route map<br/>[routes.js]"]
  node_provider["Language provider<br/>[index.jsx]"]
  node_context["Language context<br/>[context.js]"]
  node_english["English copy<br/>[en.js]"]
  node_french["French copy<br/>[fr.js]"]
  node_projectcfg["Project logos<br/>[projectConfig.js]"]
end

subgraph group_views["Portfolio views"]
  node_home["Home page<br/>[Home.jsx]"]
  node_projects["Projects page<br/>[Projects.jsx]"]
  node_notfound["Not found page<br/>[NotFound.jsx]"]
end

subgraph group_shared["Shared interface"]
  node_navbar["Navigation bar<br/>[Navbar.jsx]"]
  node_language_menu["Language menu<br/>[LanguageMenu.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
  node_section["Content section<br/>[Section.jsx]"]
  node_seo["Route SEO<br/>[Seo.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_router
node_router -->|"wraps routes"| node_provider
node_router -->|"routes via"| node_routes
node_router -->|"routes to"| node_home
node_router -->|"routes to"| node_projects
node_router -->|"fallback route"| node_notfound
node_router -->|"renders"| node_footer
node_provider -->|"resolves paths"| node_routes
node_provider -->|"selects copy"| node_english
node_provider -->|"selects copy"| node_french
node_provider -->|"provides value"| node_context
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_section
node_home -->|"sets metadata"| node_seo
node_projects -->|"renders"| node_navbar
node_projects -->|"sets metadata"| node_seo
node_projects -->|"loads logos"| node_projectcfg
node_notfound -->|"renders"| node_navbar
node_notfound -->|"sets metadata"| node_seo
node_navbar -->|"renders"| node_language_menu
node_seo -->|"builds alternates"| node_routes

click node_entry "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/main.jsx"
click node_router "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/App.jsx"
click node_routes "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/routes.js"
click node_provider "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/index.jsx"
click node_context "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/context.js"
click node_english "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/en.js"
click node_french "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/fr.js"
click node_projectcfg "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/projectConfig.js"
click node_home "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/pages/Home.jsx"
click node_projects "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/pages/Projects.jsx"
click node_notfound "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/pages/NotFound.jsx"
click node_navbar "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/components/Navbar.jsx"
click node_language_menu "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/components/LanguageMenu.jsx"
click node_footer "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/components/Footer.jsx"
click node_section "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/components/Section.jsx"
click node_seo "https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/components/Seo.jsx"

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_entry,node_router toneBlue
class node_routes,node_provider,node_context,node_english,node_french,node_projectcfg toneAmber
class node_home,node_projects,node_notfound toneMint
class node_navbar,node_language_menu,node_footer,node_section,node_seo toneRose
class node_visitor toneIndigo
```

## Components

### App runtime

- [React entry](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/main.jsx): `src/main.jsx`
- [App router](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/App.jsx): `src/App.jsx`

### Language system

- [Route map](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/routes.js): `src/i18n/routes.js`
- [Language provider](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/index.jsx): `src/i18n/index.jsx`
- [Language context](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/context.js): `src/i18n/context.js`
- [English copy](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/en.js): `src/i18n/en.js`
- [French copy](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/fr.js): `src/i18n/fr.js`
- [Project logos](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/i18n/projectConfig.js): `src/i18n/projectConfig.js`

### Portfolio views

- [Home page](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`
- [Projects page](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/pages/Projects.jsx): `src/pages/Projects.jsx`
- [Not found page](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/pages/NotFound.jsx): `src/pages/NotFound.jsx`

### Shared interface

- [Navigation bar](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Language menu](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/components/LanguageMenu.jsx): `src/components/LanguageMenu.jsx`
- [Footer](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`
- [Content section](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/components/Section.jsx): `src/components/Section.jsx`
- [Route SEO](https://github.com/maxencepachot/pachotmaxence-website/blob/main/src/components/Seo.jsx): `src/components/Seo.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → React entry: opens site (evidence: `src/main.jsx`)
- React entry → App router: renders (evidence: `src/main.jsx`)
- App router → Language provider: wraps routes (evidence: `src/App.jsx`)
- App router → Route map: routes via (evidence: `src/App.jsx`)
- App router → Home page: routes to (evidence: `src/App.jsx`)
- App router → Projects page: routes to (evidence: `src/App.jsx`)
- App router → Not found page: fallback route (evidence: `src/App.jsx`)
- App router → Footer: renders (evidence: `src/App.jsx`)
- Language provider → Route map: resolves paths (evidence: `src/i18n/index.jsx`)
- Language provider → English copy: selects copy (evidence: `src/i18n/index.jsx`)
- Language provider → French copy: selects copy (evidence: `src/i18n/index.jsx`)
- Language provider → Language context: provides value (evidence: `src/i18n/index.jsx`)
- Home page → Navigation bar: renders (evidence: `src/pages/Home.jsx`)
- Home page → Content section: renders (evidence: `src/pages/Home.jsx`)
- Home page → Route SEO: sets metadata (evidence: `src/pages/Home.jsx`)
- Projects page → Navigation bar: renders (evidence: `src/pages/Projects.jsx`)
- Projects page → Route SEO: sets metadata (evidence: `src/pages/Projects.jsx`)
- Projects page → Project logos: loads logos (evidence: `src/pages/Projects.jsx`)
- Not found page → Navigation bar: renders (evidence: `src/pages/NotFound.jsx`)
- Not found page → Route SEO: sets metadata (evidence: `src/pages/NotFound.jsx`)
- Navigation bar → Language menu: renders (evidence: `src/components/Navbar.jsx`)
- Route SEO → Route map: builds alternates (evidence: `src/components/Seo.jsx`)
