# bidex001/portfolio architecture

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

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

## Overview

This repository implements a personal developer portfolio: visitors navigate About, Skills, Projects, and Contact views, inspect resume and project links, and can submit a message that is emailed through Resend. The page component owns tab selection and composes the shared navigation, content, and social footer. Contact submission is the main server-side workflow. Source excerpts show the page wiring and email path; unsampled portions of the large content component are represented at the component level rather than inferred in detail.

Main entry points: [`src/app/component/main.jsx`](https://github.com/bidex001/portfolio/blob/master/src/app/component/main.jsx) (Portfolio views), [`src/app/page.jsx`](https://github.com/bidex001/portfolio/blob/master/src/app/page.jsx) (Page coordinator), [`src/app/component/header.jsx`](https://github.com/bidex001/portfolio/blob/master/src/app/component/header.jsx) (Tab navigation), [`src/app/component/footer.jsx`](https://github.com/bidex001/portfolio/blob/master/src/app/component/footer.jsx) (Social links)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio_ui["Portfolio interface"]
  node_page["Page coordinator<br/>[page.jsx]"]
  node_header["Tab navigation<br/>[header.jsx]"]
  node_footer["Social links<br/>[footer.jsx]"]
  node_logo["Logo badge<br/>[logo-badge.jsx]"]
end

subgraph group_portfolio_content["Portfolio content"]
  node_main["Portfolio views<br/>[main.jsx]"]
  node_spotlight["Spotlight shell"]
  node_sparkles["Sparkle effects<br/>[sparkles.jsx]"]
  node_text_reveal["Text reveal<br/>[text-reveal.jsx]"]
  node_resume["Resume PDFs"]
end

subgraph group_contact_flow["Contact workflow"]
  node_contact_api["Contact endpoint<br/>[route.js]"]
  node_resend["Resend email service"]
end

node_visitor(("Visitor"))
node_project_sites(("Project destinations"))
node_social_platforms(("Social platforms"))

node_visitor -->|"opens portfolio"| node_page
node_page -->|"renders"| node_header
node_page -->|"renders"| node_main
node_page -->|"renders"| node_footer
node_page -->|"renders loading badge"| node_logo
node_header -->|"renders"| node_logo
node_header -->|"selects tab"| node_page
node_main -->|"renders sections in"| node_spotlight
node_main -->|"renders headings with"| node_text_reveal
node_spotlight -->|"optionally renders"| node_sparkles
node_main -->|"links resume"| node_resume
node_main -->|"links projects"| node_project_sites
node_main -->|"posts contact form"| node_contact_api
node_contact_api -->|"sends email through"| node_resend
node_footer -->|"links profiles"| node_social_platforms

click node_page "https://github.com/bidex001/portfolio/blob/master/src/app/page.jsx"
click node_header "https://github.com/bidex001/portfolio/blob/master/src/app/component/header.jsx"
click node_footer "https://github.com/bidex001/portfolio/blob/master/src/app/component/footer.jsx"
click node_logo "https://github.com/bidex001/portfolio/blob/master/src/app/component/logo-badge.jsx"
click node_main "https://github.com/bidex001/portfolio/blob/master/src/app/component/main.jsx"
click node_spotlight "https://github.com/bidex001/portfolio/blob/master/src/app/component/spotlight-shell.jsx"
click node_sparkles "https://github.com/bidex001/portfolio/blob/master/src/app/component/sparkles.jsx"
click node_text_reveal "https://github.com/bidex001/portfolio/blob/master/src/app/component/text-reveal.jsx"
click node_resume "https://github.com/bidex001/portfolio/blob/master/public/Adebayo%20Bidemi%20cv.pdf"
click node_contact_api "https://github.com/bidex001/portfolio/blob/master/src/app/api/contact/route.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_page,node_header,node_footer,node_logo toneBlue
class node_main,node_spotlight,node_sparkles,node_text_reveal,node_resume toneAmber
class node_contact_api,node_resend toneMint
class node_visitor,node_project_sites,node_social_platforms toneIndigo
```

## Components

### Portfolio interface

- [Page coordinator](https://github.com/bidex001/portfolio/blob/master/src/app/page.jsx): `src/app/page.jsx`
- [Tab navigation](https://github.com/bidex001/portfolio/blob/master/src/app/component/header.jsx): `src/app/component/header.jsx`
- [Social links](https://github.com/bidex001/portfolio/blob/master/src/app/component/footer.jsx): `src/app/component/footer.jsx`
- [Logo badge](https://github.com/bidex001/portfolio/blob/master/src/app/component/logo-badge.jsx): `src/app/component/logo-badge.jsx`

### Portfolio content

- [Portfolio views](https://github.com/bidex001/portfolio/blob/master/src/app/component/main.jsx): `src/app/component/main.jsx`
- [Spotlight shell](https://github.com/bidex001/portfolio/blob/master/src/app/component/spotlight-shell.jsx): `src/app/component/spotlight-shell.jsx`
- [Sparkle effects](https://github.com/bidex001/portfolio/blob/master/src/app/component/sparkles.jsx): `src/app/component/sparkles.jsx`
- [Text reveal](https://github.com/bidex001/portfolio/blob/master/src/app/component/text-reveal.jsx): `src/app/component/text-reveal.jsx`
- [Resume PDFs](https://github.com/bidex001/portfolio/blob/master/public/Adebayo%20Bidemi%20cv.pdf): `public/Adebayo Bidemi cv.pdf`

### Contact workflow

- [Contact endpoint](https://github.com/bidex001/portfolio/blob/master/src/app/api/contact/route.js): `src/app/api/contact/route.js`
- **Resend email service**

### Other components

- **Visitor**
- **Project destinations**
- **Social platforms**

## Connections

- Visitor → Page coordinator: opens portfolio (evidence: `src/app/page.jsx`)
- Page coordinator → Tab navigation: renders (evidence: `src/app/page.jsx`)
- Page coordinator → Portfolio views: renders (evidence: `src/app/page.jsx`)
- Page coordinator → Social links: renders (evidence: `src/app/page.jsx`)
- Page coordinator → Logo badge: renders loading badge (evidence: `src/app/page.jsx`)
- Tab navigation → Logo badge: renders (evidence: `src/app/component/header.jsx`)
- Tab navigation → Page coordinator: selects tab (evidence: `src/app/page.jsx`)
- Portfolio views → Spotlight shell: renders sections in (evidence: `src/app/component/main.jsx`)
- Portfolio views → Text reveal: renders headings with (evidence: `src/app/component/main.jsx`)
- Spotlight shell → Sparkle effects: optionally renders (evidence: `src/app/component/spotlight-shell.jsx`)
- Portfolio views → Resume PDFs: links resume (evidence: `src/app/component/main.jsx`)
- Portfolio views → Project destinations: links projects (evidence: `src/app/component/main.jsx`)
- Portfolio views → Contact endpoint: posts contact form (evidence: `src/app/component/main.jsx`)
- Contact endpoint → Resend email service: sends email through (evidence: `src/app/api/contact/route.js`)
- Social links → Social platforms: links profiles (evidence: `src/app/component/footer.jsx`)
