# rrezoncurraj/portfolio architecture

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

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

## Overview

This is a Next.js personal portfolio: visitors browse an interactive presentation, switch to a compact recruiter view, explore project case studies, and contact the portfolio owner. The homepage composes navigation, a command palette, and page content; page content selects between the animated sections and recruiter dashboard. Shared portfolio data supplies profile and project content, while a separate API route validates and sends contact messages. The README documents the major capabilities; some component implementations were not sampled, so their internal links are omitted where not evidenced.

Main entry points: [`src/components/PageContent.tsx`](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/PageContent.tsx) (View selector), [`src/data/portfolio.ts`](https://github.com/rrezoncurraj/portfolio/blob/main/src/data/portfolio.ts) (Portfolio data), [`src/app/page.tsx`](https://github.com/rrezoncurraj/portfolio/blob/main/src/app/page.tsx) (Home route), [`src/components/Projects.tsx`](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Projects.tsx) (Project cards)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio presentation"]
  node_home["Home route<br/>[page.tsx]"]
  node_pagecontent["View selector<br/>[PageContent.tsx]"]
  node_hero["Hero section<br/>[Hero.tsx]"]
  node_about["About section<br/>[About.tsx]"]
  node_skills["Skills section<br/>[Skills.tsx]"]
  node_projects["Project cards<br/>[Projects.tsx]"]
  node_contributions["Contributions section<br/>[Contributions.tsx]"]
  node_experience["Experience section<br/>[Experience.tsx]"]
  node_recruiter["Recruiter view"]
  node_casepage["Case study route<br/>[page.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_portfolio["Portfolio data<br/>[portfolio.ts]"]
end

subgraph group_interaction["Navigation and interaction"]
  node_navbar["Navigation bar<br/>[Navbar.tsx]"]
  node_palette["Command palette<br/>[CommandPalette.tsx]"]
  node_providers["Mode provider<br/>[Providers.tsx]"]
  node_textreveal["Text animation<br/>[TextReveal.tsx]"]
  node_smoothscroll["Smooth scrolling<br/>[SmoothScroll.tsx]"]
end

subgraph group_contact["Contact delivery"]
  node_contactform["Contact form<br/>[Contact.tsx]"]
  node_contactroute["Contact API<br/>[route.ts]"]
  node_validator["Input validation<br/>[contact.ts]"]
  node_resend["Resend email"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_pagecontent
node_home -->|"renders"| node_palette
node_pagecontent -->|"renders"| node_hero
node_pagecontent -->|"selects view"| node_recruiter
node_pagecontent -->|"renders"| node_about
node_pagecontent -->|"renders"| node_skills
node_pagecontent -->|"renders"| node_projects
node_pagecontent -->|"renders"| node_contributions
node_pagecontent -->|"renders"| node_experience
node_projects -->|"links to"| node_casepage
node_casepage -->|"reads"| node_portfolio
node_hero -->|"reads"| node_portfolio
node_projects -->|"reads"| node_portfolio
node_recruiter -->|"reads"| node_portfolio
node_contributions -->|"reads"| node_portfolio
node_experience -->|"reads"| node_portfolio
node_contactform -->|"reads"| node_portfolio
node_navbar -->|"uses mode"| node_providers
node_palette -->|"reads"| node_portfolio
node_projects -->|"renders"| node_textreveal
node_smoothscroll -->|"uses motion preference"| node_providers
node_contactform -.->|"submits message"| node_contactroute
node_contactroute -->|"validates with"| node_validator
node_contactroute -->|"reads recipient"| node_portfolio
node_contactroute -->|"sends email"| node_resend

click node_home "https://github.com/rrezoncurraj/portfolio/blob/main/src/app/page.tsx"
click node_pagecontent "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/PageContent.tsx"
click node_hero "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Hero.tsx"
click node_about "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/About.tsx"
click node_skills "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Skills.tsx"
click node_projects "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Projects.tsx"
click node_contributions "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Contributions.tsx"
click node_experience "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Experience.tsx"
click node_recruiter "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/RecruiterDashboard.tsx"
click node_casepage "https://github.com/rrezoncurraj/portfolio/blob/main/src/app/projects/%5Bslug%5D/page.tsx"
click node_portfolio "https://github.com/rrezoncurraj/portfolio/blob/main/src/data/portfolio.ts"
click node_navbar "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Navbar.tsx"
click node_palette "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/CommandPalette.tsx"
click node_providers "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Providers.tsx"
click node_textreveal "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/ui/TextReveal.tsx"
click node_smoothscroll "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/SmoothScroll.tsx"
click node_contactform "https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Contact.tsx"
click node_contactroute "https://github.com/rrezoncurraj/portfolio/blob/main/src/app/api/contact/route.ts"
click node_validator "https://github.com/rrezoncurraj/portfolio/blob/main/src/lib/contact.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_home,node_pagecontent,node_hero,node_about,node_skills,node_projects,node_contributions,node_experience,node_recruiter,node_casepage toneBlue
class node_portfolio toneAmber
class node_navbar,node_palette,node_providers,node_textreveal,node_smoothscroll toneMint
class node_contactform,node_contactroute,node_validator,node_resend toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio presentation

- [Home route](https://github.com/rrezoncurraj/portfolio/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [View selector](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/PageContent.tsx): `src/components/PageContent.tsx`
- [Hero section](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`
- [About section](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/About.tsx): `src/components/About.tsx`
- [Skills section](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Skills.tsx): `src/components/Skills.tsx`
- [Project cards](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Projects.tsx): `src/components/Projects.tsx`
- [Contributions section](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Contributions.tsx): `src/components/Contributions.tsx`
- [Experience section](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Experience.tsx): `src/components/Experience.tsx`
- [Recruiter view](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/RecruiterDashboard.tsx): `src/components/RecruiterDashboard.tsx`
- [Case study route](https://github.com/rrezoncurraj/portfolio/blob/main/src/app/projects/%5Bslug%5D/page.tsx): `src/app/projects/[slug]/page.tsx`

### Portfolio content

- [Portfolio data](https://github.com/rrezoncurraj/portfolio/blob/main/src/data/portfolio.ts): `src/data/portfolio.ts`

### Navigation and interaction

- [Navigation bar](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Command palette](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/CommandPalette.tsx): `src/components/CommandPalette.tsx`
- [Mode provider](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Providers.tsx): `src/components/Providers.tsx`
- [Text animation](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/ui/TextReveal.tsx): `src/components/ui/TextReveal.tsx`
- [Smooth scrolling](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/SmoothScroll.tsx): `src/components/SmoothScroll.tsx`

### Contact delivery

- [Contact form](https://github.com/rrezoncurraj/portfolio/blob/main/src/components/Contact.tsx): `src/components/Contact.tsx`
- [Contact API](https://github.com/rrezoncurraj/portfolio/blob/main/src/app/api/contact/route.ts): `src/app/api/contact/route.ts`
- [Input validation](https://github.com/rrezoncurraj/portfolio/blob/main/src/lib/contact.ts): `src/lib/contact.ts`
- **Resend email**

### Other components

- **Visitor**

## Connections

- Visitor → Home route: opens (evidence: `src/app/page.tsx`)
- Home route → Navigation bar: renders (evidence: `src/app/page.tsx`)
- Home route → View selector: renders (evidence: `src/app/page.tsx`)
- Home route → Command palette: renders (evidence: `src/app/page.tsx`)
- View selector → Hero section: renders (evidence: `src/components/PageContent.tsx`)
- View selector → Recruiter view: selects view (evidence: `src/components/PageContent.tsx`)
- View selector → About section: renders (evidence: `src/components/PageContent.tsx`)
- View selector → Skills section: renders (evidence: `src/components/PageContent.tsx`)
- View selector → Project cards: renders (evidence: `src/components/PageContent.tsx`)
- View selector → Contributions section: renders (evidence: `src/components/PageContent.tsx`)
- View selector → Experience section: renders (evidence: `src/components/PageContent.tsx`)
- Project cards → Case study route: links to (evidence: `src/components/Projects.tsx`)
- Case study route → Portfolio data: reads (evidence: `src/app/projects/[slug]/page.tsx`)
- Hero section → Portfolio data: reads (evidence: `src/components/Hero.tsx`)
- Project cards → Portfolio data: reads (evidence: `src/components/Projects.tsx`)
- Recruiter view → Portfolio data: reads (evidence: `src/components/RecruiterDashboard.tsx`)
- Contributions section → Portfolio data: reads (evidence: `src/components/Contributions.tsx`)
- Experience section → Portfolio data: reads (evidence: `src/components/Experience.tsx`)
- Contact form → Portfolio data: reads (evidence: `src/components/Contact.tsx`)
- Navigation bar → Mode provider: uses mode (evidence: `src/components/Navbar.tsx`)
- Command palette → Portfolio data: reads (evidence: `src/components/CommandPalette.tsx`)
- Project cards → Text animation: renders (evidence: `src/components/Projects.tsx`)
- Smooth scrolling → Mode provider: uses motion preference (evidence: `src/components/SmoothScroll.tsx`)
- Contact form → Contact API: submits message
- Contact API → Input validation: validates with (evidence: `src/app/api/contact/route.ts`)
- Contact API → Portfolio data: reads recipient (evidence: `src/app/api/contact/route.ts`)
- Contact API → Resend email: sends email (evidence: `src/app/api/contact/route.ts`)
