# kunalkharga/kunalportfolio2 architecture

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

- Interactive diagram: https://gitdiagram.com/kunalkharga/kunalportfolio2
- Repository: https://github.com/kunalkharga/kunalportfolio2

## Overview

1. **Overall shape**  
This repository is a small, static personal portfolio site. It has no backend, database, or build pipeline; the runtime is simply a browser rendering `index.html` with linked CSS and JavaScript.

2. **Presentation layer**  
`index.html` is the entry point and defines the page structure for the portfolio. It is the top-level composition point for the site’s content sections, navigation, and asset references.

3. **Styling subsystem**  
`style.css` owns the visual design: layout, typography, spacing, colors, responsiveness, and any hover/interaction styling. In an architecture diagram, this is a direct dependency of the HTML page rather than a separate service.

4. **Client-side behavior**  
`script.js` contains the interactive behavior for the page. For a portfolio like this, that typically means UI effects, scrolling/navigation interactions, menu toggles, or other small client-side enhancements. It runs entirely in the browser.

5. **Static asset storage**  
The `Image/` directory is the asset boundary for downloadable or embedded media. The included `Kunal kharga CV.pdf` is a portfolio deliverable, likely linked from the page for resume download or viewing. This is the main non-code artifact in the repo.

6. **Data flow at runtime**  
The browser requests `index.html`, which then loads `style.css`, `script.js`, and any referenced media assets from `Image/`. There is no server-mediated data exchange; all content is local and statically served.

7. **Subsystem boundaries**  
The important architectural separation is: structure in HTML, presentation in CSS, behavior in JavaScript, and downloadable content in the asset folder. This keeps the repo simple and easy to diagram as a single-page static site.

8. **Tooling and environment**  
`.vscode/` is editor configuration only and does not affect the deployed architecture. There are no signs of frameworks, package managers, or external services.

9. **What the diagram should show**  
A good architecture diagram would place the browser at the center, with arrows to `index.html`, then to `style.css`, `script.js`, and the PDF asset under `Image/`. No additional layers are needed unless the page is later extended with external hosting or APIs.

Main entry points: [`index.html`](https://github.com/kunalkharga/kunalportfolio2/blob/master/index.html) (index.html), [`Image`](https://github.com/kunalkharga/kunalportfolio2/tree/master/Image) (Image/), [`style.css`](https://github.com/kunalkharga/kunalportfolio2/blob/master/style.css) (style.css), [`script.js`](https://github.com/kunalkharga/kunalportfolio2/blob/master/script.js) (script.js)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Runtime"]
  node_browser(("Browser<br/>client runtime"))
end

subgraph group_site["Static Site"]
  node_index["index.html<br/>entry document<br/>[index.html]"]
  node_style["style.css<br/>stylesheet<br/>[style.css]"]
  node_script["script.js<br/>client script<br/>[script.js]"]
end

subgraph group_assets["Assets"]
  node_image_dir[("Image/<br/>asset folder")]
  node_resume["CV PDF<br/>portfolio asset"]
end

node_browser -->|"loads"| node_index
node_index -->|"links"| node_style
node_index -->|"executes"| node_script
node_index -->|"references"| node_image_dir
node_image_dir -->|"contains"| node_resume

click node_index "https://github.com/kunalkharga/kunalportfolio2/blob/master/index.html"
click node_style "https://github.com/kunalkharga/kunalportfolio2/blob/master/style.css"
click node_script "https://github.com/kunalkharga/kunalportfolio2/blob/master/script.js"
click node_image_dir "https://github.com/kunalkharga/kunalportfolio2/tree/master/Image"
click node_resume "https://github.com/kunalkharga/kunalportfolio2/blob/master/Image/Kunal kharga CV.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_browser toneBlue
class node_index,node_style,node_script toneAmber
class node_image_dir,node_resume toneMint
```

## Components

### Runtime

Client-side browser execution

- **Browser**: client runtime · Renders the portfolio page and loads static assets

### Static Site

Core portfolio delivery

- [index.html](https://github.com/kunalkharga/kunalportfolio2/blob/master/index.html): entry document · Top-level page structure and asset wiring · `index.html`
- [style.css](https://github.com/kunalkharga/kunalportfolio2/blob/master/style.css): stylesheet · Visual design, layout, typography, and responsiveness · `style.css`
- [script.js](https://github.com/kunalkharga/kunalportfolio2/blob/master/script.js): client script · Browser-side interactivity and UI behavior · `script.js`

### Assets

Downloadable and embedded media

- [Image/](https://github.com/kunalkharga/kunalportfolio2/tree/master/Image): asset folder · Static media and downloadable portfolio files · `Image`
- [CV PDF](https://github.com/kunalkharga/kunalportfolio2/blob/HEAD/Image/Kunal%20kharga%20CV.pdf): portfolio asset · Downloadable resume document · `Image/Kunal kharga CV.pdf`

## Connections

- Browser → index.html: loads · The browser requests the entry document
- index.html → style.css: links · HTML references the stylesheet
- index.html → script.js: executes · HTML includes the client-side script
- index.html → Image/: references · Page content pulls media from the asset directory
- Image/ → CV PDF: contains · The asset folder stores the CV PDF
