# redward42/ryan_portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/redward42/ryan_portfolio
- Repository: https://github.com/redward42/ryan_portfolio

## Overview

This is a personal portfolio website: visitors browse the owner’s background, projects, and experience, then open detailed entry panels with optional external links. The main flow starts at the React mount, renders portfolio sections, and routes project or experience selections through App state into the detail panel. Separate visual effects provide a pixel cursor, cursor glow, and animated pixel-field background. The README describes only a Vite/React template, so product capabilities are inferred from the sampled application source; unsampled component details are not expanded.

Main entry points: [`src/App.tsx`](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/App.tsx) (Portfolio App), [`src/components/ProjectSection.tsx`](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ProjectSection.tsx) (Project Section), [`src/components/ProjectCard.tsx`](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ProjectCard.tsx) (Project Card), [`src/components/ExperienceSection.tsx`](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ExperienceSection.tsx) (Experience Section)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio Content"]
  node_app["Portfolio App<br/>[App.tsx]"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_about["About Section<br/>[AboutSection.tsx]"]
  node_projects["Project Section<br/>[ProjectSection.tsx]"]
  node_projectcard["Project Card<br/>[ProjectCard.tsx]"]
  node_experience["Experience Section"]
  node_experiencecard["Experience Card<br/>[ExperienceCard.tsx]"]
  node_contact["Contact Section<br/>[ContactSection.tsx]"]
end

subgraph group_details["Entry Details"]
  node_entries["Entry Content<br/>[entryData.ts]"]
  node_detail["Detail Panel<br/>[DetailPanel.tsx]"]
end

subgraph group_effects["Visual Effects"]
  node_cursor["Pixel Cursor<br/>[PixelCursor.tsx]"]
  node_glow["Cursor Glow"]
  node_field["Pixel Field<br/>[PixelField.tsx]"]
end

node_visitor(("Visitor"))
node_mount["React Mount<br/>[main.tsx]"]

node_visitor -.->|"opens site"| node_mount
node_mount -->|"renders"| node_app
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_experience
node_app -->|"renders"| node_contact
node_projects -->|"renders"| node_projectcard
node_experience -->|"renders"| node_experiencecard
node_projectcard -.->|"selects entry"| node_app
node_experiencecard -->|"selects entry"| node_app
node_app -->|"looks up entry"| node_entries
node_app -->|"supplies entry"| node_detail
node_detail -->|"closes via callback"| node_app
node_app -->|"renders"| node_cursor
node_app -->|"renders"| node_glow
node_app -->|"renders"| node_field

click node_mount "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/main.tsx"
click node_app "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/App.tsx"
click node_hero "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/Hero.tsx"
click node_about "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/AboutSection.tsx"
click node_projects "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ProjectSection.tsx"
click node_projectcard "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ProjectCard.tsx"
click node_experience "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ExperienceSection.tsx"
click node_experiencecard "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ExperienceCard.tsx"
click node_contact "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ContactSection.tsx"
click node_entries "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/data/entryData.ts"
click node_detail "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/DetailPanel.tsx"
click node_cursor "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/PixelCursor.tsx"
click node_glow "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/PixelCursorGlow.tsx"
click node_field "https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/PixelField.tsx"

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_app,node_hero,node_about,node_projects,node_projectcard,node_experience,node_experiencecard,node_contact toneBlue
class node_entries,node_detail toneAmber
class node_cursor,node_glow,node_field toneMint
class node_visitor toneIndigo
class node_mount toneTeal
```

## Components

### Portfolio Content

- [Portfolio App](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/App.tsx): `src/App.tsx`
- [Hero](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`
- [About Section](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/AboutSection.tsx): `src/components/AboutSection.tsx`
- [Project Section](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ProjectSection.tsx): `src/components/ProjectSection.tsx`
- [Project Card](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ProjectCard.tsx): `src/components/ProjectCard.tsx`
- [Experience Section](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ExperienceSection.tsx): `src/components/ExperienceSection.tsx`
- [Experience Card](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ExperienceCard.tsx): `src/components/ExperienceCard.tsx`
- [Contact Section](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/ContactSection.tsx): `src/components/ContactSection.tsx`

### Entry Details

- [Entry Content](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/data/entryData.ts): `src/data/entryData.ts`
- [Detail Panel](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/DetailPanel.tsx): `src/components/DetailPanel.tsx`

### Visual Effects

- [Pixel Cursor](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/PixelCursor.tsx): `src/components/PixelCursor.tsx`
- [Cursor Glow](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/PixelCursorGlow.tsx): `src/components/PixelCursorGlow.tsx`
- [Pixel Field](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/components/PixelField.tsx): `src/components/PixelField.tsx`

### Other components

- **Visitor**
- [React Mount](https://github.com/RedWARd42/Ryan_Portfolio/blob/main/src/main.tsx): `src/main.tsx`

## Connections

- Visitor → React Mount: opens site
- React Mount → Portfolio App: renders (evidence: `src/main.tsx`)
- Portfolio App → Hero: renders (evidence: `src/App.tsx`)
- Portfolio App → About Section: renders (evidence: `src/App.tsx`)
- Portfolio App → Project Section: renders (evidence: `src/App.tsx`)
- Portfolio App → Experience Section: renders (evidence: `src/App.tsx`)
- Portfolio App → Contact Section: renders (evidence: `src/App.tsx`)
- Project Section → Project Card: renders (evidence: `src/components/ProjectSection.tsx`)
- Experience Section → Experience Card: renders (evidence: `src/components/ExperienceSection.tsx`)
- Project Card → Portfolio App: selects entry
- Experience Card → Portfolio App: selects entry (evidence: `src/components/ExperienceCard.tsx`)
- Portfolio App → Entry Content: looks up entry (evidence: `src/App.tsx`)
- Portfolio App → Detail Panel: supplies entry (evidence: `src/App.tsx`)
- Detail Panel → Portfolio App: closes via callback (evidence: `src/components/DetailPanel.tsx`)
- Portfolio App → Pixel Cursor: renders (evidence: `src/App.tsx`)
- Portfolio App → Cursor Glow: renders (evidence: `src/App.tsx`)
- Portfolio App → Pixel Field: renders (evidence: `src/App.tsx`)
