# sebastiaandv/portfolio architecture

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

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

## Overview

This is a React portfolio site presenting Sebastiaan de Vries’s profile, journey, skills, and projects. A visitor loads the page, which mounts the app and composes its sections; visitors can navigate section anchors and toggle a persisted light/dark theme. The site also shows a continuously moving technology carousel and project links. The README gives no additional capability details. Relationships below follow the sampled imports and render structure; the entry-point source was not excerpted, so its mounting relationship is omitted.

Main entry points: [`src/App.jsx`](https://github.com/sebastiaandv/portfolio/blob/main/src/App.jsx) (App composition), [`src/components/NavBar.jsx`](https://github.com/sebastiaandv/portfolio/blob/main/src/components/NavBar.jsx) (Section navigation), [`src/components/ThemeToggle.jsx`](https://github.com/sebastiaandv/portfolio/blob/main/src/components/ThemeToggle.jsx) (Theme control), [`src/components/SectionHome.jsx`](https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionHome.jsx) (Profile intro)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Page shell"]
  node_app["App composition<br/>[App.jsx]"]
  node_utils["Class utilities<br/>[utils.js]"]
end

subgraph group_portfolio["Portfolio content"]
  node_home["Profile intro<br/>[SectionHome.jsx]"]
  node_journey["Education journey<br/>[SectionJourney.jsx]"]
  node_carousel["Technology carousel"]
  node_skills["Skill ratings<br/>[SectionSkills.jsx]"]
  node_projects["Project showcase"]
  node_footer["Copyright footer<br/>[Footer.jsx]"]
end

subgraph group_interaction["Visitor controls"]
  node_navbar["Section navigation<br/>[NavBar.jsx]"]
  node_theme["Theme control<br/>[ThemeToggle.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"views"| node_app
node_app -->|"renders"| node_theme
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_home
node_app -->|"renders"| node_journey
node_app -->|"renders"| node_carousel
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_footer
node_visitor -->|"selects anchors"| node_navbar
node_visitor -->|"toggles theme"| node_theme
node_theme -->|"persists preference"| node_visitor
node_navbar -->|"merges classes"| node_utils
node_home -->|"merges classes"| node_utils

click node_app "https://github.com/sebastiaandv/portfolio/blob/main/src/App.jsx"
click node_home "https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionHome.jsx"
click node_journey "https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionJourney.jsx"
click node_carousel "https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionCarousel.jsx"
click node_skills "https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionSkills.jsx"
click node_projects "https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionProjects.jsx"
click node_footer "https://github.com/sebastiaandv/portfolio/blob/main/src/components/Footer.jsx"
click node_navbar "https://github.com/sebastiaandv/portfolio/blob/main/src/components/NavBar.jsx"
click node_theme "https://github.com/sebastiaandv/portfolio/blob/main/src/components/ThemeToggle.jsx"
click node_utils "https://github.com/sebastiaandv/portfolio/blob/main/src/lib/utils.js"

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_app,node_utils toneBlue
class node_home,node_journey,node_carousel,node_skills,node_projects,node_footer toneAmber
class node_navbar,node_theme toneMint
class node_visitor toneIndigo
```

## Components

### Page shell

- [App composition](https://github.com/sebastiaandv/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Class utilities](https://github.com/sebastiaandv/portfolio/blob/main/src/lib/utils.js): `src/lib/utils.js`

### Portfolio content

- [Profile intro](https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionHome.jsx): `src/components/SectionHome.jsx`
- [Education journey](https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionJourney.jsx): `src/components/SectionJourney.jsx`
- [Technology carousel](https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionCarousel.jsx): `src/components/SectionCarousel.jsx`
- [Skill ratings](https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionSkills.jsx): `src/components/SectionSkills.jsx`
- [Project showcase](https://github.com/sebastiaandv/portfolio/blob/main/src/components/SectionProjects.jsx): `src/components/SectionProjects.jsx`
- [Copyright footer](https://github.com/sebastiaandv/portfolio/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`

### Visitor controls

- [Section navigation](https://github.com/sebastiaandv/portfolio/blob/main/src/components/NavBar.jsx): `src/components/NavBar.jsx`
- [Theme control](https://github.com/sebastiaandv/portfolio/blob/main/src/components/ThemeToggle.jsx): `src/components/ThemeToggle.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → App composition: views
- App composition → Theme control: renders (evidence: `src/App.jsx`)
- App composition → Section navigation: renders (evidence: `src/App.jsx`)
- App composition → Profile intro: renders (evidence: `src/App.jsx`)
- App composition → Education journey: renders (evidence: `src/App.jsx`)
- App composition → Technology carousel: renders (evidence: `src/App.jsx`)
- App composition → Skill ratings: renders (evidence: `src/App.jsx`)
- App composition → Project showcase: renders (evidence: `src/App.jsx`)
- App composition → Copyright footer: renders (evidence: `src/App.jsx`)
- Visitor → Section navigation: selects anchors (evidence: `src/components/NavBar.jsx`)
- Visitor → Theme control: toggles theme (evidence: `src/components/ThemeToggle.jsx`)
- Theme control → Visitor: persists preference (evidence: `src/components/ThemeToggle.jsx`)
- Section navigation → Class utilities: merges classes (evidence: `src/components/NavBar.jsx`)
- Profile intro → Class utilities: merges classes (evidence: `src/components/SectionHome.jsx`)
