# abhishekmaher6699/portfolio architecture

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

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

## Overview

This is a personal portfolio site: visitors browse the home page’s profile, experience, skills, projects, certifications and recent posts, then explore the project list, searchable blog, or an individual article. Blog data is read from local Markdown/MDX files and rendered as summaries or article content. The graph preserves the major pages and home-page feature branches visible in the tree and excerpts. Some components and data files were not sampled, so their internal behavior and connections are omitted where not evidenced.

Main entry points: [`src/app/page.tsx`](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/page.tsx) (Home Page), [`src/app/layout.tsx`](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/layout.tsx) (Site Layout), [`src/app/blog/[slug]/page.tsx`](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/blog/%5Bslug%5D/page.tsx) (Article Page), [`src/app/blog/page.tsx`](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/blog/page.tsx) (Blog Page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site Shell"]
  node_layout["Site Layout<br/>[layout.tsx]"]
  node_header["Header<br/>[Header.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_providers["Providers<br/>[Providers.tsx]"]
  node_contact["Contact Page<br/>[page.tsx]"]
  node_revalidate["Revalidate Route<br/>[route.ts]"]
end

subgraph group_portfolio["Portfolio Content"]
  node_home["Home Page<br/>[page.tsx]"]
  node_experience["Experience<br/>[Experience.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_projectcard["Project Card<br/>[ProjectCard.tsx]"]
  node_certifications["Certifications<br/>[Certifications.tsx]"]
  node_swipecards["Swipe Cards<br/>[SwipeCards.tsx]"]
  node_projectsroute["Projects Page<br/>[page.tsx]"]
end

subgraph group_blog["Blog Publishing"]
  node_bloglist["Blog Page<br/>[page.tsx]"]
  node_search["Post Search"]
  node_posts["Post Listings<br/>[Posts.tsx]"]
  node_poststore[("Post Reader<br/>[posts.ts]")]
  node_postdetail["Article Page<br/>[page.tsx]"]
  node_mdx["MDX Renderer<br/>[MDXContent.tsx]"]
  node_blogimage["Blog Image<br/>[BlogImage.tsx]"]
end

subgraph group_shared["Shared UI"]
  node_schemas["Content Schemas<br/>[schemas.ts]"]
  node_image["Image Skeleton"]
  node_ui["UI Primitives"]
end

node_visitor(("Visitor"))

node_visitor -->|"visits"| node_layout
node_layout -->|"renders"| node_header
node_layout -->|"renders"| node_footer
node_layout -->|"wraps with"| node_providers
node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_certifications
node_home -->|"renders"| node_swipecards
node_home -->|"loads recent"| node_poststore
node_home -->|"renders"| node_posts
node_swipecards -->|"renders"| node_image
node_projectsroute -->|"renders"| node_projects
node_projects -->|"renders"| node_projectcard
node_experience -->|"validates data"| node_schemas
node_skills -->|"validates data"| node_schemas
node_certifications -->|"validates data"| node_schemas
node_visitor -->|"opens"| node_bloglist
node_bloglist -->|"loads posts"| node_poststore
node_bloglist -->|"renders"| node_search
node_search -->|"renders filtered"| node_posts
node_visitor -->|"opens article"| node_postdetail
node_postdetail -->|"loads by slug"| node_poststore
node_postdetail -->|"renders content"| node_mdx
node_postdetail -->|"renders image"| node_blogimage
node_blogimage -->|"uses"| node_image
node_mdx -->|"renders table UI"| node_ui
node_search -->|"uses controls"| node_ui
node_posts -->|"uses cards and badges"| node_ui
node_contact -->|"serves contact info"| node_visitor

click node_layout "https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/layout.tsx"
click node_header "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Header.tsx"
click node_footer "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Footer.tsx"
click node_providers "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Providers.tsx"
click node_home "https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/page.tsx"
click node_experience "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Experience.tsx"
click node_skills "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Skills.tsx"
click node_projects "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Projects.tsx"
click node_projectcard "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/ProjectCard.tsx"
click node_certifications "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Certifications.tsx"
click node_swipecards "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/SwipeCards.tsx"
click node_projectsroute "https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/projects/page.tsx"
click node_bloglist "https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/blog/page.tsx"
click node_search "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/PostsWithSearch.tsx"
click node_posts "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Posts.tsx"
click node_poststore "https://github.com/abhishekmaher6699/portfolio/blob/main/src/lib/posts.ts"
click node_postdetail "https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/blog/%5Bslug%5D/page.tsx"
click node_mdx "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/MDXContent.tsx"
click node_blogimage "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/BlogImage.tsx"
click node_schemas "https://github.com/abhishekmaher6699/portfolio/blob/main/src/lib/schemas.ts"
click node_image "https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/ImageWithSkeleton.tsx"
click node_ui "https://github.com/abhishekmaher6699/portfolio/tree/main/src/components/ui"
click node_contact "https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/contact/page.tsx"
click node_revalidate "https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/api/revalidate/route.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_layout,node_header,node_footer,node_providers,node_contact,node_revalidate toneBlue
class node_home,node_experience,node_skills,node_projects,node_projectcard,node_certifications,node_swipecards,node_projectsroute toneAmber
class node_bloglist,node_search,node_posts,node_poststore,node_postdetail,node_mdx,node_blogimage toneMint
class node_schemas,node_image,node_ui toneRose
class node_visitor toneIndigo
```

## Components

### Site Shell

- [Site Layout](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/layout.tsx): `src/app/layout.tsx`
- [Header](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Header.tsx): `src/components/Header.tsx`
- [Footer](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`
- [Providers](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Providers.tsx): `src/components/Providers.tsx`
- [Contact Page](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/contact/page.tsx): `src/app/contact/page.tsx`
- [Revalidate Route](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/api/revalidate/route.ts): `src/app/api/revalidate/route.ts`

### Portfolio Content

- [Home Page](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Experience](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Experience.tsx): `src/components/Experience.tsx`
- [Skills](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Skills.tsx): `src/components/Skills.tsx`
- [Projects](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Projects.tsx): `src/components/Projects.tsx`
- [Project Card](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/ProjectCard.tsx): `src/components/ProjectCard.tsx`
- [Certifications](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Certifications.tsx): `src/components/Certifications.tsx`
- [Swipe Cards](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/SwipeCards.tsx): `src/components/SwipeCards.tsx`
- [Projects Page](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/projects/page.tsx): `src/app/projects/page.tsx`

### Blog Publishing

- [Blog Page](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/blog/page.tsx): `src/app/blog/page.tsx`
- [Post Search](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/PostsWithSearch.tsx): `src/components/PostsWithSearch.tsx`
- [Post Listings](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/Posts.tsx): `src/components/Posts.tsx`
- [Post Reader](https://github.com/abhishekmaher6699/portfolio/blob/main/src/lib/posts.ts): `src/lib/posts.ts`
- [Article Page](https://github.com/abhishekmaher6699/portfolio/blob/main/src/app/blog/%5Bslug%5D/page.tsx): `src/app/blog/[slug]/page.tsx`
- [MDX Renderer](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/MDXContent.tsx): `src/components/MDXContent.tsx`
- [Blog Image](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/BlogImage.tsx): `src/components/BlogImage.tsx`

### Shared UI

- [Content Schemas](https://github.com/abhishekmaher6699/portfolio/blob/main/src/lib/schemas.ts): `src/lib/schemas.ts`
- [Image Skeleton](https://github.com/abhishekmaher6699/portfolio/blob/main/src/components/ImageWithSkeleton.tsx): `src/components/ImageWithSkeleton.tsx`
- [UI Primitives](https://github.com/abhishekmaher6699/portfolio/tree/main/src/components/ui): `src/components/ui`

### Other components

- **Visitor**

## Connections

- Visitor → Site Layout: visits (evidence: `src/app/layout.tsx`)
- Site Layout → Header: renders (evidence: `src/app/layout.tsx`)
- Site Layout → Footer: renders (evidence: `src/app/layout.tsx`)
- Site Layout → Providers: wraps with (evidence: `src/app/layout.tsx`)
- Visitor → Home Page: opens (evidence: `src/app/page.tsx`)
- Home Page → Experience: renders (evidence: `src/app/page.tsx`)
- Home Page → Skills: renders (evidence: `src/app/page.tsx`)
- Home Page → Projects: renders (evidence: `src/app/page.tsx`)
- Home Page → Certifications: renders (evidence: `src/app/page.tsx`)
- Home Page → Swipe Cards: renders (evidence: `src/app/page.tsx`)
- Home Page → Post Reader: loads recent (evidence: `src/app/page.tsx`)
- Home Page → Post Listings: renders (evidence: `src/app/page.tsx`)
- Swipe Cards → Image Skeleton: renders (evidence: `src/components/SwipeCards.tsx`)
- Projects Page → Projects: renders (evidence: `src/app/projects/page.tsx`)
- Projects → Project Card: renders (evidence: `src/components/Projects.tsx`)
- Experience → Content Schemas: validates data (evidence: `src/components/Experience.tsx`)
- Skills → Content Schemas: validates data (evidence: `src/components/Skills.tsx`)
- Certifications → Content Schemas: validates data (evidence: `src/components/Certifications.tsx`)
- Visitor → Blog Page: opens (evidence: `src/app/blog/page.tsx`)
- Blog Page → Post Reader: loads posts (evidence: `src/app/blog/page.tsx`)
- Blog Page → Post Search: renders (evidence: `src/app/blog/page.tsx`)
- Post Search → Post Listings: renders filtered (evidence: `src/components/PostsWithSearch.tsx`)
- Visitor → Article Page: opens article (evidence: `src/app/blog/[slug]/page.tsx`)
- Article Page → Post Reader: loads by slug (evidence: `src/app/blog/[slug]/page.tsx`)
- Article Page → MDX Renderer: renders content (evidence: `src/app/blog/[slug]/page.tsx`)
- Article Page → Blog Image: renders image (evidence: `src/app/blog/[slug]/page.tsx`)
- Blog Image → Image Skeleton: uses (evidence: `src/components/BlogImage.tsx`)
- MDX Renderer → UI Primitives: renders table UI (evidence: `src/components/MDXContent.tsx`)
- Post Search → UI Primitives: uses controls (evidence: `src/components/PostsWithSearch.tsx`)
- Post Listings → UI Primitives: uses cards and badges (evidence: `src/components/Posts.tsx`)
- Contact Page → Visitor: serves contact info (evidence: `src/app/contact/page.tsx`)
