# outis62/zabre-portfolio architecture

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

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

## Overview

This is a personal portfolio and professional-services site. Visitors browse the home profile, project work, service descriptions, and résumé, or submit a contact request. The contact flow is shown from the page through form state and a POST to the email API; the API’s internal delivery behavior is not established by the excerpts. The graph preserves the major portfolio and contact branches, while omitting unsupported internal links for unsampled modules.

Main entry points: [`app/page.jsx`](https://github.com/outis62/zabre-portfolio/blob/main/app/page.jsx) (Home page), [`app/layout.jsx`](https://github.com/outis62/zabre-portfolio/blob/main/app/layout.jsx) (Site shell), [`app/work/page.jsx`](https://github.com/outis62/zabre-portfolio/blob/main/app/work/page.jsx) (Work page), [`components/Header.jsx`](https://github.com/outis62/zabre-portfolio/blob/main/components/Header.jsx) (Header and navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routes["Pages and routes"]
  node_home_page["Home page<br/>[page.jsx]"]
  node_work_page["Work page<br/>[page.jsx]"]
  node_services_page["Services page<br/>[page.jsx]"]
  node_service_detail["Service detail<br/>[page.jsx]"]
  node_resume_page["Résumé page<br/>[page.jsx]"]
  node_contact_page["Contact page<br/>[page.jsx]"]
  node_site_shell["Site shell<br/>[layout.jsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_profile_content["Profile content<br/>[Home.jsx]"]
  node_profile_photo["Profile photo<br/>[Photo.jsx]"]
  node_profile_stats["Profile stats<br/>[Stats.jsx]"]
  node_project_gallery["Project gallery<br/>[Work.jsx]"]
  node_project_data["Project data<br/>[projects.data.js]"]
  node_project_slider["Slider controls<br/>[WorkSliderBtns.jsx]"]
  node_slider_state["Slider state"]
  node_service_data["Service data<br/>[services.ts]"]
  node_resume_content["Résumé content<br/>[Resume.jsx]"]
  node_resume_data["Résumé data<br/>[resume.config.js]"]
  node_home_data["Home configuration<br/>[home.config.js]"]
end

subgraph group_contact["Contact flow"]
  node_contact_form["Contact form UI<br/>[Contact.jsx]"]
  node_contact_state["Contact form state<br/>[useContactForm.js]"]
  node_contact_config["Contact configuration<br/>[contact.config.js]"]
  node_email_api["Email API route<br/>[route.js]"]
  node_contact_service["Contact service<br/>[contact.service.ts]"]
end

subgraph group_shared["Shared interface"]
  node_site_header["Header and navigation<br/>[Header.jsx]"]
  node_desktop_nav["Desktop navigation<br/>[Nav.jsx]"]
  node_mobile_nav["Mobile navigation<br/>[MobileNav.jsx]"]
  node_site_footer["Footer<br/>[Footer.jsx]"]
  node_transitions["Page transitions<br/>[PageTransition.jsx]"]
  node_stair_transition["Stair transition"]
  node_stairs["Stair visuals<br/>[Stairs.jsx]"]
  node_ui_button["Button UI<br/>[button.jsx]"]
  node_ui_scroll["Scroll area UI<br/>[scroll-area.jsx]"]
  node_ui_sheet["Sheet UI<br/>[sheet.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home_page
node_visitor -->|"opens"| node_work_page
node_visitor -->|"opens"| node_services_page
node_visitor -->|"opens"| node_service_detail
node_visitor -->|"opens"| node_resume_page
node_visitor -->|"opens"| node_contact_page
node_home_page -->|"renders"| node_profile_content
node_home_page -->|"renders"| node_profile_photo
node_home_page -->|"renders"| node_profile_stats
node_home_page -->|"reads"| node_home_data
node_work_page -->|"renders"| node_project_gallery
node_work_page -->|"reads"| node_project_data
node_work_page -->|"uses"| node_slider_state
node_project_gallery -->|"renders"| node_project_slider
node_services_page -->|"reads"| node_service_data
node_service_detail -->|"looks up"| node_service_data
node_resume_page -->|"renders"| node_resume_content
node_resume_page -->|"reads"| node_resume_data
node_contact_page -->|"renders"| node_contact_form
node_contact_page -->|"uses"| node_contact_state
node_contact_state -->|"reads"| node_contact_config
node_contact_state -->|"POSTs to"| node_email_api
node_contact_form -->|"reads"| node_contact_config
node_site_shell -->|"renders"| node_site_header
node_site_shell -->|"renders"| node_site_footer
node_site_shell -->|"renders"| node_transitions
node_site_shell -->|"renders"| node_stair_transition
node_site_header -->|"renders"| node_desktop_nav
node_site_header -->|"renders"| node_mobile_nav
node_stair_transition -->|"renders"| node_stairs
node_site_header -->|"uses"| node_ui_button
node_mobile_nav -->|"uses"| node_ui_sheet
node_resume_content -->|"uses"| node_ui_scroll

click node_home_page "https://github.com/outis62/zabre-portfolio/blob/main/app/page.jsx"
click node_work_page "https://github.com/outis62/zabre-portfolio/blob/main/app/work/page.jsx"
click node_services_page "https://github.com/outis62/zabre-portfolio/blob/main/app/services/page.jsx"
click node_service_detail "https://github.com/outis62/zabre-portfolio/blob/main/app/services/%5Bslug%5D/page.jsx"
click node_resume_page "https://github.com/outis62/zabre-portfolio/blob/main/app/resume/page.jsx"
click node_contact_page "https://github.com/outis62/zabre-portfolio/blob/main/app/contact/page.jsx"
click node_site_shell "https://github.com/outis62/zabre-portfolio/blob/main/app/layout.jsx"
click node_profile_content "https://github.com/outis62/zabre-portfolio/blob/main/components/Home.jsx"
click node_profile_photo "https://github.com/outis62/zabre-portfolio/blob/main/components/Photo.jsx"
click node_profile_stats "https://github.com/outis62/zabre-portfolio/blob/main/components/Stats.jsx"
click node_project_gallery "https://github.com/outis62/zabre-portfolio/blob/main/components/Work.jsx"
click node_project_data "https://github.com/outis62/zabre-portfolio/blob/main/utils/projects.data.js"
click node_project_slider "https://github.com/outis62/zabre-portfolio/blob/main/components/WorkSliderBtns.jsx"
click node_slider_state "https://github.com/outis62/zabre-portfolio/blob/main/hooks/Useprojectslider.js"
click node_service_data "https://github.com/outis62/zabre-portfolio/blob/main/utils/services.ts"
click node_resume_content "https://github.com/outis62/zabre-portfolio/blob/main/components/Resume.jsx"
click node_resume_data "https://github.com/outis62/zabre-portfolio/blob/main/config/resume.config.js"
click node_home_data "https://github.com/outis62/zabre-portfolio/blob/main/config/home.config.js"
click node_contact_form "https://github.com/outis62/zabre-portfolio/blob/main/components/form/Contact.jsx"
click node_contact_state "https://github.com/outis62/zabre-portfolio/blob/main/hooks/useContactForm.js"
click node_contact_config "https://github.com/outis62/zabre-portfolio/blob/main/config/contact.config.js"
click node_email_api "https://github.com/outis62/zabre-portfolio/blob/main/app/api/send-email/route.js"
click node_contact_service "https://github.com/outis62/zabre-portfolio/blob/main/services/contact.service.ts"
click node_site_header "https://github.com/outis62/zabre-portfolio/blob/main/components/Header.jsx"
click node_desktop_nav "https://github.com/outis62/zabre-portfolio/blob/main/components/Nav.jsx"
click node_mobile_nav "https://github.com/outis62/zabre-portfolio/blob/main/components/MobileNav.jsx"
click node_site_footer "https://github.com/outis62/zabre-portfolio/blob/main/components/Footer.jsx"
click node_transitions "https://github.com/outis62/zabre-portfolio/blob/main/components/PageTransition.jsx"
click node_stair_transition "https://github.com/outis62/zabre-portfolio/blob/main/components/StairTransition.jsx"
click node_stairs "https://github.com/outis62/zabre-portfolio/blob/main/components/Stairs.jsx"
click node_ui_button "https://github.com/outis62/zabre-portfolio/blob/main/components/ui/button.jsx"
click node_ui_scroll "https://github.com/outis62/zabre-portfolio/blob/main/components/ui/scroll-area.jsx"
click node_ui_sheet "https://github.com/outis62/zabre-portfolio/blob/main/components/ui/sheet.jsx"

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_page,node_work_page,node_services_page,node_service_detail,node_resume_page,node_contact_page,node_site_shell toneBlue
class node_profile_content,node_profile_photo,node_profile_stats,node_project_gallery,node_project_data,node_project_slider,node_slider_state,node_service_data,node_resume_content,node_resume_data,node_home_data toneAmber
class node_contact_form,node_contact_state,node_contact_config,node_email_api,node_contact_service toneMint
class node_site_header,node_desktop_nav,node_mobile_nav,node_site_footer,node_transitions,node_stair_transition,node_stairs,node_ui_button,node_ui_scroll,node_ui_sheet toneRose
class node_visitor toneIndigo
```

## Components

### Pages and routes

- [Home page](https://github.com/outis62/zabre-portfolio/blob/main/app/page.jsx): `app/page.jsx`
- [Work page](https://github.com/outis62/zabre-portfolio/blob/main/app/work/page.jsx): `app/work/page.jsx`
- [Services page](https://github.com/outis62/zabre-portfolio/blob/main/app/services/page.jsx): `app/services/page.jsx`
- [Service detail](https://github.com/outis62/zabre-portfolio/blob/main/app/services/%5Bslug%5D/page.jsx): `app/services/[slug]/page.jsx`
- [Résumé page](https://github.com/outis62/zabre-portfolio/blob/main/app/resume/page.jsx): `app/resume/page.jsx`
- [Contact page](https://github.com/outis62/zabre-portfolio/blob/main/app/contact/page.jsx): `app/contact/page.jsx`
- [Site shell](https://github.com/outis62/zabre-portfolio/blob/main/app/layout.jsx): `app/layout.jsx`

### Portfolio content

- [Profile content](https://github.com/outis62/zabre-portfolio/blob/main/components/Home.jsx): `components/Home.jsx`
- [Profile photo](https://github.com/outis62/zabre-portfolio/blob/main/components/Photo.jsx): `components/Photo.jsx`
- [Profile stats](https://github.com/outis62/zabre-portfolio/blob/main/components/Stats.jsx): `components/Stats.jsx`
- [Project gallery](https://github.com/outis62/zabre-portfolio/blob/main/components/Work.jsx): `components/Work.jsx`
- [Project data](https://github.com/outis62/zabre-portfolio/blob/main/utils/projects.data.js): `utils/projects.data.js`
- [Slider controls](https://github.com/outis62/zabre-portfolio/blob/main/components/WorkSliderBtns.jsx): `components/WorkSliderBtns.jsx`
- [Slider state](https://github.com/outis62/zabre-portfolio/blob/main/hooks/Useprojectslider.js): `hooks/Useprojectslider.js`
- [Service data](https://github.com/outis62/zabre-portfolio/blob/main/utils/services.ts): `utils/services.ts`
- [Résumé content](https://github.com/outis62/zabre-portfolio/blob/main/components/Resume.jsx): `components/Resume.jsx`
- [Résumé data](https://github.com/outis62/zabre-portfolio/blob/main/config/resume.config.js): `config/resume.config.js`
- [Home configuration](https://github.com/outis62/zabre-portfolio/blob/main/config/home.config.js): `config/home.config.js`

### Contact flow

- [Contact form UI](https://github.com/outis62/zabre-portfolio/blob/main/components/form/Contact.jsx): `components/form/Contact.jsx`
- [Contact form state](https://github.com/outis62/zabre-portfolio/blob/main/hooks/useContactForm.js): `hooks/useContactForm.js`
- [Contact configuration](https://github.com/outis62/zabre-portfolio/blob/main/config/contact.config.js): `config/contact.config.js`
- [Email API route](https://github.com/outis62/zabre-portfolio/blob/main/app/api/send-email/route.js): `app/api/send-email/route.js`
- [Contact service](https://github.com/outis62/zabre-portfolio/blob/main/services/contact.service.ts): `services/contact.service.ts`

### Shared interface

- [Header and navigation](https://github.com/outis62/zabre-portfolio/blob/main/components/Header.jsx): `components/Header.jsx`
- [Desktop navigation](https://github.com/outis62/zabre-portfolio/blob/main/components/Nav.jsx): `components/Nav.jsx`
- [Mobile navigation](https://github.com/outis62/zabre-portfolio/blob/main/components/MobileNav.jsx): `components/MobileNav.jsx`
- [Footer](https://github.com/outis62/zabre-portfolio/blob/main/components/Footer.jsx): `components/Footer.jsx`
- [Page transitions](https://github.com/outis62/zabre-portfolio/blob/main/components/PageTransition.jsx): `components/PageTransition.jsx`
- [Stair transition](https://github.com/outis62/zabre-portfolio/blob/main/components/StairTransition.jsx): `components/StairTransition.jsx`
- [Stair visuals](https://github.com/outis62/zabre-portfolio/blob/main/components/Stairs.jsx): `components/Stairs.jsx`
- [Button UI](https://github.com/outis62/zabre-portfolio/blob/main/components/ui/button.jsx): `components/ui/button.jsx`
- [Scroll area UI](https://github.com/outis62/zabre-portfolio/blob/main/components/ui/scroll-area.jsx): `components/ui/scroll-area.jsx`
- [Sheet UI](https://github.com/outis62/zabre-portfolio/blob/main/components/ui/sheet.jsx): `components/ui/sheet.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens
- Visitor → Work page: opens
- Visitor → Services page: opens
- Visitor → Service detail: opens
- Visitor → Résumé page: opens
- Visitor → Contact page: opens
- Home page → Profile content: renders (evidence: `app/page.jsx`)
- Home page → Profile photo: renders (evidence: `app/page.jsx`)
- Home page → Profile stats: renders (evidence: `app/page.jsx`)
- Home page → Home configuration: reads (evidence: `app/page.jsx`)
- Work page → Project gallery: renders (evidence: `app/work/page.jsx`)
- Work page → Project data: reads (evidence: `app/work/page.jsx`)
- Work page → Slider state: uses (evidence: `app/work/page.jsx`)
- Project gallery → Slider controls: renders (evidence: `components/Work.jsx`)
- Services page → Service data: reads (evidence: `app/services/page.jsx`)
- Service detail → Service data: looks up (evidence: `app/services/[slug]/page.jsx`)
- Résumé page → Résumé content: renders (evidence: `app/resume/page.jsx`)
- Résumé page → Résumé data: reads (evidence: `app/resume/page.jsx`)
- Contact page → Contact form UI: renders (evidence: `app/contact/page.jsx`)
- Contact page → Contact form state: uses (evidence: `app/contact/page.jsx`)
- Contact form state → Contact configuration: reads (evidence: `hooks/useContactForm.js`)
- Contact form state → Email API route: POSTs to (evidence: `hooks/useContactForm.js`)
- Contact form UI → Contact configuration: reads (evidence: `components/form/Contact.jsx`)
- Site shell → Header and navigation: renders (evidence: `app/layout.jsx`)
- Site shell → Footer: renders (evidence: `app/layout.jsx`)
- Site shell → Page transitions: renders (evidence: `app/layout.jsx`)
- Site shell → Stair transition: renders (evidence: `app/layout.jsx`)
- Header and navigation → Desktop navigation: renders (evidence: `components/Header.jsx`)
- Header and navigation → Mobile navigation: renders (evidence: `components/Header.jsx`)
- Stair transition → Stair visuals: renders (evidence: `components/StairTransition.jsx`)
- Header and navigation → Button UI: uses (evidence: `components/Header.jsx`)
- Mobile navigation → Sheet UI: uses (evidence: `components/MobileNav.jsx`)
- Résumé content → Scroll area UI: uses (evidence: `components/Resume.jsx`)
