# mayanksamadhiya12345/personal-portfolio-2.o architecture

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

- Interactive diagram: https://gitdiagram.com/mayanksamadhiya12345/personal-portfolio-2.o
- Repository: https://github.com/mayanksamadhiya12345/personal-portfolio-2.o

## Overview

This is a static personal portfolio: visitors browse the profile’s sections and can use its contact form. The documented content spans home, about, experience, projects, achievements, certifications, and contact; the JavaScript adds navigation, hero animation, and interactive project features. The contact form is described as AJAX-based, but its endpoint and the link to the separate thank-you page are not shown in the supplied excerpts, so those connections remain unverified.

Main entry points: [`index.html`](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/index.html) (Portfolio page), [`js/script.js`](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/js/script.js) (Site interactions), [`css/style.css`](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/css/style.css) (Responsive styling), [`js/hero-animations.js`](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/js/hero-animations.js) (Hero animations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio content"]
  node_page["Portfolio page<br/>[index.html]"]
  node_sections["Profile sections<br/>[index.html]"]
  node_styles["Responsive styling<br/>[style.css]"]
  node_resume["Resume asset"]
end

subgraph group_interaction["Browser interactions"]
  node_site_interactions["Site interactions<br/>[script.js]"]
  node_hero_effects["Hero animations<br/>[hero-animations.js]"]
  node_project_browsing["Project browsing<br/>[script.js]"]
end

subgraph group_contact["Contact flow"]
  node_contact_form["Contact form<br/>[index.html]"]
  node_ajax_contact["AJAX submission<br/>[index.html]"]
  node_confirmation["Thank-you page<br/>[thankyou.html]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_page
node_page -->|"presents"| node_sections
node_page -->|"uses styling"| node_styles
node_page -->|"uses scripts"| node_site_interactions
node_page -.->|"uses scripts"| node_hero_effects
node_site_interactions -->|"implements"| node_project_browsing
node_visitor -.->|"completes"| node_contact_form
node_contact_form -->|"submits via"| node_ajax_contact
node_ajax_contact -.->|"may lead to"| node_confirmation

click node_page "https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/index.html"
click node_sections "https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/index.html"
click node_styles "https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/css/style.css"
click node_resume "https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/assets/Mayank_Samadhiya_Resume.txt"
click node_site_interactions "https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/js/script.js"
click node_hero_effects "https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/js/hero-animations.js"
click node_project_browsing "https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/js/script.js"
click node_contact_form "https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/index.html"
click node_ajax_contact "https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/index.html"
click node_confirmation "https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/thankyou.html"

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_sections,node_styles,node_resume toneBlue
class node_site_interactions,node_hero_effects,node_project_browsing toneAmber
class node_contact_form,node_ajax_contact,node_confirmation toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio content

- [Portfolio page](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/index.html): `index.html`
- [Profile sections](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/index.html): `index.html`
- [Responsive styling](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/css/style.css): `css/style.css`
- [Resume asset](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/assets/Mayank_Samadhiya_Resume.txt): `assets/Mayank_Samadhiya_Resume.txt`

### Browser interactions

- [Site interactions](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/js/script.js): `js/script.js`
- [Hero animations](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/js/hero-animations.js): `js/hero-animations.js`
- [Project browsing](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/js/script.js): `js/script.js`

### Contact flow

- [Contact form](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/index.html): `index.html`
- [AJAX submission](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/index.html): `index.html`
- [Thank-you page](https://github.com/mayanksamadhiya12345/personal-portfolio-2.o/blob/main/thankyou.html): `thankyou.html`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio page: opens (evidence: `README.md`)
- Portfolio page → Profile sections: presents (evidence: `README.md`)
- Portfolio page → Responsive styling: uses styling (evidence: `README.md`)
- Portfolio page → Site interactions: uses scripts (evidence: `README.md`)
- Portfolio page → Hero animations: uses scripts
- Site interactions → Project browsing: implements (evidence: `js/script.js`)
- Visitor → Contact form: completes
- Contact form → AJAX submission: submits via (evidence: `README.md`)
- AJAX submission → Thank-you page: may lead to
