# redward42/personal_portfolio architecture

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

## Overview

This is a React/TypeScript personal portfolio. The browser entry mounts the app, which presents the home introduction, biography and skills, project cards, navigation, and contact footer. About renders experience entries; Projects renders cards that link to project destinations. The README lists routing, responsive design, animations, and project modals, but sampled code shows anchor navigation and linked cards, not a router or modal implementation; Contact.tsx is not active in App.tsx. Styling files are included as a layer, though their contents were not sampled.

Main entry points: [`src/App.tsx`](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/App.tsx) (Portfolio composition), [`src/main.tsx`](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/main.tsx) (React mount), [`src/components/Footer.tsx`](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/components/Footer.tsx) (Contact footer), [`src/pages/About.tsx`](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/pages/About.tsx) (About and skills)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Application entry"]
  node_mount["React mount<br/>[main.tsx]"]
  node_app["Portfolio composition<br/>[App.tsx]"]
end

subgraph group_portfolio["Portfolio sections"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_home["Home introduction<br/>[Home.tsx]"]
  node_contact["Contact view<br/>[Contact.tsx]"]
  node_footer["Contact footer<br/>[Footer.tsx]"]
end

subgraph group_content["Profile and projects"]
  node_about["About and skills<br/>[About.tsx]"]
  node_role["Experience entry<br/>[Role.tsx]"]
  node_projects["Project listing<br/>[Projects.tsx]"]
  node_card["Project card<br/>[Card.tsx]"]
end

subgraph group_presentation["Shared presentation"]
  node_styles["App styling<br/>[App.css]"]
  node_globalstyles["Global styling<br/>[index.css]"]
end

node_visitor(("Visitor"))
node_browser(("Browser root"))
node_projectdest(("Project destinations"))
node_contactdest(("Contact destinations"))

node_visitor -->|"opens portfolio"| node_browser
node_browser -->|"loads entry"| node_mount
node_mount -->|"renders"| node_app
node_mount -->|"imports styles"| node_globalstyles
node_app -->|"imports styles"| node_styles
node_app -->|"renders with names"| node_navbar
node_app -->|"renders with intro data"| node_home
node_app -->|"renders with profile data"| node_about
node_app -->|"renders with project data"| node_projects
node_app -->|"renders with contact links"| node_footer
node_about -->|"renders entries"| node_role
node_projects -->|"renders cards"| node_card
node_card -->|"links to"| node_projectdest
node_footer -->|"links to"| node_contactdest

click node_mount "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/main.tsx"
click node_app "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/App.tsx"
click node_navbar "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/components/Navbar.tsx"
click node_home "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/pages/Home.tsx"
click node_about "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/pages/About.tsx"
click node_role "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/components/Role.tsx"
click node_projects "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/pages/Projects.tsx"
click node_card "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/components/Card.tsx"
click node_contact "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/pages/Contact.tsx"
click node_footer "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/components/Footer.tsx"
click node_styles "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/App.css"
click node_globalstyles "https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/index.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_mount,node_app,node_browser toneBlue
class node_navbar,node_home,node_contact,node_footer toneAmber
class node_about,node_role,node_projects,node_card toneMint
class node_styles,node_globalstyles toneRose
class node_visitor,node_projectdest,node_contactdest toneIndigo
```

## Components

### Application entry

- [React mount](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/main.tsx): `src/main.tsx`
- [Portfolio composition](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/App.tsx): `src/App.tsx`

### Portfolio sections

- [Navigation](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Home introduction](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/pages/Home.tsx): `src/pages/Home.tsx`
- [Contact view](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/pages/Contact.tsx): `src/pages/Contact.tsx`
- [Contact footer](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`

### Profile and projects

- [About and skills](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/pages/About.tsx): `src/pages/About.tsx`
- [Experience entry](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/components/Role.tsx): `src/components/Role.tsx`
- [Project listing](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/pages/Projects.tsx): `src/pages/Projects.tsx`
- [Project card](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/components/Card.tsx): `src/components/Card.tsx`

### Shared presentation

- [App styling](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/App.css): `src/App.css`
- [Global styling](https://github.com/RedWARd42/Personal_Portfolio/blob/main/src/index.css): `src/index.css`

### Other components

- **Visitor**
- **Browser root**
- **Project destinations**
- **Contact destinations**

## Connections

- Visitor → Browser root: opens portfolio
- Browser root → React mount: loads entry
- React mount → Portfolio composition: renders (evidence: `src/main.tsx`)
- React mount → Global styling: imports styles (evidence: `src/main.tsx`)
- Portfolio composition → App styling: imports styles (evidence: `src/App.tsx`)
- Portfolio composition → Navigation: renders with names (evidence: `src/App.tsx`)
- Portfolio composition → Home introduction: renders with intro data (evidence: `src/App.tsx`)
- Portfolio composition → About and skills: renders with profile data (evidence: `src/App.tsx`)
- Portfolio composition → Project listing: renders with project data (evidence: `src/App.tsx`)
- Portfolio composition → Contact footer: renders with contact links (evidence: `src/App.tsx`)
- About and skills → Experience entry: renders entries (evidence: `src/pages/About.tsx`)
- Project listing → Project card: renders cards (evidence: `src/pages/Projects.tsx`)
- Project card → Project destinations: links to (evidence: `src/components/Card.tsx`)
- Contact footer → Contact destinations: links to (evidence: `src/components/Footer.tsx`)
