# lohieth-rvrl/portfolio architecture

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

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

## Overview

#### Purpose and runtime

This is a client-side React portfolio/personal-site application built with Vite. It runs in the browser as a single-page UI; Vite provides local development, HMR, and production bundling. The HTML shell is `index.html`, and the React mount entry point is `src/main.jsx`.

#### Application composition

`src/App.jsx` is the top-level composition boundary. It assembles the site from section-oriented React components rather than using a route hierarchy. The primary user experience is a scrollable portfolio page with navigation, introduction, skills, experience, work, services, contact, and supporting visual elements.

Grounding paths:
- `src/App.jsx`
- `src/main.jsx`
- `src/Components/All.jsx`

#### Navigation and page control

Navigation and in-page movement are handled by presentation components, centered on `src/Components/Nav.jsx`. `src/Components/ToTop.jsx` supplies return-to-top behavior, while `src/Components/Head.jsx` likely forms the hero/header region. These components define the main control flow: users select page sections or scroll through a continuous document.

Grounding paths:
- `src/Components/Nav.jsx`
- `src/Components/ToTop.jsx`
- `src/Components/Head.jsx`

#### Portfolio content sections

The middle of the application is organized as independent content blocks. `About`, `Skills`, and `Exp` communicate personal profile and professional experience; `Works` presents portfolio projects; `Service` presents offered capabilities. This structure keeps content domains isolated while allowing `App.jsx` to determine page order.

Grounding paths:
- `src/Components/About.jsx`
- `src/Components/Skills.jsx`
- `src/Components/Exp.jsx`
- `src/Components/Works.jsx`
- `src/Components/Service.jsx`

#### Contact and confirmation boundary

Contact interaction is separated from its post-submission/confirmation presentation. `src/Components/Contact.jsx` is the user-input-facing boundary, and `src/Components/ConFom.jsx` appears to represent a confirmation state or view. No server, API client, database, or third-party contact service is visible in the supplied tree, so any submission behavior is likely local/UI-only unless implemented inline.

Grounding paths:
- `src/Components/Contact.jsx`
- `src/Components/ConFom.jsx`

#### Visual loading and decorative systems

The application includes dedicated components for loading state and visual effects. `Loader` can gate or accompany initial rendering, while `Orbit` is a decorative/animated visual subsystem with component-specific styling. Work-section styling is separately scoped, indicating visually distinct portfolio cards or layouts.

Grounding paths:
- `src/Components/Loader.jsx`
- `src/Components/Orbit.jsx`
- `src/css/orbit.css`
- `src/css/Works.css`

#### Assets and styling

Global styles originate in `src/index.css`; specialized styles live under `src/css`. Static public assets are served directly by Vite, including a PDF document that is likely a downloadable résumé/CV. There is no visible backend, deployment infrastructure, or external service integration.

Grounding paths:
- `src/index.css`
- `public/img/lohieth (4).pdf`
- `vite.config.js`
- `package.json`

Main entry points: [`src/App.jsx`](https://github.com/lohieth-rvrl/portfolio/blob/main/src/App.jsx) (App), [`src/Components/Nav.jsx`](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Nav.jsx) (Navigation), [`src/main.jsx`](https://github.com/lohieth-rvrl/portfolio/blob/main/src/main.jsx) (React entry), [`src/Components/Contact.jsx`](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Contact.jsx) (Contact)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Browser runtime"]
  node_vite{{"Vite<br/>build tool<br/>[vite.config.js]"}}
  node_package["Package manifest<br/>dependencies<br/>[package.json]"]
  node_html["HTML shell<br/>document shell<br/>[index.html]"]
  node_main["React entry<br/>mount entry<br/>[main.jsx]"]
  node_global_css["Global styles<br/>stylesheet<br/>[index.css]"]
  node_resume["Résumé PDF<br/>static asset<br/>[lohieth &#40;4&#41;.pdf]"]
end

subgraph group_shell["App composition"]
  node_app["App<br/>page composer<br/>[App.jsx]"]
  node_all["Component export hub<br/>component module<br/>[All.jsx]"]
  node_nav["Navigation<br/>[Nav.jsx]"]
  node_head["Hero header<br/>section component<br/>[Head.jsx]"]
  node_to_top["Return to top<br/>scroll control<br/>[ToTop.jsx]"]
end

subgraph group_sections["Portfolio sections"]
  node_about["About<br/>content section<br/>[About.jsx]"]
  node_skills["Skills<br/>content section<br/>[Skills.jsx]"]
  node_experience["Experience<br/>content section<br/>[Exp.jsx]"]
  node_works["Works<br/>portfolio section<br/>[Works.jsx]"]
  node_service["Services<br/>content section<br/>[Service.jsx]"]
  node_contact["Contact<br/>input section<br/>[Contact.jsx]"]
  node_confirmation["Confirmation<br/>[ConFom.jsx]"]
end

subgraph group_visuals["Visual systems"]
  node_loader["Loader<br/>loading component<br/>[Loader.jsx]"]
  node_orbit["Orbit<br/>animated decoration<br/>[Orbit.jsx]"]
  node_orbit_css["Orbit styles<br/>stylesheet<br/>[orbit.css]"]
  node_works_css["Works styles<br/>stylesheet<br/>[Works.css]"]
end

node_package -->|"defines tooling"| node_vite
node_vite -->|"serves bundle"| node_html
node_html -->|"loads"| node_main
node_main -->|"mounts"| node_app
node_main -->|"applies"| node_global_css
node_app -->|"uses components"| node_all
node_app -.->|"initial loading"| node_loader
node_app -->|"composes"| node_nav
node_app -->|"composes"| node_head
node_app -->|"composes"| node_about
node_app -->|"composes"| node_skills
node_app -->|"composes"| node_experience
node_app -->|"composes"| node_works
node_app -->|"composes"| node_service
node_app -->|"composes"| node_contact
node_app -->|"composes"| node_to_top
node_nav -.->|"scrolls to sections"| node_about
node_nav -.->|"scrolls to sections"| node_contact
node_to_top -.->|"returns to top"| node_head
node_contact -.->|"shows confirmation"| node_confirmation
node_app -->|"renders decoration"| node_orbit
node_orbit -->|"styled by"| node_orbit_css
node_works -->|"styled by"| node_works_css
node_nav -.->|"links download"| node_resume

click node_vite "https://github.com/lohieth-rvrl/portfolio/blob/main/vite.config.js"
click node_package "https://github.com/lohieth-rvrl/portfolio/blob/main/package.json"
click node_html "https://github.com/lohieth-rvrl/portfolio/blob/main/index.html"
click node_main "https://github.com/lohieth-rvrl/portfolio/blob/main/src/main.jsx"
click node_global_css "https://github.com/lohieth-rvrl/portfolio/blob/main/src/index.css"
click node_app "https://github.com/lohieth-rvrl/portfolio/blob/main/src/App.jsx"
click node_all "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/All.jsx"
click node_nav "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Nav.jsx"
click node_head "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Head.jsx"
click node_to_top "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/ToTop.jsx"
click node_about "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/About.jsx"
click node_skills "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Skills.jsx"
click node_experience "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Exp.jsx"
click node_works "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Works.jsx"
click node_service "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Service.jsx"
click node_contact "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Contact.jsx"
click node_confirmation "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/ConFom.jsx"
click node_loader "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Loader.jsx"
click node_orbit "https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Orbit.jsx"
click node_orbit_css "https://github.com/lohieth-rvrl/portfolio/blob/main/src/css/orbit.css"
click node_works_css "https://github.com/lohieth-rvrl/portfolio/blob/main/src/css/Works.css"
click node_resume "https://github.com/lohieth-rvrl/portfolio/blob/main/public/img/lohieth%20(4).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_vite,node_package,node_html,node_main,node_global_css,node_resume toneBlue
class node_app,node_all,node_nav,node_head,node_to_top toneAmber
class node_about,node_skills,node_experience,node_works,node_service,node_contact,node_confirmation toneMint
class node_loader,node_orbit,node_orbit_css,node_works_css toneRose
```

## Components

### Browser runtime

- [Vite](https://github.com/lohieth-rvrl/portfolio/blob/main/vite.config.js): build tool · Serves development, HMR, and production bundles. · `vite.config.js`
- [Package manifest](https://github.com/lohieth-rvrl/portfolio/blob/main/package.json): dependencies · `package.json`
- [HTML shell](https://github.com/lohieth-rvrl/portfolio/blob/main/index.html): document shell · `index.html`
- [React entry](https://github.com/lohieth-rvrl/portfolio/blob/main/src/main.jsx): mount entry · `src/main.jsx`
- [Global styles](https://github.com/lohieth-rvrl/portfolio/blob/main/src/index.css): stylesheet · `src/index.css`
- [Résumé PDF](https://github.com/lohieth-rvrl/portfolio/blob/main/public/img/lohieth%20(4).pdf): static asset · Public downloadable document. · `public/img/lohieth (4).pdf`

### App composition

- [App](https://github.com/lohieth-rvrl/portfolio/blob/main/src/App.jsx): page composer · Defines the scrollable page order. · `src/App.jsx`
- [Component export hub](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/All.jsx): component module · `src/Components/All.jsx`
- [Navigation](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Nav.jsx): in-page navigation · `src/Components/Nav.jsx`
- [Hero header](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Head.jsx): section component · `src/Components/Head.jsx`
- [Return to top](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/ToTop.jsx): scroll control · `src/Components/ToTop.jsx`

### Portfolio sections

- [About](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/About.jsx): content section · `src/Components/About.jsx`
- [Skills](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Skills.jsx): content section · `src/Components/Skills.jsx`
- [Experience](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Exp.jsx): content section · `src/Components/Exp.jsx`
- [Works](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Works.jsx): portfolio section · `src/Components/Works.jsx`
- [Services](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Service.jsx): content section · `src/Components/Service.jsx`
- [Contact](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Contact.jsx): input section · Local UI contact boundary; no backend is visible. · `src/Components/Contact.jsx`
- [Confirmation](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/ConFom.jsx): confirmation view · `src/Components/ConFom.jsx`

### Visual systems

- [Loader](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Loader.jsx): loading component · Can gate initial page rendering. · `src/Components/Loader.jsx`
- [Orbit](https://github.com/lohieth-rvrl/portfolio/blob/main/src/Components/Orbit.jsx): animated decoration · `src/Components/Orbit.jsx`
- [Orbit styles](https://github.com/lohieth-rvrl/portfolio/blob/main/src/css/orbit.css): stylesheet · `src/css/orbit.css`
- [Works styles](https://github.com/lohieth-rvrl/portfolio/blob/main/src/css/Works.css): stylesheet · `src/css/Works.css`

## Connections

- Package manifest → Vite: defines tooling
- Vite → HTML shell: serves bundle
- HTML shell → React entry: loads
- React entry → App: mounts
- React entry → Global styles: applies
- App → Component export hub: uses components
- App → Loader: initial loading
- App → Navigation: composes
- App → Hero header: composes
- App → About: composes
- App → Skills: composes
- App → Experience: composes
- App → Works: composes
- App → Services: composes
- App → Contact: composes
- App → Return to top: composes
- Navigation → About: scrolls to sections
- Navigation → Contact: scrolls to sections
- Return to top → Hero header: returns to top
- Contact → Confirmation: shows confirmation
- App → Orbit: renders decoration
- Orbit → Orbit styles: styled by
- Works → Works styles: styled by
- Navigation → Résumé PDF: links download
