# naveen457/personal-portfolio architecture

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

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

## Overview

This repository is a personal portfolio site with an optional Vercel deploy-hook feature. Its main visitor workflow is browsing the portfolio and narrowing showcased projects; the README also describes an optional push-triggered deployment path. The JavaScript excerpts show project filtering and interactive portfolio features, but do not show every initialization or page-wiring detail, so those links are omitted. Deployment relationships are based on README documentation.

Main entry points: [`index.html`](https://github.com/naveen457/personal-portfolio/blob/main/index.html) (Portfolio page), [`.githooks/post-push`](https://github.com/naveen457/personal-portfolio/blob/main/.githooks/post-push) (Post-push hook), [`scripts/trigger-vercel-deploy.mjs`](https://github.com/naveen457/personal-portfolio/blob/main/scripts/trigger-vercel-deploy.mjs) (Deploy trigger), [`.github/workflows/trigger-vercel-deploy.yml`](https://github.com/naveen457/personal-portfolio/blob/main/.github/workflows/trigger-vercel-deploy.yml) (GitHub Actions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio experience"]
  node_portfolio_page["Portfolio page<br/>[index.html]"]
  node_visual_design["Visual design<br/>[Styles.css]"]
  node_portfolio_content["Portfolio content<br/>[script.js]"]
end

subgraph group_interaction["Interactive features"]
  node_project_browsing["Project browsing<br/>[script.js]"]
  node_architecture_sandbox["Architecture sandbox<br/>[script.js]"]
  node_visual_effects["Visual effects<br/>[script.js]"]
  node_contact_tools["Contact tools<br/>[script.js]"]
end

subgraph group_deployment["Optional deployment"]
  node_post_push_hook["Post-push hook<br/>[post-push]"]
  node_deploy_trigger["Deploy trigger"]
  node_github_actions["GitHub Actions"]
end

node_visitor(("Portfolio visitor"))
node_git_push(("Git push"))
node_vercel{{"Vercel deploy hook"}}

node_visitor -->|"views"| node_portfolio_page
node_portfolio_page -->|"filters projects"| node_project_browsing
node_portfolio_page -.->|"presents content"| node_portfolio_content
node_git_push -->|"triggers on push"| node_post_push_hook
node_post_push_hook -->|"runs script"| node_deploy_trigger
node_deploy_trigger -->|"posts deploy request"| node_vercel
node_github_actions -->|"triggers deploy"| node_vercel

click node_portfolio_page "https://github.com/naveen457/personal-portfolio/blob/main/index.html"
click node_visual_design "https://github.com/naveen457/personal-portfolio/blob/main/Styles.css"
click node_portfolio_content "https://github.com/naveen457/personal-portfolio/blob/main/script.js"
click node_project_browsing "https://github.com/naveen457/personal-portfolio/blob/main/script.js"
click node_architecture_sandbox "https://github.com/naveen457/personal-portfolio/blob/main/script.js"
click node_visual_effects "https://github.com/naveen457/personal-portfolio/blob/main/script.js"
click node_contact_tools "https://github.com/naveen457/personal-portfolio/blob/main/script.js"
click node_post_push_hook "https://github.com/naveen457/personal-portfolio/blob/main/.githooks/post-push"
click node_deploy_trigger "https://github.com/naveen457/personal-portfolio/blob/main/scripts/trigger-vercel-deploy.mjs"
click node_github_actions "https://github.com/naveen457/personal-portfolio/blob/main/.github/workflows/trigger-vercel-deploy.yml"

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_page,node_visual_design,node_portfolio_content toneBlue
class node_project_browsing,node_architecture_sandbox,node_visual_effects,node_contact_tools toneAmber
class node_post_push_hook,node_deploy_trigger,node_github_actions toneMint
class node_visitor,node_git_push,node_vercel toneIndigo
```

## Components

### Portfolio experience

- [Portfolio page](https://github.com/naveen457/personal-portfolio/blob/main/index.html): `index.html`
- [Visual design](https://github.com/naveen457/personal-portfolio/blob/main/Styles.css): `Styles.css`
- [Portfolio content](https://github.com/naveen457/personal-portfolio/blob/main/script.js): `script.js`

### Interactive features

- [Project browsing](https://github.com/naveen457/personal-portfolio/blob/main/script.js): `script.js`
- [Architecture sandbox](https://github.com/naveen457/personal-portfolio/blob/main/script.js): `script.js`
- [Visual effects](https://github.com/naveen457/personal-portfolio/blob/main/script.js): `script.js`
- [Contact tools](https://github.com/naveen457/personal-portfolio/blob/main/script.js): `script.js`

### Optional deployment

- [Post-push hook](https://github.com/naveen457/personal-portfolio/blob/main/.githooks/post-push): `.githooks/post-push`
- [Deploy trigger](https://github.com/naveen457/personal-portfolio/blob/main/scripts/trigger-vercel-deploy.mjs): `scripts/trigger-vercel-deploy.mjs`
- [GitHub Actions](https://github.com/naveen457/personal-portfolio/blob/main/.github/workflows/trigger-vercel-deploy.yml): `.github/workflows/trigger-vercel-deploy.yml`

### Other components

- **Portfolio visitor**
- **Git push**
- **Vercel deploy hook**

## Connections

- Portfolio visitor → Portfolio page: views (evidence: `README.md`)
- Portfolio page → Project browsing: filters projects (evidence: `script.js`)
- Portfolio page → Portfolio content: presents content
- Git push → Post-push hook: triggers on push (evidence: `README.md`)
- Post-push hook → Deploy trigger: runs script (evidence: `README.md`)
- Deploy trigger → Vercel deploy hook: posts deploy request (evidence: `scripts/trigger-vercel-deploy.mjs`)
- GitHub Actions → Vercel deploy hook: triggers deploy (evidence: `README.md`)
