# diego583-r/segundo-react architecture

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

- Interactive diagram: https://gitdiagram.com/diego583-r/segundo-react
- Repository: https://github.com/diego583-r/segundo-react

## Overview

This is a React fan site themed around OMORI, centered on browsing Headspace memories, locations, and character profiles. Visitors enter through the home page, browse its paginated photo album, open full-photo or lore views, and use the header menu to open character details; an About route and ambient music and visual effects round out the experience. The graph reflects sampled calls and documented module references; unsampled page details and any persistence or backend behavior are not assumed.

Main entry points: [`mi-segundo-react/src/App.jsx`](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/App.jsx) (App Router), [`mi-segundo-react/src/components/Header.jsx`](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/Header.jsx) (Navigation Menu), [`mi-segundo-react/src/pages/Home.jsx`](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/pages/Home.jsx) (Memory Album), [`mi-segundo-react/src/data.js`](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/data.js) (Story Data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App Shell"]
  node_entry["React Entry<br/>[main.jsx]"]
  node_app["App Router<br/>[App.jsx]"]
  node_header["Navigation Menu<br/>[Header.jsx]"]
end

subgraph group_content["Story Content"]
  node_home["Memory Album<br/>[Home.jsx]"]
  node_about["About Page<br/>[About.jsx]"]
  node_contentdata["Story Data<br/>[data.js]"]
  node_character["Character Modal<br/>[App.jsx]"]
  node_lore["Lore Modal<br/>[App.jsx]"]
end

subgraph group_ambience["Ambient Experience"]
  node_effects["Headspace Effects"]
  node_music["Music Player<br/>[MusicBox.jsx]"]
  node_tracks["Audio Tracks"]
end

subgraph group_presentation["Shared Presentation"]
  node_footer["Site Footer<br/>[Footer.jsx]"]
  node_glitchtitle["Glitch Title<br/>[GlitchText.jsx]"]
  node_glitchmenu["Menu Glitch Text<br/>[GlitchText.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_header
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_about
node_app -->|"renders"| node_footer
node_app -->|"renders"| node_effects
node_app -->|"renders"| node_music
node_app -->|"reads characters"| node_contentdata
node_app -->|"renders"| node_character
node_app -->|"renders"| node_lore
node_header -->|"calls callbacks"| node_app
node_header -->|"reads menu"| node_contentdata
node_header -->|"renders"| node_glitchmenu
node_home -->|"reads memories"| node_contentdata
node_home -->|"renders"| node_glitchtitle
node_music -->|"plays tracks"| node_tracks

click node_entry "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/main.jsx"
click node_app "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/App.jsx"
click node_header "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/Header.jsx"
click node_home "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/pages/Home.jsx"
click node_about "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/pages/About.jsx"
click node_contentdata "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/data.js"
click node_character "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/App.jsx"
click node_lore "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/App.jsx"
click node_footer "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/Footer.jsx"
click node_glitchtitle "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/GlitchText.jsx"
click node_glitchmenu "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/GlitchText.jsx"
click node_effects "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/HeadspaceEffects.jsx"
click node_music "https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/MusicBox.jsx"
click node_tracks "https://github.com/diego583-r/segundo-react/tree/main/mi-segundo-react/public/audio"

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_entry,node_app,node_header toneBlue
class node_home,node_about,node_contentdata,node_character,node_lore toneAmber
class node_effects,node_music,node_tracks toneMint
class node_footer,node_glitchtitle,node_glitchmenu toneRose
class node_visitor toneIndigo
```

## Components

### App Shell

- [React Entry](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/main.jsx): `mi-segundo-react/src/main.jsx`
- [App Router](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/App.jsx): `mi-segundo-react/src/App.jsx`
- [Navigation Menu](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/Header.jsx): `mi-segundo-react/src/components/Header.jsx`

### Story Content

- [Memory Album](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/pages/Home.jsx): `mi-segundo-react/src/pages/Home.jsx`
- [About Page](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/pages/About.jsx): `mi-segundo-react/src/pages/About.jsx`
- [Story Data](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/data.js): `mi-segundo-react/src/data.js`
- [Character Modal](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/App.jsx): `mi-segundo-react/src/App.jsx`
- [Lore Modal](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/App.jsx): `mi-segundo-react/src/App.jsx`

### Ambient Experience

- [Headspace Effects](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/HeadspaceEffects.jsx): `mi-segundo-react/src/components/HeadspaceEffects.jsx`
- [Music Player](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/MusicBox.jsx): `mi-segundo-react/src/components/MusicBox.jsx`
- [Audio Tracks](https://github.com/diego583-r/segundo-react/tree/main/mi-segundo-react/public/audio): `mi-segundo-react/public/audio`

### Shared Presentation

- [Site Footer](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/Footer.jsx): `mi-segundo-react/src/components/Footer.jsx`
- [Glitch Title](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/GlitchText.jsx): `mi-segundo-react/src/components/GlitchText.jsx`
- [Menu Glitch Text](https://github.com/diego583-r/segundo-react/blob/main/mi-segundo-react/src/components/GlitchText.jsx): `mi-segundo-react/src/components/GlitchText.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → React Entry: opens site (evidence: `mi-segundo-react/src/main.jsx`)
- React Entry → App Router: renders (evidence: `mi-segundo-react/src/main.jsx`)
- App Router → Navigation Menu: renders (evidence: `mi-segundo-react/src/App.jsx`)
- App Router → Memory Album: routes to (evidence: `mi-segundo-react/src/App.jsx`)
- App Router → About Page: routes to (evidence: `mi-segundo-react/src/App.jsx`)
- App Router → Site Footer: renders (evidence: `mi-segundo-react/src/App.jsx`)
- App Router → Headspace Effects: renders (evidence: `mi-segundo-react/src/App.jsx`)
- App Router → Music Player: renders (evidence: `mi-segundo-react/src/App.jsx`)
- App Router → Story Data: reads characters (evidence: `mi-segundo-react/src/App.jsx`)
- App Router → Character Modal: renders (evidence: `mi-segundo-react/src/App.jsx`)
- App Router → Lore Modal: renders (evidence: `mi-segundo-react/src/App.jsx`)
- Navigation Menu → App Router: calls callbacks (evidence: `mi-segundo-react/src/components/Header.jsx`)
- Navigation Menu → Story Data: reads menu (evidence: `mi-segundo-react/src/components/Header.jsx`)
- Navigation Menu → Menu Glitch Text: renders (evidence: `mi-segundo-react/src/components/Header.jsx`)
- Memory Album → Story Data: reads memories (evidence: `mi-segundo-react/src/pages/Home.jsx`)
- Memory Album → Glitch Title: renders (evidence: `mi-segundo-react/src/pages/Home.jsx`)
- Music Player → Audio Tracks: plays tracks (evidence: `mi-segundo-react/src/components/MusicBox.jsx`)
