# gokulrajan23/portfolio architecture

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

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

## Overview

#### Purpose and delivery model
This repository is a hand-authored static personal portfolio for `gokulrajan.de`, with a separate technology-blog archive. It has no server, package manager, build pipeline, or application API: a browser loads files directly from the repository root. Primary entry points are `index.html` for the portfolio and `blog.html` for the blog index.

#### Portfolio document structure
`index.html` is the content and navigation source of truth: hero, competencies, timeline-based experience/education/volunteering, projects, and hackathons are authored directly in HTML. Internal anchor links connect header navigation to page sections. Content changes are markup edits rather than CMS, database, or template updates.
Paths: `index.html`, `README.md`.

#### Presentation and responsive layout
`style.css` owns the portfolio visual system: CSS custom properties define default dark-theme tokens and light-theme overrides; reusable card, grid, timeline, reveal, and hover styles shape the page. Skills and projects use responsive flex layouts that progress from one to three columns while centering incomplete rows. A fixed, non-interactive gradient background is rendered through `.blob-bg` and its pseudo-element.
Paths: `style.css`, `index.html`.

#### Browser interaction layer
`script.js` progressively adds client-side behavior to the static portfolio. It toggles the document theme attribute and persists the preference in browser `localStorage`; handles sticky-header state and smooth in-page anchor scrolling; and uses `IntersectionObserver` to activate one-time scroll-reveal animations. The hero’s initial reveal remains CSS-driven, separating immediate load animation from observer-triggered section animation.
Paths: `script.js`, `style.css`, `index.html`.

#### Blog publishing boundary
The blog is independent of the portfolio styling and behavior. `blog.html` is a standalone index that links to individual archived article HTML files. Each post is a pre-exported, self-contained Medium archive; paired `.bak` files appear to preserve alternate/backed-up copies. Adding a post means placing its export in `blogposts/` and adding the link manually to the index.
Paths: `blog.html`, `blogposts/2025-04-12_TECHNICAL-DIFFICULTIES-IN-IMPLEMENTING-5G-IN-INDIA-e083b49f4d14.html`, `blogposts/2020-05-26_POCO-F2-PRO-FIRST-LOOK---PRICE---SPECIFICATIONS---IS-IT-WORTH--15c9b646e4d6.html`.

#### Runtime dependencies and infrastructure
The material runtime is the web browser and static hosting serving repository-root assets, optionally tested locally with a simple HTTP server. External browser-loaded dependencies are Google Fonts (Outfit) and Font Awesome 6.4.0; neither is vendored. There are no backend services, auth, storage systems beyond `localStorage`, or deployment manifests in the supplied tree.
Paths: `index.html`, `style.css`, `README.md`.

#### Non-site artifacts
`.tmp_xlsx_unzip/` contains unpacked XLSX/XML artifacts and does not participate in the described site runtime. `test_audio.mp3` is a root static asset but is not identified as part of the portfolio or blog architecture. Assistant-specific repository conventions are isolated under GitHub metadata.
Paths: `.tmp_xlsx_unzip/xl/workbook.xml`, `test_audio.mp3`, `.github/copilot-instructions.md`.

Main entry points: [`index.html`](https://github.com/gokulrajan23/portfolio/blob/main/index.html) (Portfolio entry), [`blog.html`](https://github.com/gokulrajan23/portfolio/blob/main/blog.html) (Blog index), [`style.css`](https://github.com/gokulrajan23/portfolio/blob/main/style.css) (Visual system), [`script.js`](https://github.com/gokulrajan23/portfolio/blob/main/script.js) (Interaction layer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio site"]
  node_index["Portfolio entry<br/>HTML document<br/>[index.html]"]
  node_portfolio_content["Portfolio sections<br/>authored content<br/>[index.html]"]
  node_styles["Visual system<br/>CSS<br/>[style.css]"]
  node_gradient_bg["Gradient background<br/>CSS layer<br/>[style.css]"]
  node_interactions["Interaction layer<br/>browser JavaScript<br/>[script.js]"]
  node_local_storage[("Theme preference<br/>browser storage")]
end

subgraph group_blog["Blog archive"]
  node_blog_index["Blog index<br/>HTML document<br/>[blog.html]"]
  node_article_2025["2025 5G article<br/>archived HTML post"]
  node_article_2020["2020 POCO article<br/>archived HTML post"]
end

node_hosting{{"Static hosting<br/>runtime"}}
node_browser(("Web browser<br/>runtime"))
node_external_assets["Google Fonts &amp; Font Awesome<br/>external browser assets"]
node_readme["Repository guide<br/>documentation<br/>[README.md]"]

node_hosting -->|"serves static files"| node_browser
node_browser -->|"loads"| node_index
node_index -->|"authors"| node_portfolio_content
node_index -->|"applies"| node_styles
node_index -->|"loads"| node_interactions
node_styles -->|"renders"| node_gradient_bg
node_interactions -->|"reads and writes"| node_local_storage
node_browser -->|"loads"| node_external_assets
node_readme -.->|"documents local serving"| node_hosting
node_browser -->|"loads"| node_blog_index
node_blog_index -->|"links manually"| node_article_2025
node_blog_index -->|"links manually"| node_article_2020

click node_index "https://github.com/gokulrajan23/portfolio/blob/main/index.html"
click node_portfolio_content "https://github.com/gokulrajan23/portfolio/blob/main/index.html"
click node_styles "https://github.com/gokulrajan23/portfolio/blob/main/style.css"
click node_gradient_bg "https://github.com/gokulrajan23/portfolio/blob/main/style.css"
click node_interactions "https://github.com/gokulrajan23/portfolio/blob/main/script.js"
click node_readme "https://github.com/gokulrajan23/portfolio/blob/main/README.md"
click node_blog_index "https://github.com/gokulrajan23/portfolio/blob/main/blog.html"
click node_article_2025 "https://github.com/gokulrajan23/portfolio/blob/main/blogposts/2025-04-12_TECHNICAL-DIFFICULTIES-IN-IMPLEMENTING-5G-IN-INDIA-e083b49f4d14.html"
click node_article_2020 "https://github.com/gokulrajan23/portfolio/blob/main/blogposts/2020-05-26_POCO-F2-PRO-FIRST-LOOK---PRICE---SPECIFICATIONS---IS-IT-WORTH--15c9b646e4d6.html"

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_index,node_portfolio_content,node_styles,node_gradient_bg,node_interactions,node_local_storage toneBlue
class node_blog_index,node_article_2025,node_article_2020 toneAmber
class node_hosting,node_browser,node_external_assets,node_readme toneNeutral
```

## Components

### Portfolio site

Static root-served portfolio.

- [Portfolio entry](https://github.com/gokulrajan23/portfolio/blob/main/index.html): HTML document · Navigation and portfolio content source of truth. · `index.html`
- [Portfolio sections](https://github.com/gokulrajan23/portfolio/blob/main/index.html): authored content · Hero, skills, timeline, projects, and hackathons. · `index.html`
- [Visual system](https://github.com/gokulrajan23/portfolio/blob/main/style.css): CSS · Theme tokens, responsive layouts, cards, and animations. · `style.css`
- [Gradient background](https://github.com/gokulrajan23/portfolio/blob/main/style.css): CSS layer · Non-interactive fixed blob background. · `style.css`
- [Interaction layer](https://github.com/gokulrajan23/portfolio/blob/main/script.js): browser JavaScript · Theme, sticky header, scrolling, and reveals. · `script.js`
- **Theme preference**: browser storage · Persists the selected document theme.

### Blog archive

Standalone manually maintained archive.

- [Blog index](https://github.com/gokulrajan23/portfolio/blob/main/blog.html): HTML document · Manually links published article exports. · `blog.html`
- [2025 5G article](https://github.com/gokulrajan23/portfolio/blob/main/blogposts/2025-04-12_TECHNICAL-DIFFICULTIES-IN-IMPLEMENTING-5G-IN-INDIA-e083b49f4d14.html): archived HTML post · Self-contained Medium export. · `blogposts/2025-04-12_TECHNICAL-DIFFICULTIES-IN-IMPLEMENTING-5G-IN-INDIA-e083b49f4d14.html`
- [2020 POCO article](https://github.com/gokulrajan23/portfolio/blob/main/blogposts/2020-05-26_POCO-F2-PRO-FIRST-LOOK---PRICE---SPECIFICATIONS---IS-IT-WORTH--15c9b646e4d6.html): archived HTML post · Self-contained Medium export. · `blogposts/2020-05-26_POCO-F2-PRO-FIRST-LOOK---PRICE---SPECIFICATIONS---IS-IT-WORTH--15c9b646e4d6.html`

### Other components

- **Static hosting**: runtime · Serves repository-root files directly.
- **Web browser**: runtime · Loads and executes the static site.
- **Google Fonts & Font Awesome**: external browser assets · Loaded from external providers, not vendored.
- [Repository guide](https://github.com/gokulrajan23/portfolio/blob/main/README.md): documentation · Documents local static serving. · `README.md`

## Connections

- Static hosting → Web browser: serves static files
- Web browser → Portfolio entry: loads
- Portfolio entry → Portfolio sections: authors
- Portfolio entry → Visual system: applies
- Portfolio entry → Interaction layer: loads
- Visual system → Gradient background: renders
- Interaction layer → Theme preference: reads and writes
- Web browser → Google Fonts & Font Awesome: loads
- Repository guide → Static hosting: documents local serving
- Web browser → Blog index: loads
- Blog index → 2025 5G article: links manually
- Blog index → 2020 POCO article: links manually
