# riya-sharma01/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/riya-sharma01/portfolio
- Repository: https://github.com/riya-sharma01/portfolio

## Overview

This is a small static portfolio. Its visible runtime behavior includes page-interaction enhancements and a contact form that opens an email draft; the repository also contains styling and a resume PDF. The HTML, CSS, and PDF contents were not sampled, so their relationships to the page are not asserted. The visitor-to-page connection is implied by the product, not verified in the excerpts.

Main entry points: [`script.js`](https://github.com/riya-sharma01/portfolio/blob/main/script.js) (Page interactions), [`index.html`](https://github.com/riya-sharma01/portfolio/blob/main/index.html) (Portfolio page)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_visitor(("Visitor"))
node_portfolio["Portfolio page<br/>[index.html]"]
node_interactions["Page interactions<br/>[script.js]"]
node_styles["Page styling<br/>[style.css]"]
node_resume["Resume PDF<br/>[resume.pdf]"]
node_mail["Email client"]

node_visitor -.->|"views"| node_portfolio
node_interactions -->|"updates DOM"| node_portfolio
node_interactions -->|"opens draft"| node_mail

click node_portfolio "https://github.com/riya-sharma01/portfolio/blob/main/index.html"
click node_interactions "https://github.com/riya-sharma01/portfolio/blob/main/script.js"
click node_styles "https://github.com/riya-sharma01/portfolio/blob/main/style.css"
click node_resume "https://github.com/riya-sharma01/portfolio/blob/main/resume.pdf"

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_visitor toneIndigo
class node_portfolio,node_interactions,node_styles,node_resume toneTeal
class node_mail toneBlue
```

## Components

### Other components

- **Visitor**
- [Portfolio page](https://github.com/riya-sharma01/portfolio/blob/main/index.html): `index.html`
- [Page interactions](https://github.com/riya-sharma01/portfolio/blob/main/script.js): `script.js`
- [Page styling](https://github.com/riya-sharma01/portfolio/blob/main/style.css): `style.css`
- [Resume PDF](https://github.com/riya-sharma01/portfolio/blob/main/resume.pdf): `resume.pdf`
- **Email client**

## Connections

- Visitor → Portfolio page: views
- Page interactions → Portfolio page: updates DOM (evidence: `script.js`)
- Page interactions → Email client: opens draft (evidence: `script.js`)
