# hassan9087-tech/hassan-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/hassan9087-tech/hassan-portfolio
- Repository: https://github.com/hassan9087-tech/hassan-portfolio

## Overview

This is a personal portfolio website. Its likely user journey is viewing the portfolio and interacting with its animated, responsive presentation; the sampled JavaScript implements cursor effects, navigation toggling, scrolling feedback, and reveal animations. The tree also contains the page and stylesheet, but their contents and how they are wired to the script were not provided, so those relationships are not asserted.

Main entry points: [`index.html`](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/index.html) (Portfolio page), [`script.js`](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js) (Typing effect)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Portfolio presentation"]
  node_page["Portfolio page<br/>[index.html]"]
  node_styles["Visual styles<br/>[style.css]"]
end

subgraph group_behavior["Interactive behavior"]
  node_cursor["Custom cursor<br/>[script.js]"]
  node_scroll["Scroll feedback<br/>[script.js]"]
  node_menu["Mobile menu<br/>[script.js]"]
  node_typing["Typing effect<br/>[script.js]"]
  node_reveal["Reveal animations<br/>[script.js]"]
  node_particles["Floating particles<br/>[script.js]"]
  node_cards["Card effects<br/>[script.js]"]
end

node_visitor(("Visitor"))

node_visitor -.->|"views"| node_page
node_visitor -->|"moves pointer"| node_cursor
node_visitor -->|"scrolls page"| node_scroll
node_visitor -->|"toggles menu"| node_menu
node_visitor -->|"hovers cards"| node_cards
node_typing -->|"updates text"| node_page
node_reveal -->|"reveals elements"| node_page
node_particles -->|"adds particles"| node_page

click node_page "https://github.com/hassan9087-tech/hassan-portfolio/blob/main/index.html"
click node_styles "https://github.com/hassan9087-tech/hassan-portfolio/blob/main/style.css"
click node_cursor "https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js"
click node_scroll "https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js"
click node_menu "https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js"
click node_typing "https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js"
click node_reveal "https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js"
click node_particles "https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js"
click node_cards "https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.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_page,node_styles toneBlue
class node_cursor,node_scroll,node_menu,node_typing,node_reveal,node_particles,node_cards toneAmber
class node_visitor toneIndigo
```

## Components

### Portfolio presentation

- [Portfolio page](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/index.html): `index.html`
- [Visual styles](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/style.css): `style.css`

### Interactive behavior

- [Custom cursor](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js): `script.js`
- [Scroll feedback](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js): `script.js`
- [Mobile menu](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js): `script.js`
- [Typing effect](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js): `script.js`
- [Reveal animations](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js): `script.js`
- [Floating particles](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js): `script.js`
- [Card effects](https://github.com/hassan9087-tech/hassan-portfolio/blob/main/script.js): `script.js`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio page: views
- Visitor → Custom cursor: moves pointer (evidence: `script.js`)
- Visitor → Scroll feedback: scrolls page (evidence: `script.js`)
- Visitor → Mobile menu: toggles menu (evidence: `script.js`)
- Visitor → Card effects: hovers cards (evidence: `script.js`)
- Typing effect → Portfolio page: updates text (evidence: `script.js`)
- Reveal animations → Portfolio page: reveals elements (evidence: `script.js`)
- Floating particles → Portfolio page: adds particles (evidence: `script.js`)
