# aneshannachi/portfolio-v2 architecture

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

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

## Overview

This is a French-language personal portfolio built with Next.js. Visitors enter through the home page to explore the developer profile, selected projects, skills, and career journey, or browse the project listing and open a slug-specific detail page. Contact is presented through a modal opened from page-level controls. The sampled routes establish these render relationships; the contact form excerpt shows no submission service, so no delivery integration is represented.

Main entry points: [`src/app/page.jsx`](https://github.com/aneshannachi/portfolio-v2/blob/main/src/app/page.jsx) (Home route), [`src/app/projects/page.jsx`](https://github.com/aneshannachi/portfolio-v2/blob/main/src/app/projects/page.jsx) (Projects route), [`src/components/ContactModal.jsx`](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/ContactModal.jsx) (Contact modal), [`src/components/Projects.jsx`](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Projects.jsx) (Project listing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routes["Page routes"]
  node_home["Home route<br/>[page.jsx]"]
  node_projects_route["Projects route<br/>[page.jsx]"]
  node_detail_route["Project detail route<br/>[page.jsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_hero["Hero<br/>[Hero.jsx]"]
  node_about["About<br/>[About.jsx]"]
  node_bento_about["Bento About<br/>[BentoAbout.jsx]"]
  node_projects["Project listing<br/>[Projects.jsx]"]
  node_project_detail["Project details<br/>[ProjectDetail.jsx]"]
  node_skills["Skills<br/>[Skills.jsx]"]
  node_parcours["Career journey<br/>[Parcours.jsx]"]
  node_magic_bento["Magic Bento<br/>[MagicBento.jsx]"]
end

subgraph group_interaction["Visitor interactions"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_contact["Contact modal<br/>[ContactModal.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"opens"| node_projects_route
node_visitor -->|"opens"| node_detail_route
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_parcours
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_projects_route -->|"renders"| node_navbar
node_projects_route -->|"renders"| node_projects
node_projects_route -->|"renders"| node_contact
node_projects_route -->|"renders"| node_footer
node_detail_route -->|"passes slug"| node_project_detail
node_projects -->|"links to details"| node_project_detail
node_project_detail -->|"renders"| node_contact
node_navbar -->|"opens via callback"| node_contact
node_about -->|"opens via callback"| node_contact

click node_home "https://github.com/aneshannachi/portfolio-v2/blob/main/src/app/page.jsx"
click node_projects_route "https://github.com/aneshannachi/portfolio-v2/blob/main/src/app/projects/page.jsx"
click node_detail_route "https://github.com/aneshannachi/portfolio-v2/blob/main/src/app/projects/%5Bslug%5D/page.jsx"
click node_hero "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Hero.jsx"
click node_about "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/About.jsx"
click node_bento_about "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/BentoAbout.jsx"
click node_projects "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Projects.jsx"
click node_project_detail "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/ProjectDetail.jsx"
click node_skills "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Skills.jsx"
click node_parcours "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Parcours.jsx"
click node_magic_bento "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/MagicBento.jsx"
click node_navbar "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Navbar.jsx"
click node_contact "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/ContactModal.jsx"
click node_footer "https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Footer.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_home,node_projects_route,node_detail_route toneBlue
class node_hero,node_about,node_bento_about,node_projects,node_project_detail,node_skills,node_parcours,node_magic_bento toneAmber
class node_navbar,node_contact,node_footer toneMint
class node_visitor toneIndigo
```

## Components

### Page routes

- [Home route](https://github.com/aneshannachi/portfolio-v2/blob/main/src/app/page.jsx): `src/app/page.jsx`
- [Projects route](https://github.com/aneshannachi/portfolio-v2/blob/main/src/app/projects/page.jsx): `src/app/projects/page.jsx`
- [Project detail route](https://github.com/aneshannachi/portfolio-v2/blob/main/src/app/projects/%5Bslug%5D/page.jsx): `src/app/projects/[slug]/page.jsx`

### Portfolio content

- [Hero](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [About](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/About.jsx): `src/components/About.jsx`
- [Bento About](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/BentoAbout.jsx): `src/components/BentoAbout.jsx`
- [Project listing](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Projects.jsx): `src/components/Projects.jsx`
- [Project details](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/ProjectDetail.jsx): `src/components/ProjectDetail.jsx`
- [Skills](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Skills.jsx): `src/components/Skills.jsx`
- [Career journey](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Parcours.jsx): `src/components/Parcours.jsx`
- [Magic Bento](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/MagicBento.jsx): `src/components/MagicBento.jsx`

### Visitor interactions

- [Navigation](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Contact modal](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/ContactModal.jsx): `src/components/ContactModal.jsx`
- [Footer](https://github.com/aneshannachi/portfolio-v2/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → Home route: opens
- Visitor → Projects route: opens
- Visitor → Project detail route: opens
- Home route → Navigation: renders (evidence: `src/app/page.jsx`)
- Home route → Hero: renders (evidence: `src/app/page.jsx`)
- Home route → About: renders (evidence: `src/app/page.jsx`)
- Home route → Project listing: renders (evidence: `src/app/page.jsx`)
- Home route → Skills: renders (evidence: `src/app/page.jsx`)
- Home route → Career journey: renders (evidence: `src/app/page.jsx`)
- Home route → Contact modal: renders (evidence: `src/app/page.jsx`)
- Home route → Footer: renders (evidence: `src/app/page.jsx`)
- Projects route → Navigation: renders (evidence: `src/app/projects/page.jsx`)
- Projects route → Project listing: renders (evidence: `src/app/projects/page.jsx`)
- Projects route → Contact modal: renders (evidence: `src/app/projects/page.jsx`)
- Projects route → Footer: renders (evidence: `src/app/projects/page.jsx`)
- Project detail route → Project details: passes slug (evidence: `src/app/projects/[slug]/page.jsx`)
- Project listing → Project details: links to details (evidence: `src/components/Projects.jsx`)
- Project details → Contact modal: renders (evidence: `src/components/ProjectDetail.jsx`)
- Navigation → Contact modal: opens via callback (evidence: `src/app/page.jsx`)
- About → Contact modal: opens via callback (evidence: `src/app/page.jsx`)
