# enderboy500/page architecture

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

- Interactive diagram: https://gitdiagram.com/enderboy500/page
- Repository: https://github.com/enderboy500/page

## Overview

This is a small React portfolio and mod showcase. Visitors enter the routed app, view the home page and its Modrinth mod card, or use navigation to open the About page; the dropdown also displays mod names fetched from Modrinth. Home-page links open the author’s GitHub, Modrinth, and YouTube profiles. The map covers the sampled runtime only; the README describes a Vite starter, not additional product capabilities. A few state values and display fields are present in the source but do not warrant separate components.

Main entry points: [`src/pages/Home.jsx`](https://github.com/enderboy500/page/blob/main/src/pages/Home.jsx) (Home page), [`src/components/NavBar.jsx`](https://github.com/enderboy500/page/blob/main/src/components/NavBar.jsx) (Navigation bar), [`src/main.jsx`](https://github.com/enderboy500/page/blob/main/src/main.jsx) (React entry), [`src/App.jsx`](https://github.com/enderboy500/page/blob/main/src/App.jsx) (Router app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["App shell"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["Router app<br/>[App.jsx]"]
  node_globalstyle["Global styles<br/>[index.css]"]
end

subgraph group_pages["Portfolio pages"]
  node_home["Home page<br/>[Home.jsx]"]
  node_about["About page<br/>[AboutMe.jsx]"]
  node_navbar["Navigation bar<br/>[NavBar.jsx]"]
end

subgraph group_mods["Mod showcase"]
  node_dropdown["Mod dropdown item"]
  node_modcard["Modrinth mod card"]
  node_modstyle["Card styles"]
end

node_browser(("Browser"))
node_modrinth["Modrinth API"]
node_socials["Social profiles"]

node_browser -->|"mounts app"| node_entry
node_entry -->|"renders"| node_app
node_entry -->|"loads styles"| node_globalstyle
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_about
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_modcard
node_home -->|"opens profiles"| node_socials
node_about -->|"renders"| node_navbar
node_navbar -->|"renders"| node_dropdown
node_navbar -->|"navigates home"| node_home
node_navbar -->|"navigates about"| node_about
node_dropdown -->|"fetches project"| node_modrinth
node_modcard -->|"fetches project"| node_modrinth
node_modcard -->|"loads styles"| node_modstyle

click node_entry "https://github.com/enderboy500/page/blob/main/src/main.jsx"
click node_app "https://github.com/enderboy500/page/blob/main/src/App.jsx"
click node_globalstyle "https://github.com/enderboy500/page/blob/main/src/styles/index.css"
click node_home "https://github.com/enderboy500/page/blob/main/src/pages/Home.jsx"
click node_about "https://github.com/enderboy500/page/blob/main/src/pages/AboutMe.jsx"
click node_navbar "https://github.com/enderboy500/page/blob/main/src/components/NavBar.jsx"
click node_dropdown "https://github.com/enderboy500/page/blob/main/src/components/ModDropdownElement.jsx"
click node_modcard "https://github.com/enderboy500/page/blob/main/src/components/ModrinthModCard.jsx"
click node_modstyle "https://github.com/enderboy500/page/blob/main/src/styles/modrinth_mod_card.css"

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_globalstyle,node_browser toneBlue
class node_home,node_about,node_navbar toneAmber
class node_dropdown,node_modcard,node_modstyle,node_modrinth toneMint
class node_socials toneIndigo
```

## Components

### App shell

- [React entry](https://github.com/enderboy500/page/blob/main/src/main.jsx): `src/main.jsx`
- [Router app](https://github.com/enderboy500/page/blob/main/src/App.jsx): `src/App.jsx`
- [Global styles](https://github.com/enderboy500/page/blob/main/src/styles/index.css): `src/styles/index.css`

### Portfolio pages

- [Home page](https://github.com/enderboy500/page/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`
- [About page](https://github.com/enderboy500/page/blob/main/src/pages/AboutMe.jsx): `src/pages/AboutMe.jsx`
- [Navigation bar](https://github.com/enderboy500/page/blob/main/src/components/NavBar.jsx): `src/components/NavBar.jsx`

### Mod showcase

- [Mod dropdown item](https://github.com/enderboy500/page/blob/main/src/components/ModDropdownElement.jsx): `src/components/ModDropdownElement.jsx`
- [Modrinth mod card](https://github.com/enderboy500/page/blob/main/src/components/ModrinthModCard.jsx): `src/components/ModrinthModCard.jsx`
- [Card styles](https://github.com/enderboy500/page/blob/main/src/styles/modrinth_mod_card.css): `src/styles/modrinth_mod_card.css`

### Other components

- **Browser**
- **Modrinth API**
- **Social profiles**

## Connections

- Browser → React entry: mounts app (evidence: `src/main.jsx`)
- React entry → Router app: renders (evidence: `src/main.jsx`)
- React entry → Global styles: loads styles (evidence: `src/main.jsx`)
- Router app → Home page: routes to (evidence: `src/App.jsx`)
- Router app → About page: routes to (evidence: `src/App.jsx`)
- Home page → Navigation bar: renders (evidence: `src/pages/Home.jsx`)
- Home page → Modrinth mod card: renders (evidence: `src/pages/Home.jsx`)
- Home page → Social profiles: opens profiles (evidence: `src/pages/Home.jsx`)
- About page → Navigation bar: renders (evidence: `src/pages/AboutMe.jsx`)
- Navigation bar → Mod dropdown item: renders (evidence: `src/components/NavBar.jsx`)
- Navigation bar → Home page: navigates home (evidence: `src/components/NavBar.jsx`)
- Navigation bar → About page: navigates about (evidence: `src/components/NavBar.jsx`)
- Mod dropdown item → Modrinth API: fetches project (evidence: `src/components/ModDropdownElement.jsx`)
- Modrinth mod card → Modrinth API: fetches project (evidence: `src/components/ModrinthModCard.jsx`)
- Modrinth mod card → Card styles: loads styles (evidence: `src/components/ModrinthModCard.jsx`)
