# omicron69/persona5-style-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/omicron69/persona5-style-portfolio
- Repository: https://github.com/omicron69/persona5-style-portfolio

## Overview

This is a static, Persona 5-inspired personal portfolio. Visitors navigate its home, projects, skills, about and contact screens; project browsing combines hand-picked work with a GitHub repository feed, while the contact form sends a message through a relay or falls back to the visitor’s mail app. The graph follows the controller-owned interactions and separates content/state, rendering, and styling/assets. Relationships are evidenced by the excerpts and README; index.html and CSS were not sampled, so their internal wiring is not expanded.

Main entry points: [`js/controller.js`](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/controller.js) (Navigation & events), [`js/model.js`](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/model.js) (Portfolio data & state), [`js/view.js`](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/view.js) (Screen & menu rendering), [`assets`](https://github.com/omicron69/persona5-style-portfolio/tree/main/assets) (Media assets)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["Interaction &amp; navigation"]
  node_controller["Navigation &amp; events<br/>[controller.js]"]
  node_contact["Contact submission<br/>[controller.js]"]
end

subgraph group_content["Portfolio content"]
  node_model["Portfolio data &amp; state<br/>[model.js]"]
  node_repo_fetch["GitHub repository fetch<br/>[model.js]"]
  node_projects["Projects &amp; repository feed<br/>[view.js]"]
  node_skills["Skills display<br/>[view.js]"]
end

subgraph group_presentation["Presentation"]
  node_view["Screen &amp; menu rendering<br/>[view.js]"]
  node_effects["Visual and sound effects<br/>[view.js]"]
  node_markup["Portfolio screen markup<br/>[index.html]"]
  node_styles["Theme and layout<br/>[style.css]"]
  node_assets["Media assets"]
end

node_visitor(("Visitor"))
node_github["GitHub API"]
node_relay["FormSubmit relay"]
node_mailapp["Visitor mail app"]

node_visitor -->|"uses controls"| node_controller
node_controller -->|"initializes and directs"| node_view
node_controller -->|"reads and updates"| node_model
node_controller -->|"requests project rendering"| node_projects
node_controller -->|"requests skills rendering"| node_skills
node_controller -->|"plays selection sound"| node_effects
node_controller -->|"loads repositories"| node_repo_fetch
node_repo_fetch -->|"fetches repositories"| node_github
node_repo_fetch -->|"uses fallback data"| node_model
node_projects -->|"renders supplied data"| node_model
node_skills -->|"renders supplied skills"| node_model
node_contact -->|"reads contact address"| node_model
node_contact -->|"posts message"| node_relay
node_contact -->|"opens on failure"| node_mailapp
node_contact -->|"plays on success"| node_effects
node_visitor -->|"submits form"| node_contact
node_view -->|"starts ambient effects"| node_effects
node_projects -->|"loads thumbnails"| node_assets
node_view -.->|"selects screen elements"| node_markup
node_view -.->|"updates presentation classes"| node_styles
node_effects -.->|"uses sound and cursor media"| node_assets

click node_controller "https://github.com/omicron69/persona5-style-portfolio/blob/main/js/controller.js"
click node_contact "https://github.com/omicron69/persona5-style-portfolio/blob/main/js/controller.js"
click node_model "https://github.com/omicron69/persona5-style-portfolio/blob/main/js/model.js"
click node_repo_fetch "https://github.com/omicron69/persona5-style-portfolio/blob/main/js/model.js"
click node_projects "https://github.com/omicron69/persona5-style-portfolio/blob/main/js/view.js"
click node_skills "https://github.com/omicron69/persona5-style-portfolio/blob/main/js/view.js"
click node_view "https://github.com/omicron69/persona5-style-portfolio/blob/main/js/view.js"
click node_effects "https://github.com/omicron69/persona5-style-portfolio/blob/main/js/view.js"
click node_markup "https://github.com/omicron69/persona5-style-portfolio/blob/main/index.html"
click node_styles "https://github.com/omicron69/persona5-style-portfolio/blob/main/css/style.css"
click node_assets "https://github.com/omicron69/persona5-style-portfolio/tree/main/assets"

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_controller,node_contact toneBlue
class node_model,node_repo_fetch,node_projects,node_skills toneAmber
class node_view,node_effects,node_markup,node_styles,node_assets,node_github toneMint
class node_visitor,node_relay,node_mailapp toneIndigo
```

## Components

### Interaction & navigation

- [Navigation & events](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/controller.js): `js/controller.js`
- [Contact submission](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/controller.js): `js/controller.js`

### Portfolio content

- [Portfolio data & state](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/model.js): `js/model.js`
- [GitHub repository fetch](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/model.js): `js/model.js`
- [Projects & repository feed](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/view.js): `js/view.js`
- [Skills display](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/view.js): `js/view.js`

### Presentation

- [Screen & menu rendering](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/view.js): `js/view.js`
- [Visual and sound effects](https://github.com/omicron69/persona5-style-portfolio/blob/main/js/view.js): `js/view.js`
- [Portfolio screen markup](https://github.com/omicron69/persona5-style-portfolio/blob/main/index.html): `index.html`
- [Theme and layout](https://github.com/omicron69/persona5-style-portfolio/blob/main/css/style.css): `css/style.css`
- [Media assets](https://github.com/omicron69/persona5-style-portfolio/tree/main/assets): `assets`

### Other components

- **Visitor**
- **GitHub API**
- **FormSubmit relay**
- **Visitor mail app**

## Connections

- Visitor → Navigation & events: uses controls (evidence: `README.md`)
- Navigation & events → Screen & menu rendering: initializes and directs (evidence: `js/controller.js`)
- Navigation & events → Portfolio data & state: reads and updates (evidence: `js/controller.js`)
- Navigation & events → Projects & repository feed: requests project rendering (evidence: `js/controller.js`)
- Navigation & events → Skills display: requests skills rendering (evidence: `js/controller.js`)
- Navigation & events → Visual and sound effects: plays selection sound (evidence: `js/controller.js`)
- Navigation & events → GitHub repository fetch: loads repositories (evidence: `js/controller.js`)
- GitHub repository fetch → GitHub API: fetches repositories (evidence: `js/model.js`)
- GitHub repository fetch → Portfolio data & state: uses fallback data (evidence: `js/model.js`)
- Projects & repository feed → Portfolio data & state: renders supplied data (evidence: `js/view.js`)
- Skills display → Portfolio data & state: renders supplied skills (evidence: `js/view.js`)
- Contact submission → Portfolio data & state: reads contact address (evidence: `js/controller.js`)
- Contact submission → FormSubmit relay: posts message (evidence: `js/controller.js`)
- Contact submission → Visitor mail app: opens on failure (evidence: `js/controller.js`)
- Contact submission → Visual and sound effects: plays on success (evidence: `js/controller.js`)
- Visitor → Contact submission: submits form (evidence: `js/controller.js`)
- Screen & menu rendering → Visual and sound effects: starts ambient effects (evidence: `js/view.js`)
- Projects & repository feed → Media assets: loads thumbnails (evidence: `js/view.js`)
- Screen & menu rendering → Portfolio screen markup: selects screen elements
- Screen & menu rendering → Theme and layout: updates presentation classes
- Visual and sound effects → Media assets: uses sound and cursor media
