# binteaqeel/portfolio architecture

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

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

## Overview

#### Purpose and entry point
This is a static portfolio site with no README-defined backend or build system. The browser entry point is `index.html`, which presents portfolio content and likely embeds project demonstrations from root-level MP4 assets such as `phishing.mp4` and `stockPredictor.mp4`.

#### Page composition
`index.html` is the application shell: it defines the document structure, navigation, portfolio sections, media references, and hooks consumed by styling and JavaScript. There is no evidence of server routes, API clients, or runtime persistence.

#### Styling layer
Visual presentation is split between site-specific and third-party styles:
- `css/styles.css` contains the portfolio’s primary design, layout, responsive behavior, and component styling.
- `css/vendor.css` supplies vendor/framework styles used by the page or plugins.

The boundary is conventional: page markup in `index.html` references class-based styling, while CSS owns layout and visual state.

#### Client-side behavior
Browser-side interaction is implemented in:
- `js/main.js` — site-specific behavior, likely navigation, scrolling, portfolio interactions, and initialization.
- `js/plugins.js` — bundled or shared third-party plugin behavior.

`index.html` loads these scripts; JavaScript enhances the static document rather than operating as a separate application frontend.

#### Portfolio media pipeline
Portfolio project demos are delivered as static video files from the repository root:
- `beat-the-ai-project_wwuHh8P3.mp4`
- `bounceBattle.mp4`
- `salesPerformanceDashboard.mp4`
- `stockPredictor.mp4`

The browser directly fetches these assets when referenced by the HTML. This keeps media hosting coupled to the static deployment target and makes video size/bandwidth a material delivery concern.

#### Image assets
Visual imagery is organized under:
- `images/icons`
- `images/portfolio`
- `images/portfolio/gallery`

These are static resources consumed by `index.html` and/or CSS. The gallery hierarchy indicates portfolio thumbnails or expanded gallery media are a distinct content boundary from generic icons.

#### Runtime and infrastructure
The only required runtime is a modern web browser plus static-file hosting capable of serving HTML, CSS, JavaScript, images, and MP4 files. No application server, database, authentication provider, CI pipeline, package manifest, or external service integration is represented in the repository tree.

Main entry points: [`index.html`](https://github.com/binteaqeel/portfolio/blob/master/index.html) (Portfolio document), [`js/main.js`](https://github.com/binteaqeel/portfolio/blob/master/js/main.js) (Site behavior), [`images/portfolio`](https://github.com/binteaqeel/portfolio/tree/master/images/portfolio) (Portfolio images), [`css/styles.css`](https://github.com/binteaqeel/portfolio/blob/master/css/styles.css) (Site styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Page shell"]
  node_index["Portfolio document<br/>HTML shell<br/>[index.html]"]
end

subgraph group_client["Browser assets"]
  node_site_css["Site styles<br/>CSS<br/>[styles.css]"]
  node_vendor_css["Vendor styles<br/>CSS<br/>[vendor.css]"]
  node_main_js["Site behavior<br/>JavaScript<br/>[main.js]"]
  node_plugins_js["Plugin behavior<br/>JavaScript<br/>[plugins.js]"]
end

subgraph group_media["Portfolio media"]
  node_icons["Icons<br/>image assets"]
  node_portfolio_images["Portfolio images<br/>image assets"]
  node_gallery_images["Gallery media<br/>image assets"]
  node_project_videos["Project demo videos<br/>MP4 assets"]
  node_beat_video["Beat the AI demo<br/>MP4"]
  node_bounce_video["Bounce Battle demo<br/>MP4<br/>[bounceBattle.mp4]"]
  node_sales_video["Sales dashboard demo<br/>MP4"]
  node_stock_video["Stock predictor demo<br/>MP4<br/>[stockPredictor.mp4]"]
end

node_browser(("Modern browser<br/>runtime"))
node_static_host{{"Static-file hosting<br/>deployment"}}

node_static_host -->|"serves static site"| node_browser
node_browser -->|"loads"| node_index
node_index -->|"applies"| node_site_css
node_index -->|"applies"| node_vendor_css
node_index -->|"loads"| node_main_js
node_index -->|"loads"| node_plugins_js
node_main_js -->|"enhances"| node_index
node_index -->|"uses"| node_icons
node_index -->|"uses"| node_portfolio_images
node_portfolio_images -->|"contains gallery subset"| node_gallery_images
node_index -->|"references"| node_project_videos
node_project_videos -->|"includes"| node_beat_video
node_project_videos -->|"includes"| node_bounce_video
node_project_videos -->|"includes"| node_sales_video
node_project_videos -->|"includes"| node_stock_video
node_browser -->|"fetches directly"| node_project_videos

click node_index "https://github.com/binteaqeel/portfolio/blob/master/index.html"
click node_site_css "https://github.com/binteaqeel/portfolio/blob/master/css/styles.css"
click node_vendor_css "https://github.com/binteaqeel/portfolio/blob/master/css/vendor.css"
click node_main_js "https://github.com/binteaqeel/portfolio/blob/master/js/main.js"
click node_plugins_js "https://github.com/binteaqeel/portfolio/blob/master/js/plugins.js"
click node_icons "https://github.com/binteaqeel/portfolio/tree/master/images/icons"
click node_portfolio_images "https://github.com/binteaqeel/portfolio/tree/master/images/portfolio"
click node_gallery_images "https://github.com/binteaqeel/portfolio/tree/master/images/portfolio/gallery"
click node_beat_video "https://github.com/binteaqeel/portfolio/blob/master/beat-the-ai-project_wwuHh8P3.mp4"
click node_bounce_video "https://github.com/binteaqeel/portfolio/blob/master/bounceBattle.mp4"
click node_sales_video "https://github.com/binteaqeel/portfolio/blob/master/salesPerformanceDashboard.mp4"
click node_stock_video "https://github.com/binteaqeel/portfolio/blob/master/stockPredictor.mp4"

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 toneBlue
class node_site_css,node_vendor_css,node_main_js,node_plugins_js toneAmber
class node_icons,node_portfolio_images,node_gallery_images,node_project_videos,node_beat_video,node_bounce_video,node_sales_video,node_stock_video toneMint
class node_browser,node_static_host toneNeutral
```

## Components

### Page shell

- [Portfolio document](https://github.com/binteaqeel/portfolio/blob/master/index.html): HTML shell · Defines navigation, sections, media references, and script hooks. · `index.html`

### Browser assets

- [Site styles](https://github.com/binteaqeel/portfolio/blob/master/css/styles.css): CSS · Owns layout, responsive behavior, and component presentation. · `css/styles.css`
- [Vendor styles](https://github.com/binteaqeel/portfolio/blob/master/css/vendor.css): CSS · Third-party or framework styling. · `css/vendor.css`
- [Site behavior](https://github.com/binteaqeel/portfolio/blob/master/js/main.js): JavaScript · Enhances navigation, scrolling, and portfolio interactions. · `js/main.js`
- [Plugin behavior](https://github.com/binteaqeel/portfolio/blob/master/js/plugins.js): JavaScript · Shared third-party browser behavior. · `js/plugins.js`

### Portfolio media

- [Icons](https://github.com/binteaqeel/portfolio/tree/master/images/icons): image assets · `images/icons`
- [Portfolio images](https://github.com/binteaqeel/portfolio/tree/master/images/portfolio): image assets · `images/portfolio`
- [Gallery media](https://github.com/binteaqeel/portfolio/tree/master/images/portfolio/gallery): image assets · Portfolio gallery thumbnails or expanded media. · `images/portfolio/gallery`
- **Project demo videos**: MP4 assets · Static demos whose delivery size affects bandwidth.
- [Beat the AI demo](https://github.com/binteaqeel/portfolio/blob/master/beat-the-ai-project_wwuHh8P3.mp4): MP4 · `beat-the-ai-project_wwuHh8P3.mp4`
- [Bounce Battle demo](https://github.com/binteaqeel/portfolio/blob/master/bounceBattle.mp4): MP4 · `bounceBattle.mp4`
- [Sales dashboard demo](https://github.com/binteaqeel/portfolio/blob/master/salesPerformanceDashboard.mp4): MP4 · `salesPerformanceDashboard.mp4`
- [Stock predictor demo](https://github.com/binteaqeel/portfolio/blob/master/stockPredictor.mp4): MP4 · `stockPredictor.mp4`

### Other components

- **Modern browser**: runtime · The only application runtime.
- **Static-file hosting**: deployment · Serves the site files and media.

## Connections

- Static-file hosting → Modern browser: serves static site
- Modern browser → Portfolio document: loads
- Portfolio document → Site styles: applies
- Portfolio document → Vendor styles: applies
- Portfolio document → Site behavior: loads
- Portfolio document → Plugin behavior: loads
- Site behavior → Portfolio document: enhances
- Portfolio document → Icons: uses
- Portfolio document → Portfolio images: uses
- Portfolio images → Gallery media: contains gallery subset
- Portfolio document → Project demo videos: references
- Project demo videos → Beat the AI demo: includes
- Project demo videos → Bounce Battle demo: includes
- Project demo videos → Sales dashboard demo: includes
- Project demo videos → Stock predictor demo: includes
- Modern browser → Project demo videos: fetches directly
