# mishadenisenko/portfolio architecture

> Architecture diagram of the GitHub repository mishadenisenko/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/mishadenisenko/portfolio
- Repository: https://github.com/mishadenisenko/portfolio

## Overview

This is a multilingual personal portfolio website. A visitor enters through the React app, browses the introduction and portfolio sections, and can navigate to project links or contact channels. App owns the language state and persists it in browser storage; the header changes the selected language, while the content sections read localized copy. The graph reflects the sampled component imports and calls; other README claims, such as responsive design and animations, are presentation qualities rather than separate subsystems.

Main entry points: [`src/App.tsx`](https://github.com/mishadenisenko/portfolio/blob/main/src/App.tsx) (App and language state), [`src/data/translations.ts`](https://github.com/mishadenisenko/portfolio/blob/main/src/data/translations.ts) (Localized content), [`src/components/hero.tsx`](https://github.com/mishadenisenko/portfolio/blob/main/src/components/hero.tsx) (Introduction), [`src/components/section-head.tsx`](https://github.com/mishadenisenko/portfolio/blob/main/src/components/section-head.tsx) (Section heading)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App shell"]
  node_entry["React entry<br/>[main.tsx]"]
  node_appstate["App and language state<br/>[App.tsx]"]
  node_header["Navigation and language<br/>[header.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
end

subgraph group_profile["Profile content"]
  node_hero["Introduction<br/>[hero.tsx]"]
  node_stat["Profile stats<br/>[stat.tsx]"]
  node_codecard["Code profile card<br/>[code-card.tsx]"]
  node_about["About profile<br/>[about.tsx]"]
end

subgraph group_portfolio["Work and skills"]
  node_projects["Project showcase<br/>[projects.tsx]"]
  node_stack["Technology stack<br/>[stack.tsx]"]
  node_contact["Contact links<br/>[contact.tsx]"]
end

subgraph group_shared["Shared presentation"]
  node_translations["Localized content<br/>[translations.ts]"]
  node_sectionhead["Section heading<br/>[section-head.tsx]"]
end

node_visitor(("Visitor"))
node_browserstorage[("Browser local storage")]

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_appstate
node_appstate -->|"renders"| node_header
node_appstate -->|"renders"| node_hero
node_appstate -->|"renders"| node_about
node_appstate -->|"renders"| node_projects
node_appstate -->|"renders"| node_stack
node_appstate -->|"renders"| node_contact
node_appstate -->|"renders"| node_footer
node_appstate -->|"reads and writes language"| node_browserstorage
node_header -->|"changes language"| node_appstate
node_header -->|"reads labels"| node_translations
node_hero -->|"reads copy"| node_translations
node_hero -->|"renders"| node_stat
node_hero -->|"renders"| node_codecard
node_about -->|"reads copy"| node_translations
node_projects -->|"reads copy"| node_translations
node_stack -->|"reads headings"| node_translations
node_contact -->|"reads copy"| node_translations
node_about -->|"renders"| node_sectionhead
node_projects -->|"renders"| node_sectionhead
node_stack -->|"renders"| node_sectionhead
node_contact -->|"renders"| node_sectionhead

click node_entry "https://github.com/mishadenisenko/portfolio/blob/main/src/main.tsx"
click node_appstate "https://github.com/mishadenisenko/portfolio/blob/main/src/App.tsx"
click node_header "https://github.com/mishadenisenko/portfolio/blob/main/src/components/header.tsx"
click node_hero "https://github.com/mishadenisenko/portfolio/blob/main/src/components/hero.tsx"
click node_stat "https://github.com/mishadenisenko/portfolio/blob/main/src/components/stat.tsx"
click node_codecard "https://github.com/mishadenisenko/portfolio/blob/main/src/components/code-card.tsx"
click node_about "https://github.com/mishadenisenko/portfolio/blob/main/src/components/about.tsx"
click node_projects "https://github.com/mishadenisenko/portfolio/blob/main/src/components/projects.tsx"
click node_stack "https://github.com/mishadenisenko/portfolio/blob/main/src/components/stack.tsx"
click node_contact "https://github.com/mishadenisenko/portfolio/blob/main/src/components/contact.tsx"
click node_footer "https://github.com/mishadenisenko/portfolio/blob/main/src/components/footer.tsx"
click node_translations "https://github.com/mishadenisenko/portfolio/blob/main/src/data/translations.ts"
click node_sectionhead "https://github.com/mishadenisenko/portfolio/blob/main/src/components/section-head.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_appstate,node_header,node_footer toneBlue
class node_hero,node_stat,node_codecard,node_about,node_browserstorage toneAmber
class node_projects,node_stack,node_contact toneMint
class node_translations,node_sectionhead toneRose
class node_visitor toneIndigo
```

## Components

### App shell

- [React entry](https://github.com/mishadenisenko/portfolio/blob/main/src/main.tsx): `src/main.tsx`
- [App and language state](https://github.com/mishadenisenko/portfolio/blob/main/src/App.tsx): `src/App.tsx`
- [Navigation and language](https://github.com/mishadenisenko/portfolio/blob/main/src/components/header.tsx): `src/components/header.tsx`
- [Footer](https://github.com/mishadenisenko/portfolio/blob/main/src/components/footer.tsx): `src/components/footer.tsx`

### Profile content

- [Introduction](https://github.com/mishadenisenko/portfolio/blob/main/src/components/hero.tsx): `src/components/hero.tsx`
- [Profile stats](https://github.com/mishadenisenko/portfolio/blob/main/src/components/stat.tsx): `src/components/stat.tsx`
- [Code profile card](https://github.com/mishadenisenko/portfolio/blob/main/src/components/code-card.tsx): `src/components/code-card.tsx`
- [About profile](https://github.com/mishadenisenko/portfolio/blob/main/src/components/about.tsx): `src/components/about.tsx`

### Work and skills

- [Project showcase](https://github.com/mishadenisenko/portfolio/blob/main/src/components/projects.tsx): `src/components/projects.tsx`
- [Technology stack](https://github.com/mishadenisenko/portfolio/blob/main/src/components/stack.tsx): `src/components/stack.tsx`
- [Contact links](https://github.com/mishadenisenko/portfolio/blob/main/src/components/contact.tsx): `src/components/contact.tsx`

### Shared presentation

- [Localized content](https://github.com/mishadenisenko/portfolio/blob/main/src/data/translations.ts): `src/data/translations.ts`
- [Section heading](https://github.com/mishadenisenko/portfolio/blob/main/src/components/section-head.tsx): `src/components/section-head.tsx`

### Other components

- **Visitor**
- **Browser local storage**

## Connections

- Visitor → React entry: opens site (evidence: `src/main.tsx`)
- React entry → App and language state: renders (evidence: `src/main.tsx`)
- App and language state → Navigation and language: renders (evidence: `src/App.tsx`)
- App and language state → Introduction: renders (evidence: `src/App.tsx`)
- App and language state → About profile: renders (evidence: `src/App.tsx`)
- App and language state → Project showcase: renders (evidence: `src/App.tsx`)
- App and language state → Technology stack: renders (evidence: `src/App.tsx`)
- App and language state → Contact links: renders (evidence: `src/App.tsx`)
- App and language state → Footer: renders (evidence: `src/App.tsx`)
- App and language state → Browser local storage: reads and writes language (evidence: `src/App.tsx`)
- Navigation and language → App and language state: changes language (evidence: `src/components/header.tsx`)
- Navigation and language → Localized content: reads labels (evidence: `src/components/header.tsx`)
- Introduction → Localized content: reads copy (evidence: `src/components/hero.tsx`)
- Introduction → Profile stats: renders (evidence: `src/components/hero.tsx`)
- Introduction → Code profile card: renders (evidence: `src/components/hero.tsx`)
- About profile → Localized content: reads copy (evidence: `src/components/about.tsx`)
- Project showcase → Localized content: reads copy (evidence: `src/components/projects.tsx`)
- Technology stack → Localized content: reads headings (evidence: `src/components/stack.tsx`)
- Contact links → Localized content: reads copy (evidence: `src/components/contact.tsx`)
- About profile → Section heading: renders (evidence: `src/components/about.tsx`)
- Project showcase → Section heading: renders (evidence: `src/components/projects.tsx`)
- Technology stack → Section heading: renders (evidence: `src/components/stack.tsx`)
- Contact links → Section heading: renders (evidence: `src/components/contact.tsx`)
