# valonhaxhidauti/v_portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/valonhaxhidauti/v_portfolio
- Repository: https://github.com/valonhaxhidauti/v_portfolio

## Overview

This is a personal portfolio website: visitors browse an introduction, biography, skills, featured projects, and contact/social links, with navigation, theme switching, and a CV download available through the shared layout. The page and layout coordinate these sections; project and technology details are presented from shared portfolio data. The graph reflects the README’s Next.js portfolio description and SOURCE INDEX references. Some component implementations were not excerpted, so their links show only relationships supported by those references.

Main entry points: [`src/app/page.tsx`](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/app/page.tsx) (Portfolio page), [`src/components/layout/header.tsx`](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/layout/header.tsx) (Header navigation), [`src/lib/data.tsx`](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/lib/data.tsx) (Portfolio data), [`src/components/sections/skills.tsx`](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/skills.tsx) (Skills section)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_page["Portfolio page<br/>[page.tsx]"]
  node_header["Header navigation<br/>[header.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
  node_providers["Theme providers<br/>[providers.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_hero["Hero section<br/>[hero.tsx]"]
  node_about["About section<br/>[about-me.tsx]"]
  node_skills["Skills section<br/>[skills.tsx]"]
  node_work["Work section<br/>[work.tsx]"]
  node_contact["Contact section<br/>[contact.tsx]"]
end

subgraph group_presentation["Presentation components"]
  node_projects["Project details"]
  node_technologies["Technology details<br/>[tech-details.tsx]"]
  node_socials["Social links<br/>[social-icons.tsx]"]
  node_drawer["Mobile drawer<br/>[drawer.tsx]"]
  node_theme["Theme switcher<br/>[theme-switcher.tsx]"]
  node_download["CV download<br/>[download-cv.tsx]"]
end

subgraph group_shared["Shared data and state"]
  node_data["Portfolio data<br/>[data.tsx]"]
  node_window["Window size hook<br/>[use-window-size.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_page
node_page -->|"renders"| node_hero
node_page -->|"renders"| node_about
node_page -->|"renders"| node_skills
node_page -->|"renders"| node_work
node_page -->|"renders"| node_contact
node_header -->|"uses"| node_drawer
node_header -->|"uses"| node_theme
node_header -->|"uses"| node_download
node_header -->|"reads size"| node_window
node_header -->|"reads navigation"| node_data
node_skills -->|"reads skills"| node_data
node_skills -->|"renders"| node_technologies
node_work -->|"reads projects"| node_data
node_work -->|"renders"| node_projects
node_hero -->|"renders"| node_socials
node_contact -->|"renders"| node_socials
node_socials -->|"reads links"| node_data
node_footer -->|"reads links"| node_data
node_page -->|"includes"| node_header
node_page -->|"includes"| node_footer
node_page -->|"configures"| node_providers

click node_page "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/app/page.tsx"
click node_header "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/layout/header.tsx"
click node_footer "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/layout/footer.tsx"
click node_providers "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/lib/providers.tsx"
click node_hero "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/hero.tsx"
click node_about "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/about-me.tsx"
click node_skills "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/skills.tsx"
click node_work "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/work.tsx"
click node_contact "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/contact.tsx"
click node_projects "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/data-display/project-details.tsx"
click node_technologies "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/data-display/tech-details.tsx"
click node_socials "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/data-display/social-icons.tsx"
click node_drawer "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/navigation/drawer.tsx"
click node_theme "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/general/theme-switcher.tsx"
click node_download "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/general/download-cv.tsx"
click node_data "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/lib/data.tsx"
click node_window "https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/hooks/use-window-size.ts"

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_page,node_header,node_footer,node_providers toneBlue
class node_hero,node_about,node_skills,node_work,node_contact toneAmber
class node_projects,node_technologies,node_socials,node_drawer,node_theme,node_download toneMint
class node_data,node_window toneRose
class node_visitor toneIndigo
```

## Components

### Application shell

- [Portfolio page](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Header navigation](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/layout/header.tsx): `src/components/layout/header.tsx`
- [Footer](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/layout/footer.tsx): `src/components/layout/footer.tsx`
- [Theme providers](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/lib/providers.tsx): `src/lib/providers.tsx`

### Portfolio content

- [Hero section](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/hero.tsx): `src/components/sections/hero.tsx`
- [About section](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/about-me.tsx): `src/components/sections/about-me.tsx`
- [Skills section](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/skills.tsx): `src/components/sections/skills.tsx`
- [Work section](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/work.tsx): `src/components/sections/work.tsx`
- [Contact section](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/sections/contact.tsx): `src/components/sections/contact.tsx`

### Presentation components

- [Project details](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/data-display/project-details.tsx): `src/components/data-display/project-details.tsx`
- [Technology details](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/data-display/tech-details.tsx): `src/components/data-display/tech-details.tsx`
- [Social links](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/data-display/social-icons.tsx): `src/components/data-display/social-icons.tsx`
- [Mobile drawer](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/navigation/drawer.tsx): `src/components/navigation/drawer.tsx`
- [Theme switcher](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/general/theme-switcher.tsx): `src/components/general/theme-switcher.tsx`
- [CV download](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/components/general/download-cv.tsx): `src/components/general/download-cv.tsx`

### Shared data and state

- [Portfolio data](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/lib/data.tsx): `src/lib/data.tsx`
- [Window size hook](https://github.com/valonhaxhidauti/v_portfolio/blob/main/src/hooks/use-window-size.ts): `src/hooks/use-window-size.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio page: opens (evidence: `README.md`)
- Portfolio page → Hero section: renders (evidence: `src/app/page.tsx`)
- Portfolio page → About section: renders (evidence: `src/app/page.tsx`)
- Portfolio page → Skills section: renders (evidence: `src/app/page.tsx`)
- Portfolio page → Work section: renders (evidence: `src/app/page.tsx`)
- Portfolio page → Contact section: renders (evidence: `src/app/page.tsx`)
- Header navigation → Mobile drawer: uses (evidence: `src/components/layout/header.tsx`)
- Header navigation → Theme switcher: uses (evidence: `src/components/layout/header.tsx`)
- Header navigation → CV download: uses (evidence: `src/components/layout/header.tsx`)
- Header navigation → Window size hook: reads size (evidence: `src/components/layout/header.tsx`)
- Header navigation → Portfolio data: reads navigation (evidence: `src/components/layout/header.tsx`)
- Skills section → Portfolio data: reads skills (evidence: `src/components/sections/skills.tsx`)
- Skills section → Technology details: renders (evidence: `src/components/sections/skills.tsx`)
- Work section → Portfolio data: reads projects (evidence: `src/components/sections/work.tsx`)
- Work section → Project details: renders (evidence: `src/components/sections/work.tsx`)
- Hero section → Social links: renders (evidence: `src/components/sections/hero.tsx`)
- Contact section → Social links: renders (evidence: `src/components/sections/contact.tsx`)
- Social links → Portfolio data: reads links (evidence: `src/components/data-display/social-icons.tsx`)
- Footer → Portfolio data: reads links (evidence: `src/components/layout/footer.tsx`)
- Portfolio page → Header navigation: includes
- Portfolio page → Footer: includes
- Portfolio page → Theme providers: configures
