# crowsage/portfolio architecture

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

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

## Overview

This is a small browser-based portfolio site. Its visible client-side behavior includes section navigation, a cursor-following glow, and copying an email address to the clipboard with temporary feedback. The JavaScript excerpt shows these DOM interactions, but not how the navigation handler is registered or the page is structured, so those connections are not assumed.

Main entry points: [`script.js`](https://github.com/crowsage/portfolio/blob/main/script.js) (Section navigation), [`index.html`](https://github.com/crowsage/portfolio/blob/main/index.html) (Portfolio page)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_portfolio["Portfolio page<br/>[index.html]"]
node_navigation["Navigation controls<br/>[index.html]"]
node_sections["Page sections<br/>[index.html]"]
node_nav_behavior["Section navigation<br/>[script.js]"]
node_cursor_glow["Cursor glow<br/>[script.js]"]
node_email_copy["Email copy feedback<br/>[script.js]"]
node_clipboard["Browser clipboard"]

node_nav_behavior -->|"updates classes"| node_navigation
node_nav_behavior -->|"activates section"| node_sections
node_cursor_glow -->|"positions glow"| node_portfolio
node_email_copy -->|"writes email"| node_clipboard

click node_portfolio "https://github.com/crowsage/portfolio/blob/main/index.html"
click node_navigation "https://github.com/crowsage/portfolio/blob/main/index.html"
click node_sections "https://github.com/crowsage/portfolio/blob/main/index.html"
click node_nav_behavior "https://github.com/crowsage/portfolio/blob/main/script.js"
click node_cursor_glow "https://github.com/crowsage/portfolio/blob/main/script.js"
click node_email_copy "https://github.com/crowsage/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_portfolio,node_navigation,node_sections,node_nav_behavior,node_cursor_glow,node_email_copy toneTeal
class node_clipboard toneBlue
```

## Components

### Other components

- [Portfolio page](https://github.com/crowsage/portfolio/blob/main/index.html): `index.html`
- [Navigation controls](https://github.com/crowsage/portfolio/blob/main/index.html): `index.html`
- [Page sections](https://github.com/crowsage/portfolio/blob/main/index.html): `index.html`
- [Section navigation](https://github.com/crowsage/portfolio/blob/main/script.js): `script.js`
- [Cursor glow](https://github.com/crowsage/portfolio/blob/main/script.js): `script.js`
- [Email copy feedback](https://github.com/crowsage/portfolio/blob/main/script.js): `script.js`
- **Browser clipboard**

## Connections

- Section navigation → Navigation controls: updates classes (evidence: `script.js`)
- Section navigation → Page sections: activates section (evidence: `script.js`)
- Cursor glow → Portfolio page: positions glow (evidence: `script.js`)
- Email copy feedback → Browser clipboard: writes email (evidence: `script.js`)
