# srimathi122006-g/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/srimathi122006-g/portfolio
- Repository: https://github.com/srimathi122006-g/portfolio

## Overview

This is a static personal portfolio site. Visitors browse its navigation and portfolio sections, with JavaScript adding responsive navigation and scroll-triggered effects; the contact form validates entries and sends them through EmailJS. The tree also includes the HTML and stylesheet, but their contents were not provided, so their specific structure and wiring cannot be confirmed.

Main entry points: [`index.html`](https://github.com/srimathi122006-g/portfolio/blob/main/index.html) (Portfolio page), [`script.js`](https://github.com/srimathi122006-g/portfolio/blob/main/script.js) (Contact form handling)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio site"]
  node_page["Portfolio page<br/>[index.html]"]
  node_styles["Page styling<br/>[styles.css]"]
end

subgraph group_interaction["Page interactions"]
  node_navigation["Mobile navigation<br/>[script.js]"]
  node_scroll["Scroll effects<br/>[script.js]"]
  node_skills["Skill animation<br/>[script.js]"]
end

subgraph group_contact["Contact messaging"]
  node_contact["Contact form handling<br/>[script.js]"]
  node_emailjs["EmailJS"]
end

node_visitor(("Visitor"))

node_visitor -->|"clicks menu"| node_navigation
node_visitor -->|"scrolls page"| node_scroll
node_visitor -->|"submits form"| node_contact
node_navigation -->|"toggles menu"| node_page
node_scroll -->|"reveals sections"| node_page
node_skills -->|"animates bars"| node_page
node_contact -->|"reads form"| node_page
node_contact -->|"sends form"| node_emailjs

click node_page "https://github.com/srimathi122006-g/portfolio/blob/main/index.html"
click node_styles "https://github.com/srimathi122006-g/portfolio/blob/main/styles.css"
click node_navigation "https://github.com/srimathi122006-g/portfolio/blob/main/script.js"
click node_scroll "https://github.com/srimathi122006-g/portfolio/blob/main/script.js"
click node_skills "https://github.com/srimathi122006-g/portfolio/blob/main/script.js"
click node_contact "https://github.com/srimathi122006-g/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_styles toneBlue
class node_navigation,node_scroll,node_skills toneAmber
class node_contact,node_emailjs toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio site

- [Portfolio page](https://github.com/srimathi122006-g/portfolio/blob/main/index.html): `index.html`
- [Page styling](https://github.com/srimathi122006-g/portfolio/blob/main/styles.css): `styles.css`

### Page interactions

- [Mobile navigation](https://github.com/srimathi122006-g/portfolio/blob/main/script.js): `script.js`
- [Scroll effects](https://github.com/srimathi122006-g/portfolio/blob/main/script.js): `script.js`
- [Skill animation](https://github.com/srimathi122006-g/portfolio/blob/main/script.js): `script.js`

### Contact messaging

- [Contact form handling](https://github.com/srimathi122006-g/portfolio/blob/main/script.js): `script.js`
- **EmailJS**

### Other components

- **Visitor**

## Connections

- Visitor → Mobile navigation: clicks menu (evidence: `script.js`)
- Visitor → Scroll effects: scrolls page (evidence: `script.js`)
- Visitor → Contact form handling: submits form (evidence: `script.js`)
- Mobile navigation → Portfolio page: toggles menu (evidence: `script.js`)
- Scroll effects → Portfolio page: reveals sections (evidence: `script.js`)
- Skill animation → Portfolio page: animates bars (evidence: `script.js`)
- Contact form handling → Portfolio page: reads form (evidence: `script.js`)
- Contact form handling → EmailJS: sends form (evidence: `script.js`)
