# borprilyan-rgb/portfolio architecture

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

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

## Overview

This is a React portfolio for a quantity surveyor, presenting project work, experience, skills, and contact options. The likely visitor journey is to browse the portfolio, open a project, then use a contact channel or download the CV. The sampled code shows the app entry point, project links and gallery behavior, and contact/CV actions; route configuration and several page sections were not included, so those connections are omitted rather than inferred.

Main entry points: [`src/App.jsx`](https://github.com/borprilyan-rgb/portfolio/blob/main/src/App.jsx) (Contact actions), [`src/main.jsx`](https://github.com/borprilyan-rgb/portfolio/blob/main/src/main.jsx) (React entry), [`src/assets/projects`](https://github.com/borprilyan-rgb/portfolio/tree/main/src/assets/projects) (Project images), [`public/Boris-Sidabutar-CV.pdf`](https://github.com/borprilyan-rgb/portfolio/blob/main/public/Boris-Sidabutar-CV.pdf) (CV PDF)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["App runtime"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["Portfolio app<br/>[App.jsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_worklist["Project listing<br/>[App.jsx]"]
  node_workdetail["Project detail<br/>[App.jsx]"]
  node_projectassets["Project images"]
end

subgraph group_resources["Contact and resources"]
  node_contact["Contact actions<br/>[App.jsx]"]
  node_cv["CV PDF"]
end

node_visitor(("Visitor"))
node_email(("Email client"))

node_visitor -->|"opens"| node_entry
node_entry -->|"renders"| node_app
node_worklist -->|"links to"| node_workdetail
node_workdetail -->|"loads gallery"| node_projectassets
node_contact -->|"links to"| node_cv
node_contact -->|"opens"| node_email

click node_entry "https://github.com/borprilyan-rgb/portfolio/blob/main/src/main.jsx"
click node_app "https://github.com/borprilyan-rgb/portfolio/blob/main/src/App.jsx"
click node_worklist "https://github.com/borprilyan-rgb/portfolio/blob/main/src/App.jsx"
click node_workdetail "https://github.com/borprilyan-rgb/portfolio/blob/main/src/App.jsx"
click node_projectassets "https://github.com/borprilyan-rgb/portfolio/tree/main/src/assets/projects"
click node_contact "https://github.com/borprilyan-rgb/portfolio/blob/main/src/App.jsx"
click node_cv "https://github.com/borprilyan-rgb/portfolio/blob/main/public/Boris-Sidabutar-CV.pdf"

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_email toneBlue
class node_worklist,node_workdetail,node_projectassets toneAmber
class node_contact,node_cv toneMint
class node_visitor toneIndigo
```

## Components

### App runtime

- [React entry](https://github.com/borprilyan-rgb/portfolio/blob/main/src/main.jsx): `src/main.jsx`
- [Portfolio app](https://github.com/borprilyan-rgb/portfolio/blob/main/src/App.jsx): `src/App.jsx`

### Portfolio content

- [Project listing](https://github.com/borprilyan-rgb/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Project detail](https://github.com/borprilyan-rgb/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Project images](https://github.com/borprilyan-rgb/portfolio/tree/main/src/assets/projects): `src/assets/projects`

### Contact and resources

- [Contact actions](https://github.com/borprilyan-rgb/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [CV PDF](https://github.com/borprilyan-rgb/portfolio/blob/main/public/Boris-Sidabutar-CV.pdf): `public/Boris-Sidabutar-CV.pdf`

### Other components

- **Visitor**
- **Email client**

## Connections

- Visitor → React entry: opens
- React entry → Portfolio app: renders (evidence: `src/main.jsx`)
- Project listing → Project detail: links to (evidence: `src/App.jsx`)
- Project detail → Project images: loads gallery (evidence: `src/App.jsx`)
- Contact actions → CV PDF: links to (evidence: `src/App.jsx`)
- Contact actions → Email client: opens (evidence: `src/App.jsx`)
