# jahez07/portfolio architecture

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

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

## Overview

This is a portfolio blog starter: visitors browse the portfolio and experience listings, open individual MDX posts, or request the RSS feed. The app also provides art effects, search/social metadata, sitemap and robots endpoints, and analytics integrations. The route-to-renderer and feed relationships are visible in excerpts; some README-listed capabilities, including syntax highlighting and JSON-LD, are documented or visible only in part, so their internal wiring is not expanded.

Main entry points: [`app/layout.tsx`](https://github.com/jahez07/portfolio/blob/main/app/layout.tsx) (Site layout), [`app/experience/utils.ts`](https://github.com/jahez07/portfolio/blob/main/app/experience/utils.ts) (Post utilities), [`app/experience/[slug]/page.tsx`](https://github.com/jahez07/portfolio/blob/main/app/experience/%5Bslug%5D/page.tsx) (Post detail), [`app/sitemap.ts`](https://github.com/jahez07/portfolio/blob/main/app/sitemap.ts) (Sitemap)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site experience"]
  node_site_layout["Site layout<br/>[layout.tsx]"]
  node_home["Home page<br/>[page.tsx]"]
  node_navigation["Navigation<br/>[nav.tsx]"]
  node_footer["Social footer<br/>[footer.tsx]"]
  node_art_page["Art page<br/>[page.tsx]"]
  node_shine_text["Shiny text<br/>[shineText.tsx]"]
  node_splash_cursor["Cursor effect<br/>[SplashCursor.tsx]"]
end

subgraph group_blog["Blog content"]
  node_experience_list["Experience listing<br/>[page.tsx]"]
  node_post_content["MDX posts"]
  node_blog_utils["Post utilities<br/>[utils.ts]"]
  node_post_list["Post listing<br/>[posts.tsx]"]
  node_post_page["Post detail<br/>[page.tsx]"]
  node_mdx_renderer["MDX renderer<br/>[mdx.tsx]"]
end

subgraph group_seo["SEO and feeds"]
  node_rss_feed["RSS feed<br/>[route.ts]"]
  node_sitemap["Sitemap<br/>[sitemap.ts]"]
  node_robots["Robots rules<br/>[robots.ts]"]
  node_og_image["OG image route<br/>[route.tsx]"]
end

subgraph group_integrations["Analytics integrations"]
  node_analytics["Web analytics<br/>[layout.tsx]"]
  node_speed_insights["Speed insights<br/>[layout.tsx]"]
  node_google_analytics["Google Analytics<br/>[layout.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"requests pages"| node_site_layout
node_site_layout -->|"renders"| node_navigation
node_site_layout -->|"renders"| node_footer
node_site_layout -->|"renders"| node_splash_cursor
node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_post_list
node_visitor -->|"opens"| node_experience_list
node_visitor -->|"opens"| node_art_page
node_art_page -->|"renders"| node_shine_text
node_art_page -->|"imports"| node_splash_cursor
node_post_page -->|"loads posts"| node_blog_utils
node_post_page -->|"renders content"| node_mdx_renderer
node_post_page -->|"uses base URL"| node_sitemap
node_post_page -->|"sets fallback image"| node_og_image
node_post_list -.->|"loads posts"| node_blog_utils
node_experience_list -.->|"loads listing"| node_blog_utils
node_post_content -.->|"supplies source"| node_mdx_renderer
node_rss_feed -->|"loads posts"| node_blog_utils
node_rss_feed -->|"uses base URL"| node_sitemap
node_sitemap -->|"loads post routes"| node_blog_utils
node_visitor -->|"requests feed"| node_rss_feed
node_visitor -->|"requests sitemap"| node_sitemap
node_visitor -->|"requests rules"| node_robots
node_visitor -->|"requests image"| node_og_image
node_site_layout -->|"renders"| node_analytics
node_site_layout -->|"renders"| node_speed_insights
node_site_layout -->|"renders"| node_google_analytics

click node_site_layout "https://github.com/jahez07/portfolio/blob/main/app/layout.tsx"
click node_home "https://github.com/jahez07/portfolio/blob/main/app/page.tsx"
click node_navigation "https://github.com/jahez07/portfolio/blob/main/app/components/nav.tsx"
click node_footer "https://github.com/jahez07/portfolio/blob/main/app/components/footer.tsx"
click node_art_page "https://github.com/jahez07/portfolio/blob/main/app/art/page.tsx"
click node_shine_text "https://github.com/jahez07/portfolio/blob/main/app/art/shineText.tsx"
click node_splash_cursor "https://github.com/jahez07/portfolio/blob/main/app/SplashCursor.tsx"
click node_experience_list "https://github.com/jahez07/portfolio/blob/main/app/experience/page.tsx"
click node_post_content "https://github.com/jahez07/portfolio/tree/main/app/experience/posts"
click node_blog_utils "https://github.com/jahez07/portfolio/blob/main/app/experience/utils.ts"
click node_post_list "https://github.com/jahez07/portfolio/blob/main/app/components/posts.tsx"
click node_post_page "https://github.com/jahez07/portfolio/blob/main/app/experience/%5Bslug%5D/page.tsx"
click node_mdx_renderer "https://github.com/jahez07/portfolio/blob/main/app/components/mdx.tsx"
click node_rss_feed "https://github.com/jahez07/portfolio/blob/main/app/rss/route.ts"
click node_sitemap "https://github.com/jahez07/portfolio/blob/main/app/sitemap.ts"
click node_robots "https://github.com/jahez07/portfolio/blob/main/app/robots.ts"
click node_og_image "https://github.com/jahez07/portfolio/blob/main/app/og/route.tsx"
click node_analytics "https://github.com/jahez07/portfolio/blob/main/app/layout.tsx"
click node_speed_insights "https://github.com/jahez07/portfolio/blob/main/app/layout.tsx"
click node_google_analytics "https://github.com/jahez07/portfolio/blob/main/app/layout.tsx"

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_site_layout,node_home,node_navigation,node_footer,node_art_page,node_shine_text,node_splash_cursor toneBlue
class node_experience_list,node_post_content,node_blog_utils,node_post_list,node_post_page,node_mdx_renderer toneAmber
class node_rss_feed,node_sitemap,node_robots,node_og_image toneMint
class node_analytics,node_speed_insights,node_google_analytics toneRose
class node_visitor toneIndigo
```

## Components

### Site experience

- [Site layout](https://github.com/jahez07/portfolio/blob/main/app/layout.tsx): `app/layout.tsx`
- [Home page](https://github.com/jahez07/portfolio/blob/main/app/page.tsx): `app/page.tsx`
- [Navigation](https://github.com/jahez07/portfolio/blob/main/app/components/nav.tsx): `app/components/nav.tsx`
- [Social footer](https://github.com/jahez07/portfolio/blob/main/app/components/footer.tsx): `app/components/footer.tsx`
- [Art page](https://github.com/jahez07/portfolio/blob/main/app/art/page.tsx): `app/art/page.tsx`
- [Shiny text](https://github.com/jahez07/portfolio/blob/main/app/art/shineText.tsx): `app/art/shineText.tsx`
- [Cursor effect](https://github.com/jahez07/portfolio/blob/main/app/SplashCursor.tsx): `app/SplashCursor.tsx`

### Blog content

- [Experience listing](https://github.com/jahez07/portfolio/blob/main/app/experience/page.tsx): `app/experience/page.tsx`
- [MDX posts](https://github.com/jahez07/portfolio/tree/main/app/experience/posts): `app/experience/posts`
- [Post utilities](https://github.com/jahez07/portfolio/blob/main/app/experience/utils.ts): `app/experience/utils.ts`
- [Post listing](https://github.com/jahez07/portfolio/blob/main/app/components/posts.tsx): `app/components/posts.tsx`
- [Post detail](https://github.com/jahez07/portfolio/blob/main/app/experience/%5Bslug%5D/page.tsx): `app/experience/[slug]/page.tsx`
- [MDX renderer](https://github.com/jahez07/portfolio/blob/main/app/components/mdx.tsx): `app/components/mdx.tsx`

### SEO and feeds

- [RSS feed](https://github.com/jahez07/portfolio/blob/main/app/rss/route.ts): `app/rss/route.ts`
- [Sitemap](https://github.com/jahez07/portfolio/blob/main/app/sitemap.ts): `app/sitemap.ts`
- [Robots rules](https://github.com/jahez07/portfolio/blob/main/app/robots.ts): `app/robots.ts`
- [OG image route](https://github.com/jahez07/portfolio/blob/main/app/og/route.tsx): `app/og/route.tsx`

### Analytics integrations

- [Web analytics](https://github.com/jahez07/portfolio/blob/main/app/layout.tsx): `app/layout.tsx`
- [Speed insights](https://github.com/jahez07/portfolio/blob/main/app/layout.tsx): `app/layout.tsx`
- [Google Analytics](https://github.com/jahez07/portfolio/blob/main/app/layout.tsx): `app/layout.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Site layout: requests pages
- Site layout → Navigation: renders (evidence: `app/layout.tsx`)
- Site layout → Social footer: renders (evidence: `app/layout.tsx`)
- Site layout → Cursor effect: renders (evidence: `app/layout.tsx`)
- Visitor → Home page: opens
- Home page → Post listing: renders (evidence: `app/page.tsx`)
- Visitor → Experience listing: opens
- Visitor → Art page: opens
- Art page → Shiny text: renders (evidence: `app/art/page.tsx`)
- Art page → Cursor effect: imports (evidence: `app/art/page.tsx`)
- Post detail → Post utilities: loads posts (evidence: `app/experience/[slug]/page.tsx`)
- Post detail → MDX renderer: renders content (evidence: `app/experience/[slug]/page.tsx`)
- Post detail → Sitemap: uses base URL (evidence: `app/experience/[slug]/page.tsx`)
- Post detail → OG image route: sets fallback image (evidence: `app/experience/[slug]/page.tsx`)
- Post listing → Post utilities: loads posts
- Experience listing → Post utilities: loads listing
- MDX posts → MDX renderer: supplies source
- RSS feed → Post utilities: loads posts (evidence: `app/rss/route.ts`)
- RSS feed → Sitemap: uses base URL (evidence: `app/rss/route.ts`)
- Sitemap → Post utilities: loads post routes (evidence: `app/sitemap.ts`)
- Visitor → RSS feed: requests feed
- Visitor → Sitemap: requests sitemap
- Visitor → Robots rules: requests rules
- Visitor → OG image route: requests image
- Site layout → Web analytics: renders (evidence: `app/layout.tsx`)
- Site layout → Speed insights: renders (evidence: `app/layout.tsx`)
- Site layout → Google Analytics: renders (evidence: `app/layout.tsx`)
