# bilgehankabakas/portfolio architecture

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

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

## Overview

This is a personal portfolio site presenting a developer’s profile, work history, skills, education, downloadable CV, and contact links. A visitor reaches the page through the Next.js home route, browses its sections, and can follow contact links or open/download the CV. The page composes the sections; shared CV data supplies most of their content, while the side rail tracks and navigates between sections. Components not excerpted are included from the source index; their internal behavior is not inferred beyond listed imports.

Main entry points: [`src/app/page.tsx`](https://github.com/bilgehankabakas/portfolio/blob/main/src/app/page.tsx) (Home page), [`src/components/SectionHeading.tsx`](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/SectionHeading.tsx) (Section heading), [`src/data/cv.ts`](https://github.com/bilgehankabakas/portfolio/blob/main/src/data/cv.ts) (Portfolio data), [`src/components/Contact.tsx`](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Contact.tsx) (Contact section)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Page composition"]
  node_home["Home page<br/>[page.tsx]"]
  node_layout["App layout<br/>[layout.tsx]"]
end

subgraph group_portfolio["Portfolio sections"]
  node_hero["Profile hero<br/>[Hero.tsx]"]
  node_about["About<br/>[About.tsx]"]
  node_experience["Experience<br/>[Experience.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_education["Education<br/>[Education.tsx]"]
  node_cv["CV section<br/>[CV.tsx]"]
  node_contact["Contact section<br/>[Contact.tsx]"]
end

subgraph group_shared["Content and navigation"]
  node_siderail["Section rail<br/>[SideRail.tsx]"]
  node_rolecycler["Role cycler<br/>[RoleCycler.tsx]"]
  node_heading["Section heading<br/>[SectionHeading.tsx]"]
  node_icons["Brand icons<br/>[BrandIcons.tsx]"]
  node_activehook["Active section hook"]
  node_cvdata["Portfolio data<br/>[cv.ts]"]
end

node_visitor(("Visitor"))
node_cvfile["CV PDF"]

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_siderail
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_education
node_home -->|"renders"| node_cv
node_home -->|"renders"| node_contact
node_hero -->|"renders"| node_rolecycler
node_hero -->|"reads profile"| node_cvdata
node_about -->|"reads profile"| node_cvdata
node_experience -->|"reads experience"| node_cvdata
node_skills -->|"reads skills"| node_cvdata
node_education -->|"reads education"| node_cvdata
node_contact -->|"reads contact"| node_cvdata
node_contact -->|"renders"| node_icons
node_siderail -->|"tracks sections"| node_activehook
node_cv -->|"links to"| node_cvfile
node_about -->|"uses heading"| node_heading
node_experience -->|"uses heading"| node_heading
node_skills -->|"uses heading"| node_heading
node_education -->|"uses heading"| node_heading
node_cv -->|"uses heading"| node_heading
node_contact -->|"uses heading"| node_heading
node_layout -.->|"provides app shell"| node_home

click node_home "https://github.com/bilgehankabakas/portfolio/blob/main/src/app/page.tsx"
click node_layout "https://github.com/bilgehankabakas/portfolio/blob/main/src/app/layout.tsx"
click node_hero "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Hero.tsx"
click node_about "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/About.tsx"
click node_experience "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Experience.tsx"
click node_skills "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Skills.tsx"
click node_education "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Education.tsx"
click node_cv "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/CV.tsx"
click node_contact "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Contact.tsx"
click node_siderail "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/SideRail.tsx"
click node_rolecycler "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/RoleCycler.tsx"
click node_heading "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/SectionHeading.tsx"
click node_icons "https://github.com/bilgehankabakas/portfolio/blob/main/src/components/BrandIcons.tsx"
click node_activehook "https://github.com/bilgehankabakas/portfolio/blob/main/src/lib/useActiveSection.ts"
click node_cvdata "https://github.com/bilgehankabakas/portfolio/blob/main/src/data/cv.ts"
click node_cvfile "https://github.com/bilgehankabakas/portfolio/blob/main/public/cv/Bilgehan-Kabakas-CV.pdf"

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_layout toneBlue
class node_hero,node_about,node_experience,node_skills,node_education,node_cv,node_contact toneAmber
class node_siderail,node_rolecycler,node_heading,node_icons,node_activehook,node_cvdata toneMint
class node_visitor toneIndigo
class node_cvfile toneTeal
```

## Components

### Page composition

- [Home page](https://github.com/bilgehankabakas/portfolio/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [App layout](https://github.com/bilgehankabakas/portfolio/blob/main/src/app/layout.tsx): `src/app/layout.tsx`

### Portfolio sections

- [Profile hero](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`
- [About](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/About.tsx): `src/components/About.tsx`
- [Experience](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Experience.tsx): `src/components/Experience.tsx`
- [Skills](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Skills.tsx): `src/components/Skills.tsx`
- [Education](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Education.tsx): `src/components/Education.tsx`
- [CV section](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/CV.tsx): `src/components/CV.tsx`
- [Contact section](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/Contact.tsx): `src/components/Contact.tsx`

### Content and navigation

- [Section rail](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/SideRail.tsx): `src/components/SideRail.tsx`
- [Role cycler](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/RoleCycler.tsx): `src/components/RoleCycler.tsx`
- [Section heading](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/SectionHeading.tsx): `src/components/SectionHeading.tsx`
- [Brand icons](https://github.com/bilgehankabakas/portfolio/blob/main/src/components/BrandIcons.tsx): `src/components/BrandIcons.tsx`
- [Active section hook](https://github.com/bilgehankabakas/portfolio/blob/main/src/lib/useActiveSection.ts): `src/lib/useActiveSection.ts`
- [Portfolio data](https://github.com/bilgehankabakas/portfolio/blob/main/src/data/cv.ts): `src/data/cv.ts`

### Other components

- **Visitor**
- [CV PDF](https://github.com/bilgehankabakas/portfolio/blob/main/public/cv/Bilgehan-Kabakas-CV.pdf): `public/cv/Bilgehan-Kabakas-CV.pdf`

## Connections

- Visitor → Home page: opens
- Home page → Section rail: renders (evidence: `src/app/page.tsx`)
- Home page → Profile hero: renders (evidence: `src/app/page.tsx`)
- Home page → About: renders (evidence: `src/app/page.tsx`)
- Home page → Experience: renders (evidence: `src/app/page.tsx`)
- Home page → Skills: renders (evidence: `src/app/page.tsx`)
- Home page → Education: renders (evidence: `src/app/page.tsx`)
- Home page → CV section: renders (evidence: `src/app/page.tsx`)
- Home page → Contact section: renders (evidence: `src/app/page.tsx`)
- Profile hero → Role cycler: renders (evidence: `src/components/Hero.tsx`)
- Profile hero → Portfolio data: reads profile (evidence: `src/components/Hero.tsx`)
- About → Portfolio data: reads profile (evidence: `src/components/About.tsx`)
- Experience → Portfolio data: reads experience (evidence: `src/components/Experience.tsx`)
- Skills → Portfolio data: reads skills (evidence: `src/components/Skills.tsx`)
- Education → Portfolio data: reads education (evidence: `src/components/Education.tsx`)
- Contact section → Portfolio data: reads contact (evidence: `src/components/Contact.tsx`)
- Contact section → Brand icons: renders (evidence: `src/components/Contact.tsx`)
- Section rail → Active section hook: tracks sections (evidence: `src/components/SideRail.tsx`)
- CV section → CV PDF: links to (evidence: `src/components/CV.tsx`)
- About → Section heading: uses heading (evidence: `src/components/About.tsx`)
- Experience → Section heading: uses heading (evidence: `src/components/Experience.tsx`)
- Skills → Section heading: uses heading (evidence: `src/components/Skills.tsx`)
- Education → Section heading: uses heading (evidence: `src/components/Education.tsx`)
- CV section → Section heading: uses heading (evidence: `src/components/CV.tsx`)
- Contact section → Section heading: uses heading (evidence: `src/components/Contact.tsx`)
- App layout → Home page: provides app shell
