# khaliletanamoh/khaliletanamohweb architecture

> Architecture diagram of the GitHub repository khaliletanamoh/khaliletanamohweb, 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/khaliletanamoh/khaliletanamohweb
- Repository: https://github.com/khaliletanamoh/khaliletanamohweb

## Overview

This is a personal portfolio website. Visitors browse the home page’s profile, skills, projects, credentials, and blog sections; they can also open project detail pages or submit a contact form. The sampled code shows the page fetching blog posts and the contact form posting to an API route. Several section components and the contact endpoint are unsampled, so their internal behavior is not inferred.

Main entry points: [`app/page.tsx`](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/app/page.tsx) (Home page), [`data/redesign.ts`](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/data/redesign.ts) (Section copy), [`data/portfolio.ts`](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/data/portfolio.ts) (Portfolio data), [`components/Hero.tsx`](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Hero.tsx) (Introduction)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routes["Pages and routes"]
  node_home["Home page<br/>[page.tsx]"]
  node_project_page["Project details<br/>[page.tsx]"]
end

subgraph group_sections["Portfolio sections"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_hero["Introduction<br/>[Hero.tsx]"]
  node_about["About<br/>[About.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_experience["Credentials<br/>[Experience.tsx]"]
  node_blog_section["Blog section<br/>[BlogSection.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_portfolio_data["Portfolio data<br/>[portfolio.ts]"]
  node_redesign_copy["Section copy<br/>[redesign.ts]"]
  node_site_projects["Project data<br/>[site.ts]"]
end

subgraph group_engagement["Contact and blog"]
  node_contact_form["Contact form<br/>[Contact.tsx]"]
  node_whatsapp["WhatsApp link<br/>[WhatsAppButton.tsx]"]
  node_copy_button["Copy project details<br/>[CopyButton.tsx]"]
  node_contact_api["Contact API<br/>[route.ts]"]
  node_email_service["Email service"]
  node_blog_fetch["Blog feed fetch<br/>[blog.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"opens project"| node_project_page
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_blog_section
node_home -->|"renders"| node_contact_form
node_home -->|"renders"| node_footer
node_home -->|"renders"| node_whatsapp
node_home -->|"fetches posts"| node_blog_fetch
node_blog_section -->|"uses feed data"| node_blog_fetch
node_contact_form -->|"posts message"| node_contact_api
node_contact_api -.->|"sends email"| node_email_service
node_project_page -->|"renders"| node_copy_button
node_hero -->|"reads profile"| node_portfolio_data
node_hero -->|"reads projects"| node_site_projects
node_hero -->|"reads copy"| node_redesign_copy
node_about -->|"reads copy"| node_redesign_copy
node_skills -->|"reads skills"| node_portfolio_data
node_skills -->|"reads copy"| node_redesign_copy
node_projects -->|"reads projects"| node_site_projects
node_projects -->|"reads copy"| node_redesign_copy
node_experience -->|"reads credentials"| node_portfolio_data
node_experience -->|"reads copy"| node_redesign_copy
node_blog_section -->|"reads copy"| node_redesign_copy
node_contact_form -->|"reads contact details"| node_portfolio_data
node_contact_form -->|"reads copy"| node_redesign_copy
node_navbar -->|"reads profiles"| node_portfolio_data
node_navbar -->|"reads navigation"| node_redesign_copy
node_project_page -->|"looks up project"| node_site_projects

click node_home "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/app/page.tsx"
click node_project_page "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/app/products/%5Bslug%5D/page.tsx"
click node_navbar "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Navbar.tsx"
click node_hero "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Hero.tsx"
click node_about "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/About.tsx"
click node_skills "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Skills.tsx"
click node_projects "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Projects.tsx"
click node_experience "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Experience.tsx"
click node_blog_section "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/BlogSection.tsx"
click node_contact_form "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Contact.tsx"
click node_footer "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Footer.tsx"
click node_whatsapp "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/WhatsAppButton.tsx"
click node_copy_button "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/CopyButton.tsx"
click node_contact_api "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/app/api/contact/route.ts"
click node_blog_fetch "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/lib/blog.ts"
click node_portfolio_data "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/data/portfolio.ts"
click node_redesign_copy "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/data/redesign.ts"
click node_site_projects "https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/data/site.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_project_page toneBlue
class node_navbar,node_hero,node_about,node_skills,node_projects,node_experience,node_blog_section,node_footer toneAmber
class node_portfolio_data,node_redesign_copy,node_site_projects toneMint
class node_contact_form,node_whatsapp,node_copy_button,node_contact_api,node_email_service,node_blog_fetch toneRose
class node_visitor toneIndigo
```

## Components

### Pages and routes

- [Home page](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/app/page.tsx): `app/page.tsx`
- [Project details](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/app/products/%5Bslug%5D/page.tsx): `app/products/[slug]/page.tsx`

### Portfolio sections

- [Navigation](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Navbar.tsx): `components/Navbar.tsx`
- [Introduction](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Hero.tsx): `components/Hero.tsx`
- [About](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/About.tsx): `components/About.tsx`
- [Skills](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Skills.tsx): `components/Skills.tsx`
- [Projects](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Projects.tsx): `components/Projects.tsx`
- [Credentials](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Experience.tsx): `components/Experience.tsx`
- [Blog section](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/BlogSection.tsx): `components/BlogSection.tsx`
- [Footer](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Footer.tsx): `components/Footer.tsx`

### Portfolio content

- [Portfolio data](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/data/portfolio.ts): `data/portfolio.ts`
- [Section copy](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/data/redesign.ts): `data/redesign.ts`
- [Project data](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/data/site.ts): `data/site.ts`

### Contact and blog

- [Contact form](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/Contact.tsx): `components/Contact.tsx`
- [WhatsApp link](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/WhatsAppButton.tsx): `components/WhatsAppButton.tsx`
- [Copy project details](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/components/CopyButton.tsx): `components/CopyButton.tsx`
- [Contact API](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/app/api/contact/route.ts): `app/api/contact/route.ts`
- **Email service**
- [Blog feed fetch](https://github.com/khaliletanamoh/khaliletanamohweb/blob/main/lib/blog.ts): `lib/blog.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens (evidence: `README.md`)
- Visitor → Project details: opens project (evidence: `app/products/[slug]/page.tsx`)
- Home page → Navigation: renders (evidence: `app/page.tsx`)
- Home page → Introduction: renders (evidence: `app/page.tsx`)
- Home page → About: renders (evidence: `app/page.tsx`)
- Home page → Skills: renders (evidence: `app/page.tsx`)
- Home page → Projects: renders (evidence: `app/page.tsx`)
- Home page → Credentials: renders (evidence: `app/page.tsx`)
- Home page → Blog section: renders (evidence: `app/page.tsx`)
- Home page → Contact form: renders (evidence: `app/page.tsx`)
- Home page → Footer: renders (evidence: `app/page.tsx`)
- Home page → WhatsApp link: renders (evidence: `app/page.tsx`)
- Home page → Blog feed fetch: fetches posts (evidence: `app/page.tsx`)
- Blog section → Blog feed fetch: uses feed data (evidence: `components/BlogSection.tsx`)
- Contact form → Contact API: posts message (evidence: `components/Contact.tsx`)
- Contact API → Email service: sends email
- Project details → Copy project details: renders (evidence: `app/products/[slug]/page.tsx`)
- Introduction → Portfolio data: reads profile (evidence: `components/Hero.tsx`)
- Introduction → Project data: reads projects (evidence: `components/Hero.tsx`)
- Introduction → Section copy: reads copy (evidence: `components/Hero.tsx`)
- About → Section copy: reads copy (evidence: `components/About.tsx`)
- Skills → Portfolio data: reads skills (evidence: `components/Skills.tsx`)
- Skills → Section copy: reads copy (evidence: `components/Skills.tsx`)
- Projects → Project data: reads projects (evidence: `components/Projects.tsx`)
- Projects → Section copy: reads copy (evidence: `components/Projects.tsx`)
- Credentials → Portfolio data: reads credentials (evidence: `components/Experience.tsx`)
- Credentials → Section copy: reads copy (evidence: `components/Experience.tsx`)
- Blog section → Section copy: reads copy (evidence: `components/BlogSection.tsx`)
- Contact form → Portfolio data: reads contact details (evidence: `components/Contact.tsx`)
- Contact form → Section copy: reads copy (evidence: `components/Contact.tsx`)
- Navigation → Portfolio data: reads profiles (evidence: `components/Navbar.tsx`)
- Navigation → Section copy: reads navigation (evidence: `components/Navbar.tsx`)
- Project details → Project data: looks up project (evidence: `app/products/[slug]/page.tsx`)
