# strangerwaqar/portfolio architecture

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

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

## Overview

This is a small personal portfolio site. A visitor views the portfolio and can use its navigation and interactive page elements; `index.js` implements scrolling, menu behavior, animations, and an optional carousel. The tree and README identify the HTML and CSS files, but their contents were not sampled, so their detailed sections and styling relationships are not inferred.

Main entry points: [`index.js`](https://github.com/strangerwaqar/portfolio/blob/main/index.js) (Page interactions), [`index.html`](https://github.com/strangerwaqar/portfolio/blob/main/index.html) (Portfolio page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio site"]
  node_portfolio["Portfolio page<br/>[index.html]"]
  node_styles["Page styles<br/>[styles.css]"]
  node_interactions["Page interactions<br/>[index.js]"]
end

node_visitor(("Visitor"))
node_aos["AOS animations"]
node_typeit["TypeIt effects"]
node_gsap["GSAP animations"]
node_glide["Glide carousel"]

node_visitor -.->|"views"| node_portfolio
node_interactions -->|"updates DOM"| node_portfolio
node_interactions -->|"initializes"| node_aos
node_interactions -->|"creates effects"| node_typeit
node_interactions -->|"animates elements"| node_gsap
node_interactions -->|"mounts carousel"| node_glide

click node_portfolio "https://github.com/strangerwaqar/portfolio/blob/main/index.html"
click node_styles "https://github.com/strangerwaqar/portfolio/blob/main/styles.css"
click node_interactions "https://github.com/strangerwaqar/portfolio/blob/main/index.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_portfolio,node_styles,node_interactions toneBlue
class node_visitor,node_aos,node_typeit,node_gsap,node_glide toneIndigo
```

## Components

### Portfolio site

- [Portfolio page](https://github.com/strangerwaqar/portfolio/blob/main/index.html): `index.html`
- [Page styles](https://github.com/strangerwaqar/portfolio/blob/main/styles.css): `styles.css`
- [Page interactions](https://github.com/strangerwaqar/portfolio/blob/main/index.js): `index.js`

### Other components

- **Visitor**
- **AOS animations**
- **TypeIt effects**
- **GSAP animations**
- **Glide carousel**

## Connections

- Visitor → Portfolio page: views
- Page interactions → Portfolio page: updates DOM (evidence: `index.js`)
- Page interactions → AOS animations: initializes (evidence: `index.js`)
- Page interactions → TypeIt effects: creates effects (evidence: `index.js`)
- Page interactions → GSAP animations: animates elements (evidence: `index.js`)
- Page interactions → Glide carousel: mounts carousel (evidence: `index.js`)
