# sxnjai23/portfolio architecture

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

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

## Overview

This is a static portfolio website: visitors browse the profile, skills, experience, and projects, then can submit a contact form. HTML supplies the page content, CSS provides the visual theme and animations, and JavaScript adds navigation, scrolling, animation, and form interactions. The README describes the form as a client-side demo unless connected to a backend; the shown script logs submissions rather than sending them. The HTML and CSS were not sampled, so their detailed implementation links are omitted.

Main entry points: [`index.html`](https://github.com/sxnjai23/portfolio/blob/main/index.html) (Portfolio Page), [`script.js`](https://github.com/sxnjai23/portfolio/blob/main/script.js) (Contact Form), [`styles.css`](https://github.com/sxnjai23/portfolio/blob/main/styles.css) (Theme and Layout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Page Presentation"]
  node_page["Portfolio Page<br/>[index.html]"]
  node_styling["Theme and Layout<br/>[styles.css]"]
end

subgraph group_interaction["Browser Interactions"]
  node_navigation["Navigation<br/>[script.js]"]
  node_role["Typing Effect<br/>[script.js]"]
  node_animations["Scroll Animations<br/>[script.js]"]
  node_skills["Skill Bars<br/>[script.js]"]
  node_contact["Contact Form<br/>[script.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"views"| node_page
node_page -.->|"styled by"| node_styling
node_page -.->|"interacts through"| node_navigation
node_page -.->|"displays"| node_role
node_page -.->|"animates"| node_animations
node_page -.->|"animates"| node_skills
node_visitor -.->|"submits"| node_contact
node_contact -->|"updates feedback"| node_page

click node_page "https://github.com/sxnjai23/portfolio/blob/main/index.html"
click node_styling "https://github.com/sxnjai23/portfolio/blob/main/styles.css"
click node_navigation "https://github.com/sxnjai23/portfolio/blob/main/script.js"
click node_role "https://github.com/sxnjai23/portfolio/blob/main/script.js"
click node_animations "https://github.com/sxnjai23/portfolio/blob/main/script.js"
click node_skills "https://github.com/sxnjai23/portfolio/blob/main/script.js"
click node_contact "https://github.com/sxnjai23/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_styling toneBlue
class node_navigation,node_role,node_animations,node_skills,node_contact toneAmber
class node_visitor toneIndigo
```

## Components

### Page Presentation

- [Portfolio Page](https://github.com/sxnjai23/portfolio/blob/main/index.html): `index.html`
- [Theme and Layout](https://github.com/sxnjai23/portfolio/blob/main/styles.css): `styles.css`

### Browser Interactions

- [Navigation](https://github.com/sxnjai23/portfolio/blob/main/script.js): `script.js`
- [Typing Effect](https://github.com/sxnjai23/portfolio/blob/main/script.js): `script.js`
- [Scroll Animations](https://github.com/sxnjai23/portfolio/blob/main/script.js): `script.js`
- [Skill Bars](https://github.com/sxnjai23/portfolio/blob/main/script.js): `script.js`
- [Contact Form](https://github.com/sxnjai23/portfolio/blob/main/script.js): `script.js`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio Page: views (evidence: `README.md`)
- Portfolio Page → Theme and Layout: styled by
- Portfolio Page → Navigation: interacts through
- Portfolio Page → Typing Effect: displays
- Portfolio Page → Scroll Animations: animates
- Portfolio Page → Skill Bars: animates
- Visitor → Contact Form: submits
- Contact Form → Portfolio Page: updates feedback (evidence: `script.js`)
