# techuhat/portfolio architecture

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

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

## Overview

This repository is a browser-based personal portfolio. A visitor browses its sections and interactive project carousel, or uses the terminal-style interface to explore profile information, request a resume, or submit a contact message. The JavaScript handles navigation, interactions, and contact transmission through EmailJS. The supplied resume PDF is present, but the script’s download link names a different, absent PDF path, so no download edge to the supplied file is asserted. HTML and CSS are represented from the file tree; their contents were not sampled.

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

## 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_interactions["Interactive features"]
  node_navigation["Section navigation<br/>[script.js]"]
  node_carousel["Project carousel<br/>[script.js]"]
  node_terminal["Portfolio terminal<br/>[script.js]"]
  node_resume["Supplied resume"]
end

subgraph group_contact["Contact integration"]
  node_emailjs{{"EmailJS service"}}
  node_contactflow["Terminal contact flow<br/>[script.js]"]
end

node_visitor(("Visitor"))

node_visitor -.->|"browses"| node_page
node_page -->|"initializes"| node_navigation
node_page -->|"initializes"| node_carousel
node_page -->|"initializes"| node_terminal
node_terminal -->|"starts contact"| node_contactflow
node_contactflow -->|"sends message"| node_emailjs

click node_page "https://github.com/techuhat/portfolio/blob/main/index.html"
click node_styles "https://github.com/techuhat/portfolio/blob/main/styles.css"
click node_navigation "https://github.com/techuhat/portfolio/blob/main/script.js"
click node_carousel "https://github.com/techuhat/portfolio/blob/main/script.js"
click node_terminal "https://github.com/techuhat/portfolio/blob/main/script.js"
click node_resume "https://github.com/techuhat/portfolio/blob/main/resume/Resume_Cybersecurity_IAM.pdf"
click node_contactflow "https://github.com/techuhat/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_carousel,node_terminal,node_resume toneAmber
class node_emailjs,node_contactflow toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio site

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

### Interactive features

- [Section navigation](https://github.com/techuhat/portfolio/blob/main/script.js): `script.js`
- [Project carousel](https://github.com/techuhat/portfolio/blob/main/script.js): `script.js`
- [Portfolio terminal](https://github.com/techuhat/portfolio/blob/main/script.js): `script.js`
- [Supplied resume](https://github.com/techuhat/portfolio/blob/main/resume/Resume_Cybersecurity_IAM.pdf): `resume/Resume_Cybersecurity_IAM.pdf`

### Contact integration

- **EmailJS service**
- [Terminal contact flow](https://github.com/techuhat/portfolio/blob/main/script.js): `script.js`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio page: browses
- Portfolio page → Section navigation: initializes (evidence: `script.js`)
- Portfolio page → Project carousel: initializes (evidence: `script.js`)
- Portfolio page → Portfolio terminal: initializes (evidence: `script.js`)
- Portfolio terminal → Terminal contact flow: starts contact (evidence: `script.js`)
- Terminal contact flow → EmailJS service: sends message (evidence: `script.js`)
