# krishna5459/professional-portfolio architecture

> Architecture diagram of the GitHub repository krishna5459/professional-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/krishna5459/professional-portfolio
- Repository: https://github.com/krishna5459/professional-portfolio

## Overview

This repository is a React portfolio site presenting Krishna L’s profile, work, skills, contact prompt, and social links. The browser mounts the app, which composes the page sections; visitors then explore the portfolio, follow project/social links, or use contact calls to action. Section-specific scroll animations enrich the experience. Evidence is limited to the supplied excerpts and source index, so the graph omits unsampled interaction details and unused UI-library relationships.

Main entry points: [`src/App.tsx`](https://github.com/krishna5459/professional-portfolio/blob/main/src/App.tsx) (Page composition), [`src/components/ui/sidebar.tsx`](https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/sidebar.tsx) (Sidebar primitive), [`src/main.tsx`](https://github.com/krishna5459/professional-portfolio/blob/main/src/main.tsx) (React mount), [`src/components/ui/button.tsx`](https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/button.tsx) (Button primitive)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["App runtime"]
  node_entry["React mount<br/>[main.tsx]"]
  node_app["Page composition<br/>[App.tsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_navigation["Site navigation<br/>[Navigation.tsx]"]
  node_hero["Intro and links<br/>[Hero.tsx]"]
  node_about["Profile and background<br/>[About.tsx]"]
  node_projects["Project showcase<br/>[Projects.tsx]"]
  node_services["Skills and certifications<br/>[Services.tsx]"]
  node_cta["Contact prompt<br/>[CTA.tsx]"]
  node_footer["Footer links<br/>[Footer.tsx]"]
end

subgraph group_ui["UI primitives"]
  node_button["Button primitive<br/>[button.tsx]"]
  node_dialog["Dialog primitive<br/>[dialog.tsx]"]
  node_input["Input primitive<br/>[input.tsx]"]
  node_label["Label primitive<br/>[label.tsx]"]
  node_separator["Separator primitive<br/>[separator.tsx]"]
  node_sheet["Sheet primitive<br/>[sheet.tsx]"]
  node_sidebar["Sidebar primitive<br/>[sidebar.tsx]"]
  node_tooltip["Tooltip primitive<br/>[tooltip.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_navigation
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_services
node_app -->|"renders"| node_cta
node_app -->|"renders"| node_footer
node_sidebar -->|"renders on mobile"| node_sheet
node_sidebar -->|"renders"| node_tooltip
node_button -.->|"accepts interaction"| node_visitor

click node_entry "https://github.com/krishna5459/professional-portfolio/blob/main/src/main.tsx"
click node_app "https://github.com/krishna5459/professional-portfolio/blob/main/src/App.tsx"
click node_navigation "https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/Navigation.tsx"
click node_hero "https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/Hero.tsx"
click node_about "https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/About.tsx"
click node_projects "https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/Projects.tsx"
click node_services "https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/Services.tsx"
click node_cta "https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/CTA.tsx"
click node_footer "https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/Footer.tsx"
click node_button "https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/button.tsx"
click node_dialog "https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/dialog.tsx"
click node_input "https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/input.tsx"
click node_label "https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/label.tsx"
click node_separator "https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/separator.tsx"
click node_sheet "https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/sheet.tsx"
click node_sidebar "https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/sidebar.tsx"
click node_tooltip "https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/tooltip.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_entry,node_app toneBlue
class node_navigation,node_hero,node_about,node_projects,node_services,node_cta,node_footer toneAmber
class node_button,node_dialog,node_input,node_label,node_separator,node_sheet,node_sidebar,node_tooltip toneMint
class node_visitor toneIndigo
```

## Components

### App runtime

- [React mount](https://github.com/krishna5459/professional-portfolio/blob/main/src/main.tsx): `src/main.tsx`
- [Page composition](https://github.com/krishna5459/professional-portfolio/blob/main/src/App.tsx): `src/App.tsx`

### Portfolio content

- [Site navigation](https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/Navigation.tsx): `src/sections/Navigation.tsx`
- [Intro and links](https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/Hero.tsx): `src/sections/Hero.tsx`
- [Profile and background](https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/About.tsx): `src/sections/About.tsx`
- [Project showcase](https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/Projects.tsx): `src/sections/Projects.tsx`
- [Skills and certifications](https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/Services.tsx): `src/sections/Services.tsx`
- [Contact prompt](https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/CTA.tsx): `src/sections/CTA.tsx`
- [Footer links](https://github.com/krishna5459/professional-portfolio/blob/main/src/sections/Footer.tsx): `src/sections/Footer.tsx`

### UI primitives

- [Button primitive](https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/button.tsx): `src/components/ui/button.tsx`
- [Dialog primitive](https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/dialog.tsx): `src/components/ui/dialog.tsx`
- [Input primitive](https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/input.tsx): `src/components/ui/input.tsx`
- [Label primitive](https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/label.tsx): `src/components/ui/label.tsx`
- [Separator primitive](https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/separator.tsx): `src/components/ui/separator.tsx`
- [Sheet primitive](https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/sheet.tsx): `src/components/ui/sheet.tsx`
- [Sidebar primitive](https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/sidebar.tsx): `src/components/ui/sidebar.tsx`
- [Tooltip primitive](https://github.com/krishna5459/professional-portfolio/blob/main/src/components/ui/tooltip.tsx): `src/components/ui/tooltip.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → React mount: opens site
- React mount → Page composition: renders (evidence: `src/main.tsx`)
- Page composition → Site navigation: renders (evidence: `src/App.tsx`)
- Page composition → Intro and links: renders (evidence: `src/App.tsx`)
- Page composition → Profile and background: renders (evidence: `src/App.tsx`)
- Page composition → Project showcase: renders (evidence: `src/App.tsx`)
- Page composition → Skills and certifications: renders (evidence: `src/App.tsx`)
- Page composition → Contact prompt: renders (evidence: `src/App.tsx`)
- Page composition → Footer links: renders (evidence: `src/App.tsx`)
- Sidebar primitive → Sheet primitive: renders on mobile (evidence: `src/components/ui/sidebar.tsx`)
- Sidebar primitive → Tooltip primitive: renders (evidence: `src/components/ui/sidebar.tsx`)
- Button primitive → Visitor: accepts interaction
