# abd523/potfolio architecture

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

- Interactive diagram: https://gitdiagram.com/abd523/potfolio
- Repository: https://github.com/abd523/potfolio

## Overview

This repository is a single-page developer portfolio built with Next.js. A visitor opens the home page, which assembles the hero, project gallery, navigation, and contact footer; project data supplies both the hero previews and gallery cards. The main internal layers are the app shell, page composition, reusable presentation components, and project content. Edges reflect imports and data use shown in excerpts; no backend or persistent store is evidenced.

Main entry points: [`app/page.tsx`](https://github.com/abd523/potfolio/blob/main/app/page.tsx) (Home page), [`components/Navbar.tsx`](https://github.com/abd523/potfolio/blob/main/components/Navbar.tsx) (Navigation), [`components/Projects.tsx`](https://github.com/abd523/potfolio/blob/main/components/Projects.tsx) (Project gallery), [`components/Hero.tsx`](https://github.com/abd523/potfolio/blob/main/components/Hero.tsx) (Hero section)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App shell"]
  node_home["Home page<br/>[page.tsx]"]
  node_layout["Root layout<br/>[layout.tsx]"]
  node_styles["Global styles<br/>[globals.css]"]
end

subgraph group_presentation["Portfolio interface"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_mobile["Mobile menu<br/>[MobileMenu.tsx]"]
  node_hero["Hero section<br/>[Hero.tsx]"]
  node_button["Action button<br/>[Button.tsx]"]
  node_projects["Project gallery<br/>[Projects.tsx]"]
  node_card["Project card<br/>[ProjectCard.tsx]"]
  node_title["Section title<br/>[SectionTitle.tsx]"]
  node_badge["Technology badge<br/>[TechBadge.tsx]"]
  node_footer["Contact footer<br/>[Footer.tsx]"]
end

subgraph group_content["Project content"]
  node_projectdata["Project catalog<br/>[projects.ts]"]
end

node_visitor(("Visitor"))
node_external(("Linked project sites"))

node_visitor -->|"opens"| node_home
node_home -->|"renders within"| node_layout
node_layout -->|"imports"| node_styles
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_footer
node_navbar -->|"renders"| node_button
node_navbar -->|"renders"| node_mobile
node_navbar -->|"reads"| node_projectdata
node_hero -->|"renders"| node_button
node_hero -->|"reads"| node_projectdata
node_projects -->|"renders"| node_title
node_projects -->|"renders"| node_card
node_projects -->|"reads"| node_projectdata
node_card -->|"renders"| node_badge
node_card -->|"links to"| node_external

click node_home "https://github.com/abd523/potfolio/blob/main/app/page.tsx"
click node_layout "https://github.com/abd523/potfolio/blob/main/app/layout.tsx"
click node_styles "https://github.com/abd523/potfolio/blob/main/app/globals.css"
click node_navbar "https://github.com/abd523/potfolio/blob/main/components/Navbar.tsx"
click node_mobile "https://github.com/abd523/potfolio/blob/main/components/MobileMenu.tsx"
click node_hero "https://github.com/abd523/potfolio/blob/main/components/Hero.tsx"
click node_button "https://github.com/abd523/potfolio/blob/main/components/Button.tsx"
click node_projects "https://github.com/abd523/potfolio/blob/main/components/Projects.tsx"
click node_card "https://github.com/abd523/potfolio/blob/main/components/ProjectCard.tsx"
click node_title "https://github.com/abd523/potfolio/blob/main/components/SectionTitle.tsx"
click node_badge "https://github.com/abd523/potfolio/blob/main/components/TechBadge.tsx"
click node_footer "https://github.com/abd523/potfolio/blob/main/components/Footer.tsx"
click node_projectdata "https://github.com/abd523/potfolio/blob/main/data/projects.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_layout,node_styles toneBlue
class node_navbar,node_mobile,node_hero,node_button,node_projects,node_card,node_title,node_badge,node_footer toneAmber
class node_projectdata toneMint
class node_visitor,node_external toneIndigo
```

## Components

### App shell

- [Home page](https://github.com/abd523/potfolio/blob/main/app/page.tsx): `app/page.tsx`
- [Root layout](https://github.com/abd523/potfolio/blob/main/app/layout.tsx): `app/layout.tsx`
- [Global styles](https://github.com/abd523/potfolio/blob/main/app/globals.css): `app/globals.css`

### Portfolio interface

- [Navigation](https://github.com/abd523/potfolio/blob/main/components/Navbar.tsx): `components/Navbar.tsx`
- [Mobile menu](https://github.com/abd523/potfolio/blob/main/components/MobileMenu.tsx): `components/MobileMenu.tsx`
- [Hero section](https://github.com/abd523/potfolio/blob/main/components/Hero.tsx): `components/Hero.tsx`
- [Action button](https://github.com/abd523/potfolio/blob/main/components/Button.tsx): `components/Button.tsx`
- [Project gallery](https://github.com/abd523/potfolio/blob/main/components/Projects.tsx): `components/Projects.tsx`
- [Project card](https://github.com/abd523/potfolio/blob/main/components/ProjectCard.tsx): `components/ProjectCard.tsx`
- [Section title](https://github.com/abd523/potfolio/blob/main/components/SectionTitle.tsx): `components/SectionTitle.tsx`
- [Technology badge](https://github.com/abd523/potfolio/blob/main/components/TechBadge.tsx): `components/TechBadge.tsx`
- [Contact footer](https://github.com/abd523/potfolio/blob/main/components/Footer.tsx): `components/Footer.tsx`

### Project content

- [Project catalog](https://github.com/abd523/potfolio/blob/main/data/projects.ts): `data/projects.ts`

### Other components

- **Visitor**
- **Linked project sites**

## Connections

- Visitor → Home page: opens (evidence: `README.md`)
- Home page → Root layout: renders within (evidence: `app/page.tsx`)
- Root layout → Global styles: imports (evidence: `app/layout.tsx`)
- Home page → Navigation: renders (evidence: `app/page.tsx`)
- Home page → Hero section: renders (evidence: `app/page.tsx`)
- Home page → Project gallery: renders (evidence: `app/page.tsx`)
- Home page → Contact footer: renders (evidence: `app/page.tsx`)
- Navigation → Action button: renders (evidence: `components/Navbar.tsx`)
- Navigation → Mobile menu: renders (evidence: `components/Navbar.tsx`)
- Navigation → Project catalog: reads (evidence: `components/Navbar.tsx`)
- Hero section → Action button: renders (evidence: `components/Hero.tsx`)
- Hero section → Project catalog: reads (evidence: `components/Hero.tsx`)
- Project gallery → Section title: renders (evidence: `components/Projects.tsx`)
- Project gallery → Project card: renders (evidence: `components/Projects.tsx`)
- Project gallery → Project catalog: reads (evidence: `components/Projects.tsx`)
- Project card → Technology badge: renders (evidence: `components/ProjectCard.tsx`)
- Project card → Linked project sites: links to (evidence: `components/ProjectCard.tsx`)
