# laidback-programmer/portfolio architecture

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

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

## Overview

This is a single-page personal portfolio showcasing its owner’s work, skills, activities, and contact option. The visitor enters the home page, sees a greeting loader, then browses the hero and portfolio sections; the activity section supports an interactive photo gallery. The layout supplies navigation and scroll-reset behavior. The graph follows page and layout imports plus the explicitly shown gallery and hero dependencies; other internal links are omitted where the sampled evidence does not establish them.

Main entry points: [`app/page.tsx`](https://github.com/laidback-programmer/portfolio/blob/main/app/page.tsx) (Home page), [`app/layout.tsx`](https://github.com/laidback-programmer/portfolio/blob/main/app/layout.tsx) (Root layout), [`components/hero.tsx`](https://github.com/laidback-programmer/portfolio/blob/main/components/hero.tsx) (Hero), [`components/activities.tsx`](https://github.com/laidback-programmer/portfolio/blob/main/components/activities.tsx) (Activities)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Page shell"]
  node_layout["Root layout<br/>[layout.tsx]"]
  node_home["Home page<br/>[page.tsx]"]
  node_navbar["Morphing navbar<br/>[morphic-navbar.tsx]"]
  node_scrollreset["Scroll reset<br/>[scrollreset.tsx]"]
end

subgraph group_portfolio["Portfolio sections"]
  node_hero["Hero<br/>[hero.tsx]"]
  node_about["About<br/>[about.tsx]"]
  node_projects["Projects<br/>[projects.tsx]"]
  node_skills["Skills<br/>[skills.tsx]"]
  node_activities["Activities<br/>[activities.tsx]"]
  node_contact["Contact form<br/>[contact_form.tsx]"]
end

subgraph group_interaction["Interactive features"]
  node_greeting["Greeting loader"]
  node_gallery["Accordion gallery"]
end

subgraph group_ui["UI layer"]
  node_glass["Glass section<br/>[glass-effect.tsx]"]
  node_metalbutton["Liquid metal button"]
  node_button["Button primitive<br/>[button.tsx]"]
  node_drawer["Drawer primitive<br/>[drawer.tsx]"]
  node_techstack["Tech stack UI<br/>[techstack.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens portfolio"| node_layout
node_layout -->|"renders"| node_navbar
node_layout -->|"renders"| node_scrollreset
node_layout -->|"wraps page"| node_home
node_home -->|"shows loader"| node_greeting
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_activities
node_home -->|"renders"| node_contact
node_home -->|"wraps sections"| node_glass
node_activities -->|"renders gallery"| node_gallery
node_hero -->|"uses button"| node_metalbutton

click node_layout "https://github.com/laidback-programmer/portfolio/blob/main/app/layout.tsx"
click node_home "https://github.com/laidback-programmer/portfolio/blob/main/app/page.tsx"
click node_navbar "https://github.com/laidback-programmer/portfolio/blob/main/components/kokonutui/morphic-navbar.tsx"
click node_scrollreset "https://github.com/laidback-programmer/portfolio/blob/main/components/Background/scrollreset.tsx"
click node_greeting "https://github.com/laidback-programmer/portfolio/blob/main/components/greeting-loader.tsx"
click node_hero "https://github.com/laidback-programmer/portfolio/blob/main/components/hero.tsx"
click node_about "https://github.com/laidback-programmer/portfolio/blob/main/components/about.tsx"
click node_projects "https://github.com/laidback-programmer/portfolio/blob/main/components/projects.tsx"
click node_skills "https://github.com/laidback-programmer/portfolio/blob/main/components/skills.tsx"
click node_activities "https://github.com/laidback-programmer/portfolio/blob/main/components/activities.tsx"
click node_contact "https://github.com/laidback-programmer/portfolio/blob/main/components/contact_form.tsx"
click node_glass "https://github.com/laidback-programmer/portfolio/blob/main/components/ui/glass-effect.tsx"
click node_gallery "https://github.com/laidback-programmer/portfolio/blob/main/components/ui/accordiangallery.tsx"
click node_metalbutton "https://github.com/laidback-programmer/portfolio/blob/main/components/ui/liquid-metal-button.tsx"
click node_button "https://github.com/laidback-programmer/portfolio/blob/main/components/ui/button.tsx"
click node_drawer "https://github.com/laidback-programmer/portfolio/blob/main/components/ui/drawer.tsx"
click node_techstack "https://github.com/laidback-programmer/portfolio/blob/main/components/ui/techstack.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_layout,node_home,node_navbar,node_scrollreset toneBlue
class node_hero,node_about,node_projects,node_skills,node_activities,node_contact toneAmber
class node_greeting,node_gallery toneMint
class node_glass,node_metalbutton,node_button,node_drawer,node_techstack toneRose
class node_visitor toneIndigo
```

## Components

### Page shell

- [Root layout](https://github.com/laidback-programmer/portfolio/blob/main/app/layout.tsx): `app/layout.tsx`
- [Home page](https://github.com/laidback-programmer/portfolio/blob/main/app/page.tsx): `app/page.tsx`
- [Morphing navbar](https://github.com/laidback-programmer/portfolio/blob/main/components/kokonutui/morphic-navbar.tsx): `components/kokonutui/morphic-navbar.tsx`
- [Scroll reset](https://github.com/laidback-programmer/portfolio/blob/main/components/Background/scrollreset.tsx): `components/Background/scrollreset.tsx`

### Portfolio sections

- [Hero](https://github.com/laidback-programmer/portfolio/blob/main/components/hero.tsx): `components/hero.tsx`
- [About](https://github.com/laidback-programmer/portfolio/blob/main/components/about.tsx): `components/about.tsx`
- [Projects](https://github.com/laidback-programmer/portfolio/blob/main/components/projects.tsx): `components/projects.tsx`
- [Skills](https://github.com/laidback-programmer/portfolio/blob/main/components/skills.tsx): `components/skills.tsx`
- [Activities](https://github.com/laidback-programmer/portfolio/blob/main/components/activities.tsx): `components/activities.tsx`
- [Contact form](https://github.com/laidback-programmer/portfolio/blob/main/components/contact_form.tsx): `components/contact_form.tsx`

### Interactive features

- [Greeting loader](https://github.com/laidback-programmer/portfolio/blob/main/components/greeting-loader.tsx): `components/greeting-loader.tsx`
- [Accordion gallery](https://github.com/laidback-programmer/portfolio/blob/main/components/ui/accordiangallery.tsx): `components/ui/accordiangallery.tsx`

### UI layer

- [Glass section](https://github.com/laidback-programmer/portfolio/blob/main/components/ui/glass-effect.tsx): `components/ui/glass-effect.tsx`
- [Liquid metal button](https://github.com/laidback-programmer/portfolio/blob/main/components/ui/liquid-metal-button.tsx): `components/ui/liquid-metal-button.tsx`
- [Button primitive](https://github.com/laidback-programmer/portfolio/blob/main/components/ui/button.tsx): `components/ui/button.tsx`
- [Drawer primitive](https://github.com/laidback-programmer/portfolio/blob/main/components/ui/drawer.tsx): `components/ui/drawer.tsx`
- [Tech stack UI](https://github.com/laidback-programmer/portfolio/blob/main/components/ui/techstack.tsx): `components/ui/techstack.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Root layout: opens portfolio (evidence: `app/layout.tsx`)
- Root layout → Morphing navbar: renders (evidence: `app/layout.tsx`)
- Root layout → Scroll reset: renders (evidence: `app/layout.tsx`)
- Root layout → Home page: wraps page (evidence: `app/layout.tsx`)
- Home page → Greeting loader: shows loader (evidence: `app/page.tsx`)
- Home page → Hero: renders (evidence: `app/page.tsx`)
- Home page → About: renders (evidence: `app/page.tsx`)
- Home page → Projects: renders (evidence: `app/page.tsx`)
- Home page → Skills: renders (evidence: `app/page.tsx`)
- Home page → Activities: renders (evidence: `app/page.tsx`)
- Home page → Contact form: renders (evidence: `app/page.tsx`)
- Home page → Glass section: wraps sections (evidence: `app/page.tsx`)
- Activities → Accordion gallery: renders gallery (evidence: `components/activities.tsx`)
- Hero → Liquid metal button: uses button (evidence: `components/hero.tsx`)
