# maxencepzt/portfolio-2025 architecture

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

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

## Overview

This is a React/TypeScript personal portfolio. A visitor loads the app, which renders the hero, about, projects, experience, and contact sections inside a shared layout; the page presents biography, skills and location, project links, career and education, and contact options. French/English translations support the interface, while the interactive particle background and gravity control are layout features. PostHog captures page, navigation, and link activity. The graph follows documented and indexed relationships; uninspected details are not inferred.

Main entry points: [`src/App.tsx`](https://github.com/maxencepzt/portfolio-2025/blob/main/src/App.tsx) (Portfolio app), [`src/components/layout/Layout.tsx`](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/layout/Layout.tsx) (Page layout), [`src/main.tsx`](https://github.com/maxencepzt/portfolio-2025/blob/main/src/main.tsx) (React entry), [`src/components/experience/ExperienceSection.tsx`](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/experience/ExperienceSection.tsx) (Career and education)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry and shell"]
  node_entrypoint["React entry<br/>[main.tsx]"]
  node_app["Portfolio app<br/>[App.tsx]"]
  node_layout["Page layout<br/>[Layout.tsx]"]
  node_navbar["Responsive navigation<br/>[Navbar.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_portfolio["Portfolio sections"]
  node_hero["Hero<br/>[HeroSection.tsx]"]
  node_about["About and skills<br/>[AboutSection.tsx]"]
  node_location["Location map<br/>[LocationMap.tsx]"]
  node_projects["Projects"]
  node_projectcard["Project cards<br/>[ProjectCard.tsx]"]
  node_experience["Career and education"]
  node_experiencecard["Experience cards<br/>[ExperienceCard.tsx]"]
  node_educationcard["Education cards<br/>[EducationCard.tsx]"]
  node_contact["Contact section<br/>[ContactSection.tsx]"]
  node_contactlink["Contact links<br/>[ContactLink.tsx]"]
end

subgraph group_shared["Shared UI and localization"]
  node_translations["Translation provider<br/>[I18nProvider.tsx]"]
  node_context["Translation context<br/>[I18nContext.ts]"]
end

subgraph group_integrations["Interactive and external features"]
  node_particle["Particle canvas<br/>[ParticleCanvas.tsx]"]
  node_gravity["Gravity toggle<br/>[GravityToggle.tsx]"]
  node_analytics["PostHog analytics"]
end

node_visitor(("Visitor"))
node_external(("Contact destinations"))

node_visitor -->|"opens site"| node_entrypoint
node_entrypoint -->|"wraps app"| node_translations
node_entrypoint -->|"renders"| node_app
node_app -->|"wraps sections"| node_layout
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_experience
node_app -->|"renders"| node_contact
node_layout -->|"renders"| node_navbar
node_layout -->|"renders"| node_footer
node_layout -->|"renders"| node_particle
node_layout -->|"renders"| node_gravity
node_about -->|"renders"| node_location
node_projects -->|"renders"| node_projectcard
node_experience -->|"renders"| node_experiencecard
node_experience -->|"renders"| node_educationcard
node_contact -->|"renders"| node_contactlink
node_navbar -->|"captures events"| node_analytics
node_contact -->|"captures clicks"| node_analytics
node_projectcard -->|"captures clicks"| node_analytics
node_contactlink -->|"links to"| node_external
node_translations -->|"provides context"| node_context

click node_entrypoint "https://github.com/maxencepzt/portfolio-2025/blob/main/src/main.tsx"
click node_app "https://github.com/maxencepzt/portfolio-2025/blob/main/src/App.tsx"
click node_layout "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/layout/Layout.tsx"
click node_navbar "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/layout/Navbar.tsx"
click node_footer "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/layout/Footer.tsx"
click node_hero "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/hero/HeroSection.tsx"
click node_about "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/about/AboutSection.tsx"
click node_location "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/about/LocationMap.tsx"
click node_projects "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/projects/ProjectsSection.tsx"
click node_projectcard "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/projects/ProjectCard.tsx"
click node_experience "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/experience/ExperienceSection.tsx"
click node_experiencecard "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/experience/ExperienceCard.tsx"
click node_educationcard "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/experience/EducationCard.tsx"
click node_contact "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/contact/ContactSection.tsx"
click node_contactlink "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/contact/ContactLink.tsx"
click node_translations "https://github.com/maxencepzt/portfolio-2025/blob/main/src/i18n/I18nProvider.tsx"
click node_context "https://github.com/maxencepzt/portfolio-2025/blob/main/src/i18n/I18nContext.ts"
click node_particle "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/interactive/ParticleCanvas.tsx"
click node_gravity "https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/interactive/GravityToggle.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_entrypoint,node_app,node_layout,node_navbar,node_footer toneBlue
class node_hero,node_about,node_location,node_projects,node_projectcard,node_experience,node_experiencecard,node_educationcard,node_contact,node_contactlink toneAmber
class node_translations,node_context toneMint
class node_particle,node_gravity,node_analytics toneRose
class node_visitor,node_external toneIndigo
```

## Components

### App entry and shell

- [React entry](https://github.com/maxencepzt/portfolio-2025/blob/main/src/main.tsx): `src/main.tsx`
- [Portfolio app](https://github.com/maxencepzt/portfolio-2025/blob/main/src/App.tsx): `src/App.tsx`
- [Page layout](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/layout/Layout.tsx): `src/components/layout/Layout.tsx`
- [Responsive navigation](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/layout/Navbar.tsx): `src/components/layout/Navbar.tsx`
- [Footer](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/layout/Footer.tsx): `src/components/layout/Footer.tsx`

### Portfolio sections

- [Hero](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/hero/HeroSection.tsx): `src/components/hero/HeroSection.tsx`
- [About and skills](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/about/AboutSection.tsx): `src/components/about/AboutSection.tsx`
- [Location map](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/about/LocationMap.tsx): `src/components/about/LocationMap.tsx`
- [Projects](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/projects/ProjectsSection.tsx): `src/components/projects/ProjectsSection.tsx`
- [Project cards](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/projects/ProjectCard.tsx): `src/components/projects/ProjectCard.tsx`
- [Career and education](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/experience/ExperienceSection.tsx): `src/components/experience/ExperienceSection.tsx`
- [Experience cards](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/experience/ExperienceCard.tsx): `src/components/experience/ExperienceCard.tsx`
- [Education cards](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/experience/EducationCard.tsx): `src/components/experience/EducationCard.tsx`
- [Contact section](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/contact/ContactSection.tsx): `src/components/contact/ContactSection.tsx`
- [Contact links](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/contact/ContactLink.tsx): `src/components/contact/ContactLink.tsx`

### Shared UI and localization

- [Translation provider](https://github.com/maxencepzt/portfolio-2025/blob/main/src/i18n/I18nProvider.tsx): `src/i18n/I18nProvider.tsx`
- [Translation context](https://github.com/maxencepzt/portfolio-2025/blob/main/src/i18n/I18nContext.ts): `src/i18n/I18nContext.ts`

### Interactive and external features

- [Particle canvas](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/interactive/ParticleCanvas.tsx): `src/components/interactive/ParticleCanvas.tsx`
- [Gravity toggle](https://github.com/maxencepzt/portfolio-2025/blob/main/src/components/interactive/GravityToggle.tsx): `src/components/interactive/GravityToggle.tsx`
- **PostHog analytics**

### Other components

- **Visitor**
- **Contact destinations**

## Connections

- Visitor → React entry: opens site (evidence: `src/main.tsx`)
- React entry → Translation provider: wraps app (evidence: `src/main.tsx`)
- React entry → Portfolio app: renders (evidence: `src/main.tsx`)
- Portfolio app → Page layout: wraps sections (evidence: `src/App.tsx`)
- Portfolio app → Hero: renders (evidence: `src/App.tsx`)
- Portfolio app → About and skills: renders (evidence: `src/App.tsx`)
- Portfolio app → Projects: renders (evidence: `src/App.tsx`)
- Portfolio app → Career and education: renders (evidence: `src/App.tsx`)
- Portfolio app → Contact section: renders (evidence: `src/App.tsx`)
- Page layout → Responsive navigation: renders (evidence: `src/components/layout/Layout.tsx`)
- Page layout → Footer: renders (evidence: `src/components/layout/Layout.tsx`)
- Page layout → Particle canvas: renders (evidence: `src/components/layout/Layout.tsx`)
- Page layout → Gravity toggle: renders (evidence: `src/components/layout/Layout.tsx`)
- About and skills → Location map: renders (evidence: `src/components/about/AboutSection.tsx`)
- Projects → Project cards: renders (evidence: `src/components/projects/ProjectsSection.tsx`)
- Career and education → Experience cards: renders (evidence: `src/components/experience/ExperienceSection.tsx`)
- Career and education → Education cards: renders (evidence: `src/components/experience/ExperienceSection.tsx`)
- Contact section → Contact links: renders (evidence: `src/components/contact/ContactSection.tsx`)
- Responsive navigation → PostHog analytics: captures events (evidence: `src/components/layout/Navbar.tsx`)
- Contact section → PostHog analytics: captures clicks (evidence: `src/components/contact/ContactSection.tsx`)
- Project cards → PostHog analytics: captures clicks (evidence: `src/components/projects/ProjectCard.tsx`)
- Contact links → Contact destinations: links to
- Translation provider → Translation context: provides context (evidence: `src/i18n/I18nProvider.tsx`)
