# cr-raksa/portfolio architecture

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

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

## Overview

This is a React portfolio site presenting an engineer’s introduction, skills, projects, experience, and contact options. The visitor-facing flow mounts the app, wraps its home content in a shared layout, and renders portfolio sections from components and data modules. The tree also contains an elaborate menu component, but the sampled runtime wiring does not show it being mounted; it is shown separately rather than connected speculatively. Edges reflect only relationships visible in sampled source.

Main entry points: [`src/pages/Home.jsx`](https://github.com/cr-raksa/portfolio/blob/main/src/pages/Home.jsx) (Home Page), [`src/App.jsx`](https://github.com/cr-raksa/portfolio/blob/main/src/App.jsx) (App Composition), [`src/layouts/MainLayout.jsx`](https://github.com/cr-raksa/portfolio/blob/main/src/layouts/MainLayout.jsx) (Main Layout), [`src/main.jsx`](https://github.com/cr-raksa/portfolio/blob/main/src/main.jsx) (React Entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Application Runtime"]
  node_entry["React Entry<br/>[main.jsx]"]
  node_app["App Composition<br/>[App.jsx]"]
end

subgraph group_shell["Site Shell"]
  node_layout["Main Layout<br/>[MainLayout.jsx]"]
  node_navbar["Site Navbar<br/>[Navbar.jsx]"]
  node_footer["Site Footer<br/>[Footer.jsx]"]
end

subgraph group_portfolio["Portfolio Content"]
  node_home["Home Page<br/>[Home.jsx]"]
  node_hero["Hero Section<br/>[HeroSection.jsx]"]
  node_skills["Skill Cards<br/>[SkillCard.jsx]"]
  node_skilldata["Skills Data<br/>[skills.js]"]
  node_projects["Project Cards<br/>[ProjectCard.jsx]"]
  node_projectdata["Projects Data<br/>[projects.js]"]
  node_contact["Contact Section<br/>[Contact.jsx]"]
end

subgraph group_navigation["Menu Component"]
  node_menubar["Interactive Menu<br/>[ManuBar.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"wraps content"| node_layout
node_app -->|"renders"| node_home
node_layout -->|"renders"| node_navbar
node_layout -->|"renders"| node_footer
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_skills
node_home -->|"reads"| node_skilldata
node_home -->|"renders"| node_projects
node_home -->|"reads"| node_projectdata
node_home -->|"renders"| node_contact

click node_entry "https://github.com/cr-raksa/portfolio/blob/main/src/main.jsx"
click node_app "https://github.com/cr-raksa/portfolio/blob/main/src/App.jsx"
click node_layout "https://github.com/cr-raksa/portfolio/blob/main/src/layouts/MainLayout.jsx"
click node_navbar "https://github.com/cr-raksa/portfolio/blob/main/src/components/Navbar.jsx"
click node_footer "https://github.com/cr-raksa/portfolio/blob/main/src/components/Footer.jsx"
click node_home "https://github.com/cr-raksa/portfolio/blob/main/src/pages/Home.jsx"
click node_hero "https://github.com/cr-raksa/portfolio/blob/main/src/components/HeroSection.jsx"
click node_skills "https://github.com/cr-raksa/portfolio/blob/main/src/components/SkillCard.jsx"
click node_skilldata "https://github.com/cr-raksa/portfolio/blob/main/src/data/skills.js"
click node_projects "https://github.com/cr-raksa/portfolio/blob/main/src/components/ProjectCard.jsx"
click node_projectdata "https://github.com/cr-raksa/portfolio/blob/main/src/data/projects.js"
click node_contact "https://github.com/cr-raksa/portfolio/blob/main/src/pages/Contact.jsx"
click node_menubar "https://github.com/cr-raksa/portfolio/blob/main/src/components/ManuBar.jsx"

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 toneBlue
class node_layout,node_navbar,node_footer toneAmber
class node_home,node_hero,node_skills,node_skilldata,node_projects,node_projectdata,node_contact toneMint
class node_menubar toneRose
class node_visitor toneIndigo
```

## Components

### Application Runtime

- [React Entry](https://github.com/cr-raksa/portfolio/blob/main/src/main.jsx): `src/main.jsx`
- [App Composition](https://github.com/cr-raksa/portfolio/blob/main/src/App.jsx): `src/App.jsx`

### Site Shell

- [Main Layout](https://github.com/cr-raksa/portfolio/blob/main/src/layouts/MainLayout.jsx): `src/layouts/MainLayout.jsx`
- [Site Navbar](https://github.com/cr-raksa/portfolio/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Site Footer](https://github.com/cr-raksa/portfolio/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`

### Portfolio Content

- [Home Page](https://github.com/cr-raksa/portfolio/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`
- [Hero Section](https://github.com/cr-raksa/portfolio/blob/main/src/components/HeroSection.jsx): `src/components/HeroSection.jsx`
- [Skill Cards](https://github.com/cr-raksa/portfolio/blob/main/src/components/SkillCard.jsx): `src/components/SkillCard.jsx`
- [Skills Data](https://github.com/cr-raksa/portfolio/blob/main/src/data/skills.js): `src/data/skills.js`
- [Project Cards](https://github.com/cr-raksa/portfolio/blob/main/src/components/ProjectCard.jsx): `src/components/ProjectCard.jsx`
- [Projects Data](https://github.com/cr-raksa/portfolio/blob/main/src/data/projects.js): `src/data/projects.js`
- [Contact Section](https://github.com/cr-raksa/portfolio/blob/main/src/pages/Contact.jsx): `src/pages/Contact.jsx`

### Menu Component

- [Interactive Menu](https://github.com/cr-raksa/portfolio/blob/main/src/components/ManuBar.jsx): `src/components/ManuBar.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → React Entry: opens site
- React Entry → App Composition: renders (evidence: `src/main.jsx`)
- App Composition → Main Layout: wraps content (evidence: `src/App.jsx`)
- App Composition → Home Page: renders (evidence: `src/App.jsx`)
- Main Layout → Site Navbar: renders (evidence: `src/layouts/MainLayout.jsx`)
- Main Layout → Site Footer: renders (evidence: `src/layouts/MainLayout.jsx`)
- Home Page → Hero Section: renders (evidence: `src/pages/Home.jsx`)
- Home Page → Skill Cards: renders (evidence: `src/pages/Home.jsx`)
- Home Page → Skills Data: reads (evidence: `src/pages/Home.jsx`)
- Home Page → Project Cards: renders (evidence: `src/pages/Home.jsx`)
- Home Page → Projects Data: reads (evidence: `src/pages/Home.jsx`)
- Home Page → Contact Section: renders (evidence: `src/pages/Home.jsx`)
