# siddhesh-k7/portfolio-new architecture

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

- Interactive diagram: https://gitdiagram.com/siddhesh-k7/portfolio-new
- Repository: https://github.com/siddhesh-k7/portfolio-new

## Overview

This repository is a browser-based personal portfolio with an interactive certificate gallery. A visitor interacts with the page, where the JavaScript handles navigation, visual effects, certificate filtering/search, and opening certificate files in a modal viewer. Certificate metadata is represented separately from the files it points to. The HTML shell and how it loads these resources were not excerpted, so their wiring is not asserted; the Python certificate-organizing scripts are maintenance utilities, not runtime components.

Main entry points: [`script.js`](https://github.com/siddhesh-k7/portfolio-new/blob/main/script.js) (Page interactions), [`certificates-data.js`](https://github.com/siddhesh-k7/portfolio-new/blob/main/certificates-data.js) (Certificate metadata), [`assets/certificates`](https://github.com/siddhesh-k7/portfolio-new/tree/main/assets/certificates) (Certificate files)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio presentation"]
  node_html["Portfolio page<br/>[index.html]"]
  node_interactions["Page interactions<br/>[script.js]"]
end

subgraph group_certificates["Certificate gallery"]
  node_gallery["Certificate metadata"]
  node_files["Certificate files"]
end

node_visitor(("Visitor"))

node_visitor -->|"interacts with"| node_interactions
node_interactions -.->|"filters and renders"| node_gallery
node_gallery -->|"references files"| node_files
node_interactions -->|"opens in viewer"| node_files

click node_html "https://github.com/siddhesh-k7/portfolio-new/blob/main/index.html"
click node_interactions "https://github.com/siddhesh-k7/portfolio-new/blob/main/script.js"
click node_gallery "https://github.com/siddhesh-k7/portfolio-new/blob/main/certificates-data.js"
click node_files "https://github.com/siddhesh-k7/portfolio-new/tree/main/assets/certificates"

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_html,node_interactions toneBlue
class node_gallery,node_files toneAmber
class node_visitor toneIndigo
```

## Components

### Portfolio presentation

- [Portfolio page](https://github.com/siddhesh-k7/portfolio-new/blob/main/index.html): `index.html`
- [Page interactions](https://github.com/siddhesh-k7/portfolio-new/blob/main/script.js): `script.js`

### Certificate gallery

- [Certificate metadata](https://github.com/siddhesh-k7/portfolio-new/blob/main/certificates-data.js): `certificates-data.js`
- [Certificate files](https://github.com/siddhesh-k7/portfolio-new/tree/main/assets/certificates): `assets/certificates`

### Other components

- **Visitor**

## Connections

- Visitor → Page interactions: interacts with (evidence: `script.js`)
- Page interactions → Certificate metadata: filters and renders
- Certificate metadata → Certificate files: references files (evidence: `certificates-data.js`)
- Page interactions → Certificate files: opens in viewer (evidence: `script.js`)
