# jervz09/jervy-portfolio architecture

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

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

## Overview

This is a Next.js personal portfolio presenting Jervy Ariola’s profile, career history, skills, certifications, and project case studies. Visitors browse the home page’s sections, can open project detail pages, download a resume, and submit a contact message. Content is centralized in typed data modules; the contact endpoint delegates message handling and sends through Gmail SMTP when configured. The graph follows documented and indexed relationships; some implementation details, including the resume route, were not excerpted.

Main entry points: [`data/profile.ts`](https://github.com/jervz09/jervy-portfolio/blob/main/data/profile.ts) (Profile content), [`components/sections`](https://github.com/jervz09/jervy-portfolio/tree/main/components/sections) (Profile sections), [`data/seo.ts`](https://github.com/jervz09/jervy-portfolio/blob/main/data/seo.ts) (SEO settings), [`app/page.tsx`](https://github.com/jervz09/jervy-portfolio/blob/main/app/page.tsx) (Home page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio experience"]
  node_home["Home page<br/>[page.tsx]"]
  node_navigation["Navigation<br/>[navbar.tsx]"]
  node_profile_sections["Profile sections"]
  node_projects_section["Project showcase<br/>[projects.tsx]"]
  node_project_detail["Project details<br/>[page.tsx]"]
  node_resume_route["Resume download<br/>[route.ts]"]
  node_contact_section["Contact section<br/>[contact.tsx]"]
  node_contact_form["Contact form<br/>[contact-form.tsx]"]
  node_layout["Root layout<br/>[layout.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_profile_data["Profile content<br/>[profile.ts]"]
  node_project_data["Project content<br/>[projects.ts]"]
  node_experience_data["Experience content<br/>[experience.ts]"]
  node_skills_data["Skills content<br/>[skills.ts]"]
  node_certifications_data["Certification content<br/>[certifications.ts]"]
end

subgraph group_contact["Contact delivery"]
  node_contact_route["Contact endpoint<br/>[route.ts]"]
  node_contact_handler["Contact handler<br/>[contact.ts]"]
  node_gmail{{"Gmail SMTP"}}
end

subgraph group_discovery["Site discovery"]
  node_seo_data["SEO settings<br/>[seo.ts]"]
  node_robots["Robots metadata<br/>[robots.ts]"]
  node_sitemap["Sitemap<br/>[sitemap.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_navigation
node_home -->|"renders"| node_profile_sections
node_home -->|"renders"| node_projects_section
node_projects_section -->|"reads"| node_project_data
node_visitor -->|"opens"| node_project_detail
node_project_detail -->|"reads"| node_project_data
node_project_detail -->|"reads"| node_profile_data
node_navigation -->|"reads"| node_profile_data
node_navigation -.->|"links to"| node_resume_route
node_profile_sections -->|"reads"| node_profile_data
node_profile_sections -->|"reads"| node_experience_data
node_profile_sections -->|"reads"| node_skills_data
node_profile_sections -->|"reads"| node_certifications_data
node_visitor -->|"visits"| node_contact_section
node_contact_section -->|"renders"| node_contact_form
node_visitor -->|"submits"| node_contact_form
node_contact_form -->|"posts to"| node_contact_route
node_contact_route -->|"creates"| node_contact_handler
node_contact_route -->|"sets recipient"| node_profile_data
node_contact_route -->|"passes site URL"| node_seo_data
node_contact_handler -->|"sends via"| node_gmail
node_layout -->|"reads"| node_profile_data
node_layout -->|"reads"| node_seo_data
node_seo_data -->|"reads"| node_profile_data
node_robots -->|"reads"| node_seo_data
node_sitemap -->|"reads"| node_seo_data
node_sitemap -->|"reads"| node_project_data

click node_home "https://github.com/jervz09/jervy-portfolio/blob/main/app/page.tsx"
click node_navigation "https://github.com/jervz09/jervy-portfolio/blob/main/components/layout/navbar.tsx"
click node_profile_sections "https://github.com/jervz09/jervy-portfolio/tree/main/components/sections"
click node_projects_section "https://github.com/jervz09/jervy-portfolio/blob/main/components/sections/projects.tsx"
click node_project_detail "https://github.com/jervz09/jervy-portfolio/blob/main/app/projects/%5Bslug%5D/page.tsx"
click node_resume_route "https://github.com/jervz09/jervy-portfolio/blob/main/app/resume/route.ts"
click node_profile_data "https://github.com/jervz09/jervy-portfolio/blob/main/data/profile.ts"
click node_project_data "https://github.com/jervz09/jervy-portfolio/blob/main/data/projects.ts"
click node_experience_data "https://github.com/jervz09/jervy-portfolio/blob/main/data/experience.ts"
click node_skills_data "https://github.com/jervz09/jervy-portfolio/blob/main/data/skills.ts"
click node_certifications_data "https://github.com/jervz09/jervy-portfolio/blob/main/data/certifications.ts"
click node_contact_section "https://github.com/jervz09/jervy-portfolio/blob/main/components/sections/contact.tsx"
click node_contact_form "https://github.com/jervz09/jervy-portfolio/blob/main/components/sections/contact-form.tsx"
click node_contact_route "https://github.com/jervz09/jervy-portfolio/blob/main/app/api/contact/route.ts"
click node_contact_handler "https://github.com/jervz09/jervy-portfolio/blob/main/lib/contact.ts"
click node_layout "https://github.com/jervz09/jervy-portfolio/blob/main/app/layout.tsx"
click node_seo_data "https://github.com/jervz09/jervy-portfolio/blob/main/data/seo.ts"
click node_robots "https://github.com/jervz09/jervy-portfolio/blob/main/app/robots.ts"
click node_sitemap "https://github.com/jervz09/jervy-portfolio/blob/main/app/sitemap.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_navigation,node_profile_sections,node_projects_section,node_project_detail,node_resume_route,node_contact_section,node_contact_form,node_layout toneBlue
class node_profile_data,node_project_data,node_experience_data,node_skills_data,node_certifications_data toneAmber
class node_contact_route,node_contact_handler,node_gmail toneMint
class node_seo_data,node_robots,node_sitemap toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio experience

- [Home page](https://github.com/jervz09/jervy-portfolio/blob/main/app/page.tsx): `app/page.tsx`
- [Navigation](https://github.com/jervz09/jervy-portfolio/blob/main/components/layout/navbar.tsx): `components/layout/navbar.tsx`
- [Profile sections](https://github.com/jervz09/jervy-portfolio/tree/main/components/sections): `components/sections`
- [Project showcase](https://github.com/jervz09/jervy-portfolio/blob/main/components/sections/projects.tsx): `components/sections/projects.tsx`
- [Project details](https://github.com/jervz09/jervy-portfolio/blob/main/app/projects/%5Bslug%5D/page.tsx): `app/projects/[slug]/page.tsx`
- [Resume download](https://github.com/jervz09/jervy-portfolio/blob/main/app/resume/route.ts): `app/resume/route.ts`
- [Contact section](https://github.com/jervz09/jervy-portfolio/blob/main/components/sections/contact.tsx): `components/sections/contact.tsx`
- [Contact form](https://github.com/jervz09/jervy-portfolio/blob/main/components/sections/contact-form.tsx): `components/sections/contact-form.tsx`
- [Root layout](https://github.com/jervz09/jervy-portfolio/blob/main/app/layout.tsx): `app/layout.tsx`

### Portfolio content

- [Profile content](https://github.com/jervz09/jervy-portfolio/blob/main/data/profile.ts): `data/profile.ts`
- [Project content](https://github.com/jervz09/jervy-portfolio/blob/main/data/projects.ts): `data/projects.ts`
- [Experience content](https://github.com/jervz09/jervy-portfolio/blob/main/data/experience.ts): `data/experience.ts`
- [Skills content](https://github.com/jervz09/jervy-portfolio/blob/main/data/skills.ts): `data/skills.ts`
- [Certification content](https://github.com/jervz09/jervy-portfolio/blob/main/data/certifications.ts): `data/certifications.ts`

### Contact delivery

- [Contact endpoint](https://github.com/jervz09/jervy-portfolio/blob/main/app/api/contact/route.ts): `app/api/contact/route.ts`
- [Contact handler](https://github.com/jervz09/jervy-portfolio/blob/main/lib/contact.ts): `lib/contact.ts`
- **Gmail SMTP**

### Site discovery

- [SEO settings](https://github.com/jervz09/jervy-portfolio/blob/main/data/seo.ts): `data/seo.ts`
- [Robots metadata](https://github.com/jervz09/jervy-portfolio/blob/main/app/robots.ts): `app/robots.ts`
- [Sitemap](https://github.com/jervz09/jervy-portfolio/blob/main/app/sitemap.ts): `app/sitemap.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens (evidence: `app/page.tsx`)
- Home page → Navigation: renders (evidence: `app/page.tsx`)
- Home page → Profile sections: renders (evidence: `app/page.tsx`)
- Home page → Project showcase: renders (evidence: `app/page.tsx`)
- Project showcase → Project content: reads (evidence: `components/sections/projects.tsx`)
- Visitor → Project details: opens (evidence: `app/projects/[slug]/page.tsx`)
- Project details → Project content: reads (evidence: `app/projects/[slug]/page.tsx`)
- Project details → Profile content: reads (evidence: `app/projects/[slug]/page.tsx`)
- Navigation → Profile content: reads (evidence: `components/layout/navbar.tsx`)
- Navigation → Resume download: links to
- Profile sections → Profile content: reads (evidence: `components/sections/about.tsx`)
- Profile sections → Experience content: reads (evidence: `components/sections/experience.tsx`)
- Profile sections → Skills content: reads (evidence: `components/sections/skills.tsx`)
- Profile sections → Certification content: reads (evidence: `components/sections/certifications.tsx`)
- Visitor → Contact section: visits
- Contact section → Contact form: renders (evidence: `components/sections/contact.tsx`)
- Visitor → Contact form: submits (evidence: `README.md`)
- Contact form → Contact endpoint: posts to (evidence: `README.md`)
- Contact endpoint → Contact handler: creates (evidence: `app/api/contact/route.ts`)
- Contact endpoint → Profile content: sets recipient (evidence: `app/api/contact/route.ts`)
- Contact endpoint → SEO settings: passes site URL (evidence: `app/api/contact/route.ts`)
- Contact handler → Gmail SMTP: sends via (evidence: `README.md`)
- Root layout → Profile content: reads (evidence: `app/layout.tsx`)
- Root layout → SEO settings: reads (evidence: `app/layout.tsx`)
- SEO settings → Profile content: reads (evidence: `data/seo.ts`)
- Robots metadata → SEO settings: reads (evidence: `app/robots.ts`)
- Sitemap → SEO settings: reads (evidence: `app/sitemap.ts`)
- Sitemap → Project content: reads (evidence: `app/sitemap.ts`)
