# tanzila-swarna/portfolio architecture

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

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

## Overview

This is a static personal portfolio site: visitors browse the owner’s profile and content, interact with certificates and navigation, and can submit a contact form. Its JavaScript renders news and testimonials, initializes visual interactions, and switches themes. The form only displays a local success state and resets; no message-delivery service is evidenced. The README is empty, so the page’s full content structure and styling details cannot be confirmed beyond the supplied files.

Main entry points: [`index.html`](https://github.com/tanzila-swarna/portfolio/blob/main/index.html) (Portfolio page), [`script.js`](https://github.com/tanzila-swarna/portfolio/blob/main/script.js) (Theme control), [`style.css`](https://github.com/tanzila-swarna/portfolio/blob/main/style.css) (Visual styling)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio experience"]
  node_page["Portfolio page<br/>[index.html]"]
  node_styling["Visual styling<br/>[style.css]"]
  node_news["News timeline<br/>[script.js]"]
  node_testimonials["Testimonials<br/>[script.js]"]
end

subgraph group_interactions["Visitor interactions"]
  node_theme["Theme control<br/>[script.js]"]
  node_contact["Contact form<br/>[script.js]"]
  node_navigation["Mobile navigation<br/>[script.js]"]
  node_certificate["Certificate viewer<br/>[script.js]"]
  node_visual_effects["Visual effects<br/>[script.js]"]
end

node_visitor(("Visitor"))
node_browser_storage[("Browser local storage")]

node_visitor -->|"browses"| node_page
node_page -.->|"uses styles"| node_styling
node_page -->|"renders timeline"| node_news
node_page -->|"renders feedback"| node_testimonials
node_page -->|"initializes controls"| node_theme
node_page -->|"initializes form"| node_contact
node_page -->|"initializes menu"| node_navigation
node_page -->|"initializes viewer"| node_certificate
node_page -->|"initializes effects"| node_visual_effects
node_theme -->|"reads and writes"| node_browser_storage
node_visitor -->|"changes theme"| node_theme
node_visitor -->|"submits form"| node_contact
node_visitor -->|"opens certificate"| node_certificate

click node_page "https://github.com/tanzila-swarna/portfolio/blob/main/index.html"
click node_styling "https://github.com/tanzila-swarna/portfolio/blob/main/style.css"
click node_news "https://github.com/tanzila-swarna/portfolio/blob/main/script.js"
click node_testimonials "https://github.com/tanzila-swarna/portfolio/blob/main/script.js"
click node_theme "https://github.com/tanzila-swarna/portfolio/blob/main/script.js"
click node_contact "https://github.com/tanzila-swarna/portfolio/blob/main/script.js"
click node_navigation "https://github.com/tanzila-swarna/portfolio/blob/main/script.js"
click node_certificate "https://github.com/tanzila-swarna/portfolio/blob/main/script.js"
click node_visual_effects "https://github.com/tanzila-swarna/portfolio/blob/main/script.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_page,node_styling,node_news,node_testimonials toneBlue
class node_theme,node_contact,node_navigation,node_certificate,node_visual_effects,node_browser_storage toneAmber
class node_visitor toneIndigo
```

## Components

### Portfolio experience

- [Portfolio page](https://github.com/tanzila-swarna/portfolio/blob/main/index.html): `index.html`
- [Visual styling](https://github.com/tanzila-swarna/portfolio/blob/main/style.css): `style.css`
- [News timeline](https://github.com/tanzila-swarna/portfolio/blob/main/script.js): `script.js`
- [Testimonials](https://github.com/tanzila-swarna/portfolio/blob/main/script.js): `script.js`

### Visitor interactions

- [Theme control](https://github.com/tanzila-swarna/portfolio/blob/main/script.js): `script.js`
- [Contact form](https://github.com/tanzila-swarna/portfolio/blob/main/script.js): `script.js`
- [Mobile navigation](https://github.com/tanzila-swarna/portfolio/blob/main/script.js): `script.js`
- [Certificate viewer](https://github.com/tanzila-swarna/portfolio/blob/main/script.js): `script.js`
- [Visual effects](https://github.com/tanzila-swarna/portfolio/blob/main/script.js): `script.js`

### Other components

- **Visitor**
- **Browser local storage**

## Connections

- Visitor → Portfolio page: browses
- Portfolio page → Visual styling: uses styles
- Portfolio page → News timeline: renders timeline (evidence: `script.js`)
- Portfolio page → Testimonials: renders feedback (evidence: `script.js`)
- Portfolio page → Theme control: initializes controls (evidence: `script.js`)
- Portfolio page → Contact form: initializes form (evidence: `script.js`)
- Portfolio page → Mobile navigation: initializes menu (evidence: `script.js`)
- Portfolio page → Certificate viewer: initializes viewer (evidence: `script.js`)
- Portfolio page → Visual effects: initializes effects (evidence: `script.js`)
- Theme control → Browser local storage: reads and writes (evidence: `script.js`)
- Visitor → Theme control: changes theme (evidence: `script.js`)
- Visitor → Contact form: submits form (evidence: `script.js`)
- Visitor → Certificate viewer: opens certificate (evidence: `script.js`)
