# sahaanurag207-oss/my_portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/sahaanurag207-oss/my_portfolio
- Repository: https://github.com/sahaanurag207-oss/my_portfolio

## Overview

This is a static personal portfolio: visitors browse profile, education and experience, project, credential, and contact content. The main interactive path is submitting the contact form, which prepares an email draft rather than sending it through a backend. JavaScript also handles navigation, scroll state, reveal effects, copy protection, and CGPA display; CSS provides responsive presentation. README documentation supplies the broad content map, while the JavaScript excerpt confirms runtime behavior; HTML and CSS details were not sampled.

Main entry points: [`index.html`](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html) (Portfolio page), [`script.js`](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js) (Navigation and scroll), [`style.css`](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/style.css) (Responsive styling)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Portfolio content"]
  node_portfolio["Portfolio page<br/>[index.html]"]
  node_profile["Profile and skills<br/>[index.html]"]
  node_education["Education and experience<br/>[index.html]"]
  node_projects["Projects<br/>[index.html]"]
  node_credentials["Credentials and profiles<br/>[index.html]"]
  node_contact["Contact form<br/>[index.html]"]
end

subgraph group_interaction["Browser interactions"]
  node_navigation["Navigation and scroll<br/>[script.js]"]
  node_reveal["Reveal effects<br/>[script.js]"]
  node_cgpa["CGPA display<br/>[script.js]"]
  node_copy["Copy protection<br/>[script.js]"]
  node_emaildraft["Email draft handler<br/>[script.js]"]
end

subgraph group_presentation["Presentation"]
  node_styling["Responsive styling<br/>[style.css]"]
end

node_visitor(("Visitor"))
node_emailapp["Email application"]

node_visitor -->|"browses"| node_portfolio
node_portfolio -->|"presents"| node_profile
node_portfolio -->|"presents"| node_education
node_portfolio -->|"presents"| node_projects
node_portfolio -->|"presents"| node_credentials
node_portfolio -->|"presents"| node_contact
node_portfolio -->|"enhanced by"| node_navigation
node_portfolio -->|"styled by"| node_styling
node_navigation -->|"updates navigation"| node_portfolio
node_reveal -->|"reveals sections"| node_portfolio
node_cgpa -->|"updates CGPA"| node_portfolio
node_copy -->|"protects selected text"| node_portfolio
node_contact -->|"submits to"| node_emaildraft
node_emaildraft -->|"opens draft in"| node_emailapp

click node_portfolio "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html"
click node_profile "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html"
click node_education "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html"
click node_projects "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html"
click node_credentials "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html"
click node_contact "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html"
click node_navigation "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js"
click node_reveal "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js"
click node_cgpa "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js"
click node_copy "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js"
click node_emaildraft "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js"
click node_styling "https://github.com/sahaanurag207-oss/my_portfolio/blob/main/style.css"

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,node_profile,node_education,node_projects,node_credentials,node_contact toneBlue
class node_navigation,node_reveal,node_cgpa,node_copy,node_emaildraft toneAmber
class node_styling toneMint
class node_visitor,node_emailapp toneIndigo
```

## Components

### Portfolio content

- [Portfolio page](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html): `index.html`
- [Profile and skills](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html): `index.html`
- [Education and experience](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html): `index.html`
- [Projects](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html): `index.html`
- [Credentials and profiles](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html): `index.html`
- [Contact form](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/index.html): `index.html`

### Browser interactions

- [Navigation and scroll](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js): `script.js`
- [Reveal effects](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js): `script.js`
- [CGPA display](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js): `script.js`
- [Copy protection](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js): `script.js`
- [Email draft handler](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/script.js): `script.js`

### Presentation

- [Responsive styling](https://github.com/sahaanurag207-oss/my_portfolio/blob/main/style.css): `style.css`

### Other components

- **Visitor**
- **Email application**

## Connections

- Visitor → Portfolio page: browses (evidence: `README.md`)
- Portfolio page → Profile and skills: presents (evidence: `README.md`)
- Portfolio page → Education and experience: presents (evidence: `README.md`)
- Portfolio page → Projects: presents (evidence: `README.md`)
- Portfolio page → Credentials and profiles: presents (evidence: `README.md`)
- Portfolio page → Contact form: presents (evidence: `README.md`)
- Portfolio page → Navigation and scroll: enhanced by (evidence: `README.md`)
- Portfolio page → Responsive styling: styled by (evidence: `README.md`)
- Navigation and scroll → Portfolio page: updates navigation (evidence: `script.js`)
- Reveal effects → Portfolio page: reveals sections (evidence: `script.js`)
- CGPA display → Portfolio page: updates CGPA (evidence: `script.js`)
- Copy protection → Portfolio page: protects selected text (evidence: `script.js`)
- Contact form → Email draft handler: submits to (evidence: `script.js`)
- Email draft handler → Email application: opens draft in (evidence: `script.js`)
