# hasib-24/hasibpersonalportfolio architecture

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

- Interactive diagram: https://gitdiagram.com/hasib-24/hasibpersonalportfolio
- Repository: https://github.com/hasib-24/hasibpersonalportfolio

## Overview

This repository is a browser-based static portfolio: visitors view profile and portfolio pages, navigate between them, and use client-side interactions. The blog adds post authoring and viewing, with local storage as its fallback and optional Firestore support. The README describes the template and demo contact form; page-specific contents and navigation are not shown in the excerpts, so those links are not inferred.

Main entry points: [`js/blog.js`](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/js/blog.js) (Blog editor and renderer), [`index.html`](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/index.html) (Home page), [`blog.html`](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/blog.html) (Blog page), [`personal.html`](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/personal.html) (Personal profile)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio pages"]
  node_home["Home page<br/>[index.html]"]
  node_personal["Personal profile<br/>[personal.html]"]
  node_education["Education<br/>[education.html]"]
  node_languages["Languages<br/>[languages.html]"]
  node_skills["Technical skills"]
  node_projects["Projects<br/>[projects.html]"]
  node_address["Address<br/>[address.html]"]
  node_blogpage["Blog page<br/>[blog.html]"]
end

subgraph group_interaction["Browser interactions"]
  node_styles["Site styling<br/>[style.css]"]
  node_sitejs["Site interactions<br/>[main.js]"]
end

subgraph group_blog["Blog and posts"]
  node_blogjs["Blog editor and renderer<br/>[blog.js]"]
  node_local[("Browser local storage")]
  node_firestore[("Firestore")]
end

node_visitor(("Visitor"))

node_visitor -->|"views"| node_home
node_visitor --> node_personal
node_visitor --> node_education
node_visitor --> node_languages
node_visitor --> node_skills
node_visitor --> node_projects
node_visitor --> node_address
node_visitor --> node_blogpage
node_home -->|"styled by"| node_styles
node_home -.->|"interacts via"| node_sitejs
node_blogpage -.->|"runs"| node_blogjs
node_visitor -->|"edits and views posts"| node_blogjs
node_blogjs -->|"reads and writes"| node_local
node_blogjs -->|"reads and writes"| node_firestore

click node_home "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/index.html"
click node_personal "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/personal.html"
click node_education "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/education.html"
click node_languages "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/languages.html"
click node_skills "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/technical-skills.html"
click node_projects "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/projects.html"
click node_address "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/address.html"
click node_blogpage "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/blog.html"
click node_styles "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/css/style.css"
click node_sitejs "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/js/main.js"
click node_blogjs "https://github.com/hasib-24/hasibpersonalportfolio/blob/main/js/blog.js"

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_personal,node_education,node_languages,node_skills,node_projects,node_address,node_blogpage toneBlue
class node_styles,node_sitejs toneAmber
class node_blogjs,node_local,node_firestore toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio pages

- [Home page](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/index.html): `index.html`
- [Personal profile](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/personal.html): `personal.html`
- [Education](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/education.html): `education.html`
- [Languages](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/languages.html): `languages.html`
- [Technical skills](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/technical-skills.html): `technical-skills.html`
- [Projects](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/projects.html): `projects.html`
- [Address](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/address.html): `address.html`
- [Blog page](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/blog.html): `blog.html`

### Browser interactions

- [Site styling](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/css/style.css): `css/style.css`
- [Site interactions](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/js/main.js): `js/main.js`

### Blog and posts

- [Blog editor and renderer](https://github.com/hasib-24/hasibpersonalportfolio/blob/main/js/blog.js): `js/blog.js`
- **Browser local storage**
- **Firestore**

### Other components

- **Visitor**

## Connections

- Visitor → Home page: views (evidence: `README.md`)
- Visitor → Personal profile
- Visitor → Education
- Visitor → Languages
- Visitor → Technical skills
- Visitor → Projects
- Visitor → Address
- Visitor → Blog page
- Home page → Site styling: styled by (evidence: `README.md`)
- Home page → Site interactions: interacts via
- Blog page → Blog editor and renderer: runs
- Visitor → Blog editor and renderer: edits and views posts (evidence: `js/blog.js`)
- Blog editor and renderer → Browser local storage: reads and writes (evidence: `js/blog.js`)
- Blog editor and renderer → Firestore: reads and writes (evidence: `js/blog.js`)
