# shahtanish-bit/portfolio architecture

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

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

## Overview

This is a static personal portfolio built from HTML, CSS, and JavaScript. Visitors browse a home page, an experience page describing projects, and a contact page. On the home page, app.js runs the terminal-style typing animation; it also handles mobile sidebar controls and attempts video playback. The README documents visual features and page capabilities, but HTML and CSS source were not sampled, so styling and page-to-page wiring are not asserted. The video files are included as site media; their specific page assignments are not shown.

Main entry points: [`index.html`](https://github.com/shahtanish-bit/portfolio/blob/main/index.html) (Home page), [`experience.html`](https://github.com/shahtanish-bit/portfolio/blob/main/experience.html) (Experience page), [`contact.html`](https://github.com/shahtanish-bit/portfolio/blob/main/contact.html) (Contact page), [`app.js`](https://github.com/shahtanish-bit/portfolio/blob/main/app.js) (Terminal typing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Portfolio pages"]
  node_home["Home page<br/>[index.html]"]
  node_experience["Experience page<br/>[experience.html]"]
  node_contact["Contact page<br/>[contact.html]"]
end

subgraph group_runtime["Browser interactions"]
  node_animation["Terminal typing<br/>[app.js]"]
  node_sidebar["Mobile sidebar<br/>[app.js]"]
  node_video_playback["Video playback<br/>[app.js]"]
end

subgraph group_presentation["Visual assets"]
  node_base_styles["Shared styling<br/>[style.css]"]
  node_experience_styles["Experience styling"]
  node_contact_styles["Contact styling<br/>[contact.css]"]
  node_site_videos["Site videos"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"views"| node_experience
node_visitor -->|"views"| node_contact
node_home -->|"runs"| node_animation
node_home -->|"offers"| node_sidebar
node_home -.->|"plays videos"| node_video_playback

click node_home "https://github.com/shahtanish-bit/portfolio/blob/main/index.html"
click node_experience "https://github.com/shahtanish-bit/portfolio/blob/main/experience.html"
click node_contact "https://github.com/shahtanish-bit/portfolio/blob/main/contact.html"
click node_animation "https://github.com/shahtanish-bit/portfolio/blob/main/app.js"
click node_sidebar "https://github.com/shahtanish-bit/portfolio/blob/main/app.js"
click node_video_playback "https://github.com/shahtanish-bit/portfolio/blob/main/app.js"
click node_base_styles "https://github.com/shahtanish-bit/portfolio/blob/main/css/style.css"
click node_experience_styles "https://github.com/shahtanish-bit/portfolio/blob/main/css/experience-style.css"
click node_contact_styles "https://github.com/shahtanish-bit/portfolio/blob/main/css/contact.css"
click node_site_videos "https://github.com/shahtanish-bit/portfolio/tree/main/videos"

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_experience,node_contact toneBlue
class node_animation,node_sidebar,node_video_playback toneAmber
class node_base_styles,node_experience_styles,node_contact_styles,node_site_videos toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio pages

- [Home page](https://github.com/shahtanish-bit/portfolio/blob/main/index.html): `index.html`
- [Experience page](https://github.com/shahtanish-bit/portfolio/blob/main/experience.html): `experience.html`
- [Contact page](https://github.com/shahtanish-bit/portfolio/blob/main/contact.html): `contact.html`

### Browser interactions

- [Terminal typing](https://github.com/shahtanish-bit/portfolio/blob/main/app.js): `app.js`
- [Mobile sidebar](https://github.com/shahtanish-bit/portfolio/blob/main/app.js): `app.js`
- [Video playback](https://github.com/shahtanish-bit/portfolio/blob/main/app.js): `app.js`

### Visual assets

- [Shared styling](https://github.com/shahtanish-bit/portfolio/blob/main/css/style.css): `css/style.css`
- [Experience styling](https://github.com/shahtanish-bit/portfolio/blob/main/css/experience-style.css): `css/experience-style.css`
- [Contact styling](https://github.com/shahtanish-bit/portfolio/blob/main/css/contact.css): `css/contact.css`
- [Site videos](https://github.com/shahtanish-bit/portfolio/tree/main/videos): `videos`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens (evidence: `README.md`)
- Visitor → Experience page: views (evidence: `README.md`)
- Visitor → Contact page: views (evidence: `README.md`)
- Home page → Terminal typing: runs (evidence: `app.js`)
- Home page → Mobile sidebar: offers (evidence: `README.md`)
- Home page → Video playback: plays videos
