# strevesuksess/portfolio architecture

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

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

## Overview

This is a React portfolio site: visitors browse an interactive 3D home scene, explore About and Projects pages, and follow contact or project links. The app entry point mounts the router; its shared shell provides navigation, while route pages present profile/skills or project data. The home page coordinates the scene, loading fallback, and stage-based popups. The model and page relationships below are supported by the excerpts and SOURCE INDEX; unsampled model internals and unspecified asset wiring are not inferred.

Main entry points: [`src/pages/Home/Home.tsx`](https://github.com/strevesuksess/portfolio/blob/main/src/pages/Home/Home.tsx) (Home page), [`src/App.tsx`](https://github.com/strevesuksess/portfolio/blob/main/src/App.tsx) (App router), [`src/pages/Projects/Projects.tsx`](https://github.com/strevesuksess/portfolio/blob/main/src/pages/Projects/Projects.tsx) (Projects page), [`src/pages/About/About.tsx`](https://github.com/strevesuksess/portfolio/blob/main/src/pages/About/About.tsx) (About page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App and navigation"]
  node_entry["React mount<br/>[main.tsx]"]
  node_router["App router<br/>[App.tsx]"]
  node_navbar["Navbar<br/>[Navbar.tsx]"]
end

subgraph group_portfolio["Portfolio pages"]
  node_home["Home page<br/>[Home.tsx]"]
  node_about["About page<br/>[About.tsx]"]
  node_projects["Projects page<br/>[Projects.tsx]"]
end

subgraph group_scene["Interactive 3D scene"]
  node_island["Island model<br/>[Island.tsx]"]
  node_plane["Plane model<br/>[Plane.tsx]"]
  node_sky["Sky model<br/>[Sky.tsx]"]
  node_loader["Scene loader<br/>[Loader.tsx]"]
  node_popups["Stage popups<br/>[Popups.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_portfolio_data["Skills and projects<br/>[constants.tsx]"]
  node_footer["Contact footer<br/>[Footer.tsx]"]
end

node_visitor(("Visitor"))
node_contact(("Telegram contact"))
node_project_sites(("Project sites"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_router
node_router -->|"renders shell"| node_navbar
node_router -->|"routes to"| node_home
node_router -->|"routes to"| node_about
node_router -->|"routes to"| node_projects
node_home -->|"renders"| node_island
node_home -->|"renders"| node_plane
node_home -->|"renders"| node_sky
node_home -->|"uses fallback"| node_loader
node_home -->|"passes stage"| node_popups
node_island -->|"sets stage"| node_home
node_about -->|"reads skills"| node_portfolio_data
node_projects -->|"reads projects"| node_portfolio_data
node_about -->|"renders"| node_footer
node_projects -->|"renders"| node_footer
node_navbar -->|"links to"| node_contact
node_footer -->|"links to"| node_contact
node_projects -->|"links to"| node_project_sites

click node_entry "https://github.com/strevesuksess/portfolio/blob/main/src/main.tsx"
click node_router "https://github.com/strevesuksess/portfolio/blob/main/src/App.tsx"
click node_navbar "https://github.com/strevesuksess/portfolio/blob/main/src/components/Navbar/Navbar.tsx"
click node_home "https://github.com/strevesuksess/portfolio/blob/main/src/pages/Home/Home.tsx"
click node_about "https://github.com/strevesuksess/portfolio/blob/main/src/pages/About/About.tsx"
click node_projects "https://github.com/strevesuksess/portfolio/blob/main/src/pages/Projects/Projects.tsx"
click node_island "https://github.com/strevesuksess/portfolio/blob/main/src/models/Island.tsx"
click node_plane "https://github.com/strevesuksess/portfolio/blob/main/src/models/Plane.tsx"
click node_sky "https://github.com/strevesuksess/portfolio/blob/main/src/models/Sky.tsx"
click node_loader "https://github.com/strevesuksess/portfolio/blob/main/src/components/Loader/Loader.tsx"
click node_popups "https://github.com/strevesuksess/portfolio/blob/main/src/components/Popups/Popups.tsx"
click node_portfolio_data "https://github.com/strevesuksess/portfolio/blob/main/src/constants.tsx"
click node_footer "https://github.com/strevesuksess/portfolio/blob/main/src/components/Footer/Footer.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_entry,node_router,node_navbar toneBlue
class node_home,node_about,node_projects toneAmber
class node_island,node_plane,node_sky,node_loader,node_popups toneMint
class node_portfolio_data,node_footer toneRose
class node_visitor,node_contact,node_project_sites toneIndigo
```

## Components

### App and navigation

- [React mount](https://github.com/strevesuksess/portfolio/blob/main/src/main.tsx): `src/main.tsx`
- [App router](https://github.com/strevesuksess/portfolio/blob/main/src/App.tsx): `src/App.tsx`
- [Navbar](https://github.com/strevesuksess/portfolio/blob/main/src/components/Navbar/Navbar.tsx): `src/components/Navbar/Navbar.tsx`

### Portfolio pages

- [Home page](https://github.com/strevesuksess/portfolio/blob/main/src/pages/Home/Home.tsx): `src/pages/Home/Home.tsx`
- [About page](https://github.com/strevesuksess/portfolio/blob/main/src/pages/About/About.tsx): `src/pages/About/About.tsx`
- [Projects page](https://github.com/strevesuksess/portfolio/blob/main/src/pages/Projects/Projects.tsx): `src/pages/Projects/Projects.tsx`

### Interactive 3D scene

- [Island model](https://github.com/strevesuksess/portfolio/blob/main/src/models/Island.tsx): `src/models/Island.tsx`
- [Plane model](https://github.com/strevesuksess/portfolio/blob/main/src/models/Plane.tsx): `src/models/Plane.tsx`
- [Sky model](https://github.com/strevesuksess/portfolio/blob/main/src/models/Sky.tsx): `src/models/Sky.tsx`
- [Scene loader](https://github.com/strevesuksess/portfolio/blob/main/src/components/Loader/Loader.tsx): `src/components/Loader/Loader.tsx`
- [Stage popups](https://github.com/strevesuksess/portfolio/blob/main/src/components/Popups/Popups.tsx): `src/components/Popups/Popups.tsx`

### Portfolio content

- [Skills and projects](https://github.com/strevesuksess/portfolio/blob/main/src/constants.tsx): `src/constants.tsx`
- [Contact footer](https://github.com/strevesuksess/portfolio/blob/main/src/components/Footer/Footer.tsx): `src/components/Footer/Footer.tsx`

### Other components

- **Visitor**
- **Telegram contact**
- **Project sites**

## Connections

- Visitor → React mount: opens site (evidence: `src/main.tsx`)
- React mount → App router: renders (evidence: `src/main.tsx`)
- App router → Navbar: renders shell (evidence: `src/App.tsx`)
- App router → Home page: routes to (evidence: `src/App.tsx`)
- App router → About page: routes to (evidence: `src/App.tsx`)
- App router → Projects page: routes to (evidence: `src/App.tsx`)
- Home page → Island model: renders (evidence: `src/pages/Home/Home.tsx`)
- Home page → Plane model: renders (evidence: `src/pages/Home/Home.tsx`)
- Home page → Sky model: renders (evidence: `src/pages/Home/Home.tsx`)
- Home page → Scene loader: uses fallback (evidence: `src/pages/Home/Home.tsx`)
- Home page → Stage popups: passes stage (evidence: `src/pages/Home/Home.tsx`)
- Island model → Home page: sets stage (evidence: `src/models/Island.tsx`)
- About page → Skills and projects: reads skills (evidence: `src/pages/About/About.tsx`)
- Projects page → Skills and projects: reads projects (evidence: `src/pages/Projects/Projects.tsx`)
- About page → Contact footer: renders (evidence: `src/pages/About/About.tsx`)
- Projects page → Contact footer: renders (evidence: `src/pages/Projects/Projects.tsx`)
- Navbar → Telegram contact: links to (evidence: `src/components/Navbar/Navbar.tsx`)
- Contact footer → Telegram contact: links to (evidence: `src/components/Footer/Footer.tsx`)
- Projects page → Project sites: links to (evidence: `src/pages/Projects/Projects.tsx`)
