# sultvnnnn/sultan-web-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/sultvnnnn/sultan-web-portfolio
- Repository: https://github.com/sultvnnnn/sultan-web-portfolio

## Overview

This repository is a personal portfolio website. A visitor opens the home page, which composes the profile, introduction, topic tags, and experience/project content; the navigation and sidebar provide theme, résumé, and contact actions. The root layout supplies theme context, while reusable tooltip and class-name utilities support the author profile. The graph reflects shown imports and composition; it does not infer runtime behavior for unsampled files.

Main entry points: [`app/page.tsx`](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/app/page.tsx) (Home page), [`components/Navbar.tsx`](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/Navbar.tsx) (Navigation bar), [`components/AuthorProfile.tsx`](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/AuthorProfile.tsx) (Author profile), [`components/ui/tooltip.tsx`](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/ui/tooltip.tsx) (Tooltip UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Page and layout"]
  node_home["Home page<br/>[page.tsx]"]
  node_layout["Root layout<br/>[layout.tsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_navbar["Navigation bar<br/>[Navbar.tsx]"]
  node_sidebar["Contact sidebar<br/>[Sidebar.tsx]"]
  node_tags["Topic tags<br/>[ScrollingTags.tsx]"]
  node_title["Animated title"]
  node_author["Author profile<br/>[AuthorProfile.tsx]"]
  node_article["Portfolio article<br/>[ArticleContent.tsx]"]
end

subgraph group_ui["Reusable UI"]
  node_theme_styles["Theme transitions"]
  node_theme_provider["Theme provider<br/>[theme-provider.tsx]"]
  node_tooltip["Tooltip UI<br/>[tooltip.tsx]"]
  node_utils["Class utilities<br/>[utils.ts]"]
end

node_visitor(("Visitor"))
node_resume["Résumé PDF<br/>[Resume.pdf]"]

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_theme_styles
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_sidebar
node_home -->|"renders"| node_tags
node_home -->|"renders"| node_title
node_home -->|"renders"| node_author
node_home -->|"renders"| node_article
node_layout -->|"wraps content"| node_theme_provider
node_author -->|"uses"| node_tooltip
node_tooltip -->|"uses"| node_utils
node_navbar -->|"links to"| node_resume

click node_home "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/app/page.tsx"
click node_layout "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/app/layout.tsx"
click node_navbar "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/Navbar.tsx"
click node_sidebar "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/Sidebar.tsx"
click node_tags "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/ScrollingTags.tsx"
click node_title "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/TypewriterTitle.tsx"
click node_author "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/AuthorProfile.tsx"
click node_article "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/ArticleContent.tsx"
click node_theme_styles "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/ThemeTransitionStyles.tsx"
click node_theme_provider "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/theme-provider.tsx"
click node_tooltip "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/ui/tooltip.tsx"
click node_utils "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/lib/utils.ts"
click node_resume "https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/public/Resume.pdf"

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_layout toneBlue
class node_navbar,node_sidebar,node_tags,node_title,node_author,node_article toneAmber
class node_theme_styles,node_theme_provider,node_tooltip,node_utils toneMint
class node_visitor toneIndigo
class node_resume toneTeal
```

## Components

### Page and layout

- [Home page](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/app/page.tsx): `app/page.tsx`
- [Root layout](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/app/layout.tsx): `app/layout.tsx`

### Portfolio content

- [Navigation bar](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/Navbar.tsx): `components/Navbar.tsx`
- [Contact sidebar](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/Sidebar.tsx): `components/Sidebar.tsx`
- [Topic tags](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/ScrollingTags.tsx): `components/ScrollingTags.tsx`
- [Animated title](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/TypewriterTitle.tsx): `components/TypewriterTitle.tsx`
- [Author profile](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/AuthorProfile.tsx): `components/AuthorProfile.tsx`
- [Portfolio article](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/ArticleContent.tsx): `components/ArticleContent.tsx`

### Reusable UI

- [Theme transitions](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/ThemeTransitionStyles.tsx): `components/ThemeTransitionStyles.tsx`
- [Theme provider](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/theme-provider.tsx): `components/theme-provider.tsx`
- [Tooltip UI](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/components/ui/tooltip.tsx): `components/ui/tooltip.tsx`
- [Class utilities](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/lib/utils.ts): `lib/utils.ts`

### Other components

- **Visitor**
- [Résumé PDF](https://github.com/sultvnnnn/sultan-web-portfolio/blob/main/public/Resume.pdf): `public/Resume.pdf`

## Connections

- Visitor → Home page: opens (evidence: `README.md`)
- Home page → Theme transitions: renders (evidence: `app/page.tsx`)
- Home page → Navigation bar: renders (evidence: `app/page.tsx`)
- Home page → Contact sidebar: renders (evidence: `app/page.tsx`)
- Home page → Topic tags: renders (evidence: `app/page.tsx`)
- Home page → Animated title: renders (evidence: `app/page.tsx`)
- Home page → Author profile: renders (evidence: `app/page.tsx`)
- Home page → Portfolio article: renders (evidence: `app/page.tsx`)
- Root layout → Theme provider: wraps content (evidence: `app/layout.tsx`)
- Author profile → Tooltip UI: uses (evidence: `components/AuthorProfile.tsx`)
- Tooltip UI → Class utilities: uses (evidence: `components/ui/tooltip.tsx`)
- Navigation bar → Résumé PDF: links to (evidence: `components/Navbar.tsx`)
