# frdiskandar/portofolio architecture

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

- Interactive diagram: https://gitdiagram.com/frdiskandar/portofolio
- Repository: https://github.com/frdiskandar/portofolio

## Overview

This is a React personal portfolio site. A visitor enters through the browser router, views the home-page sections, browses project cards, and can open a project detail route with its description, stack, and outbound link. The site also presents biography, experience, and certification content, with a contact form that sends email through EmailJS. The graph follows the entry point and sampled imports; some components are represented by their exact paths based on the source index, whose implementation details were not sampled.

Main entry points: [`src/pages/Home.jsx`](https://github.com/frdiskandar/portofolio/blob/main/src/pages/Home.jsx) (Home Page), [`src/main.jsx`](https://github.com/frdiskandar/portofolio/blob/main/src/main.jsx) (Routes), [`src/pages/PortofolioDetailPage.jsx`](https://github.com/frdiskandar/portofolio/blob/main/src/pages/PortofolioDetailPage.jsx) (Project Details), [`src/constants/data.js`](https://github.com/frdiskandar/portofolio/blob/main/src/constants/data.js) (Project Data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application Shell"]
  node_router["Routes<br/>[main.jsx]"]
  node_layout["Site Layout<br/>[Layout.jsx]"]
  node_home["Home Page<br/>[Home.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
end

subgraph group_profile["Profile Sections"]
  node_hero["Hero Section<br/>[Hero.jsx]"]
  node_hero_text["Hero Text<br/>[HeroText.jsx]"]
  node_flip_words["Animated Words<br/>[FlipWords.jsx]"]
  node_astronaut["Astronaut Visual<br/>[Astronaut.jsx]"]
  node_about["About Section<br/>[About.jsx]"]
  node_globe["Globe Visual<br/>[globe.jsx]"]
  node_pixel_canvas["Pixel Canvas"]
  node_contact["Contact Form<br/>[Contact.jsx]"]
  node_experiences["Experience Timeline<br/>[Experiences.jsx]"]
  node_timeline["Timeline<br/>[Timeline.jsx]"]
  node_certifications["Certifications<br/>[Sertivication.jsx]"]
  node_certificate_marquee["Certificate Marquee<br/>[marque.jsx]"]
  node_particles["Particle Effect<br/>[Particles.jsx]"]
end

subgraph group_portfolio["Project Portfolio"]
  node_projects_section["Featured Projects<br/>[Projects.jsx]"]
  node_project_card["Project Card<br/>[ProjectCard.jsx]"]
  node_portfolio_list["Portfolio Listing<br/>[PortofolioPage.jsx]"]
  node_project_detail["Project Details"]
end

subgraph group_shared["Shared Content"]
  node_project_data["Project Data<br/>[data.js]"]
  node_certificate_data["Certificate Data<br/>[certivicate.js]"]
  node_ui_button["Button Primitive<br/>[button.jsx]"]
  node_ui_badge["Badge Primitive<br/>[badge.jsx]"]
  node_ui_card["Card Primitive<br/>[card.jsx]"]
end

node_visitor(("Visitor"))
node_email_service["EmailJS Service"]

node_visitor -->|"opens site"| node_router
node_router -->|"wraps routes"| node_layout
node_router -->|"routes to"| node_home
node_router -->|"routes to"| node_portfolio_list
node_router -->|"routes to"| node_project_detail
node_layout -->|"renders"| node_navbar
node_layout -->|"renders"| node_footer
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_projects_section
node_home -->|"renders"| node_experiences
node_home -->|"renders"| node_certifications
node_hero -->|"renders"| node_hero_text
node_hero_text -->|"renders"| node_flip_words
node_hero -->|"renders scene"| node_astronaut
node_about -->|"renders"| node_globe
node_about -->|"renders"| node_pixel_canvas
node_contact -->|"sends message"| node_email_service
node_contact -->|"renders"| node_particles
node_projects_section -->|"reads projects"| node_project_data
node_projects_section -->|"links to"| node_project_detail
node_project_data -->|"supplies projects"| node_portfolio_list
node_portfolio_list -->|"renders cards"| node_project_card
node_project_data -->|"supplies details"| node_project_detail
node_project_detail -->|"renders tags"| node_ui_badge
node_project_detail -->|"renders link button"| node_ui_button
node_experiences -->|"reads experience data"| node_project_data
node_experiences -->|"renders timeline"| node_timeline
node_certifications -->|"renders"| node_certificate_marquee
node_certificate_marquee -->|"reads certificates"| node_certificate_data
node_footer -->|"reads social links"| node_project_data
node_project_card -->|"uses card"| node_ui_card
node_project_card -->|"uses badges"| node_ui_badge

click node_router "https://github.com/frdiskandar/portofolio/blob/main/src/main.jsx"
click node_layout "https://github.com/frdiskandar/portofolio/blob/main/src/components/Layout.jsx"
click node_home "https://github.com/frdiskandar/portofolio/blob/main/src/pages/Home.jsx"
click node_hero "https://github.com/frdiskandar/portofolio/blob/main/src/selections/Hero.jsx"
click node_hero_text "https://github.com/frdiskandar/portofolio/blob/main/src/components/HeroText.jsx"
click node_flip_words "https://github.com/frdiskandar/portofolio/blob/main/src/components/FlipWords.jsx"
click node_astronaut "https://github.com/frdiskandar/portofolio/blob/main/src/components/Astronaut.jsx"
click node_about "https://github.com/frdiskandar/portofolio/blob/main/src/selections/About.jsx"
click node_globe "https://github.com/frdiskandar/portofolio/blob/main/src/components/globe.jsx"
click node_pixel_canvas "https://github.com/frdiskandar/portofolio/blob/main/src/components/pixeldedCanvasStruct.jsx"
click node_contact "https://github.com/frdiskandar/portofolio/blob/main/src/selections/Contact.jsx"
click node_projects_section "https://github.com/frdiskandar/portofolio/blob/main/src/selections/Projects.jsx"
click node_project_data "https://github.com/frdiskandar/portofolio/blob/main/src/constants/data.js"
click node_project_card "https://github.com/frdiskandar/portofolio/blob/main/src/components/ProjectCard.jsx"
click node_portfolio_list "https://github.com/frdiskandar/portofolio/blob/main/src/pages/PortofolioPage.jsx"
click node_project_detail "https://github.com/frdiskandar/portofolio/blob/main/src/pages/PortofolioDetailPage.jsx"
click node_experiences "https://github.com/frdiskandar/portofolio/blob/main/src/selections/Experiences.jsx"
click node_timeline "https://github.com/frdiskandar/portofolio/blob/main/src/components/Timeline.jsx"
click node_certifications "https://github.com/frdiskandar/portofolio/blob/main/src/selections/Sertivication.jsx"
click node_certificate_data "https://github.com/frdiskandar/portofolio/blob/main/src/constants/certivicate.js"
click node_certificate_marquee "https://github.com/frdiskandar/portofolio/blob/main/src/components/marque.jsx"
click node_navbar "https://github.com/frdiskandar/portofolio/blob/main/src/selections/Navbar.jsx"
click node_footer "https://github.com/frdiskandar/portofolio/blob/main/src/selections/Footer.jsx"
click node_particles "https://github.com/frdiskandar/portofolio/blob/main/src/components/Particles.jsx"
click node_ui_button "https://github.com/frdiskandar/portofolio/blob/main/src/components/ui/button.jsx"
click node_ui_badge "https://github.com/frdiskandar/portofolio/blob/main/src/components/ui/badge.jsx"
click node_ui_card "https://github.com/frdiskandar/portofolio/blob/main/src/components/ui/card.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_router,node_layout,node_home,node_navbar,node_footer toneBlue
class node_hero,node_hero_text,node_flip_words,node_astronaut,node_about,node_globe,node_pixel_canvas,node_contact,node_experiences,node_timeline,node_certifications,node_certificate_marquee,node_particles toneAmber
class node_projects_section,node_project_card,node_portfolio_list,node_project_detail toneMint
class node_project_data,node_certificate_data,node_ui_button,node_ui_badge,node_ui_card toneRose
class node_visitor,node_email_service toneIndigo
```

## Components

### Application Shell

- [Routes](https://github.com/frdiskandar/portofolio/blob/main/src/main.jsx): `src/main.jsx`
- [Site Layout](https://github.com/frdiskandar/portofolio/blob/main/src/components/Layout.jsx): `src/components/Layout.jsx`
- [Home Page](https://github.com/frdiskandar/portofolio/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`
- [Navigation](https://github.com/frdiskandar/portofolio/blob/main/src/selections/Navbar.jsx): `src/selections/Navbar.jsx`
- [Footer](https://github.com/frdiskandar/portofolio/blob/main/src/selections/Footer.jsx): `src/selections/Footer.jsx`

### Profile Sections

- [Hero Section](https://github.com/frdiskandar/portofolio/blob/main/src/selections/Hero.jsx): `src/selections/Hero.jsx`
- [Hero Text](https://github.com/frdiskandar/portofolio/blob/main/src/components/HeroText.jsx): `src/components/HeroText.jsx`
- [Animated Words](https://github.com/frdiskandar/portofolio/blob/main/src/components/FlipWords.jsx): `src/components/FlipWords.jsx`
- [Astronaut Visual](https://github.com/frdiskandar/portofolio/blob/main/src/components/Astronaut.jsx): `src/components/Astronaut.jsx`
- [About Section](https://github.com/frdiskandar/portofolio/blob/main/src/selections/About.jsx): `src/selections/About.jsx`
- [Globe Visual](https://github.com/frdiskandar/portofolio/blob/main/src/components/globe.jsx): `src/components/globe.jsx`
- [Pixel Canvas](https://github.com/frdiskandar/portofolio/blob/main/src/components/pixeldedCanvasStruct.jsx): `src/components/pixeldedCanvasStruct.jsx`
- [Contact Form](https://github.com/frdiskandar/portofolio/blob/main/src/selections/Contact.jsx): `src/selections/Contact.jsx`
- [Experience Timeline](https://github.com/frdiskandar/portofolio/blob/main/src/selections/Experiences.jsx): `src/selections/Experiences.jsx`
- [Timeline](https://github.com/frdiskandar/portofolio/blob/main/src/components/Timeline.jsx): `src/components/Timeline.jsx`
- [Certifications](https://github.com/frdiskandar/portofolio/blob/main/src/selections/Sertivication.jsx): `src/selections/Sertivication.jsx`
- [Certificate Marquee](https://github.com/frdiskandar/portofolio/blob/main/src/components/marque.jsx): `src/components/marque.jsx`
- [Particle Effect](https://github.com/frdiskandar/portofolio/blob/main/src/components/Particles.jsx): `src/components/Particles.jsx`

### Project Portfolio

- [Featured Projects](https://github.com/frdiskandar/portofolio/blob/main/src/selections/Projects.jsx): `src/selections/Projects.jsx`
- [Project Card](https://github.com/frdiskandar/portofolio/blob/main/src/components/ProjectCard.jsx): `src/components/ProjectCard.jsx`
- [Portfolio Listing](https://github.com/frdiskandar/portofolio/blob/main/src/pages/PortofolioPage.jsx): `src/pages/PortofolioPage.jsx`
- [Project Details](https://github.com/frdiskandar/portofolio/blob/main/src/pages/PortofolioDetailPage.jsx): `src/pages/PortofolioDetailPage.jsx`

### Shared Content

- [Project Data](https://github.com/frdiskandar/portofolio/blob/main/src/constants/data.js): `src/constants/data.js`
- [Certificate Data](https://github.com/frdiskandar/portofolio/blob/main/src/constants/certivicate.js): `src/constants/certivicate.js`
- [Button Primitive](https://github.com/frdiskandar/portofolio/blob/main/src/components/ui/button.jsx): `src/components/ui/button.jsx`
- [Badge Primitive](https://github.com/frdiskandar/portofolio/blob/main/src/components/ui/badge.jsx): `src/components/ui/badge.jsx`
- [Card Primitive](https://github.com/frdiskandar/portofolio/blob/main/src/components/ui/card.jsx): `src/components/ui/card.jsx`

### Other components

- **Visitor**
- **EmailJS Service**

## Connections

- Visitor → Routes: opens site (evidence: `src/main.jsx`)
- Routes → Site Layout: wraps routes (evidence: `src/main.jsx`)
- Routes → Home Page: routes to (evidence: `src/main.jsx`)
- Routes → Portfolio Listing: routes to (evidence: `src/main.jsx`)
- Routes → Project Details: routes to (evidence: `src/main.jsx`)
- Site Layout → Navigation: renders (evidence: `src/components/Layout.jsx`)
- Site Layout → Footer: renders (evidence: `src/components/Layout.jsx`)
- Home Page → Hero Section: renders (evidence: `src/pages/Home.jsx`)
- Home Page → About Section: renders (evidence: `src/pages/Home.jsx`)
- Home Page → Featured Projects: renders (evidence: `src/pages/Home.jsx`)
- Home Page → Experience Timeline: renders (evidence: `src/pages/Home.jsx`)
- Home Page → Certifications: renders (evidence: `src/pages/Home.jsx`)
- Hero Section → Hero Text: renders (evidence: `src/selections/Hero.jsx`)
- Hero Text → Animated Words: renders (evidence: `src/components/HeroText.jsx`)
- Hero Section → Astronaut Visual: renders scene (evidence: `src/selections/Hero.jsx`)
- About Section → Globe Visual: renders (evidence: `src/selections/About.jsx`)
- About Section → Pixel Canvas: renders (evidence: `src/selections/About.jsx`)
- Contact Form → EmailJS Service: sends message (evidence: `src/selections/Contact.jsx`)
- Contact Form → Particle Effect: renders (evidence: `src/selections/Contact.jsx`)
- Featured Projects → Project Data: reads projects (evidence: `src/selections/Projects.jsx`)
- Featured Projects → Project Details: links to (evidence: `src/selections/Projects.jsx`)
- Project Data → Portfolio Listing: supplies projects (evidence: `src/pages/PortofolioPage.jsx`)
- Portfolio Listing → Project Card: renders cards (evidence: `src/pages/PortofolioPage.jsx`)
- Project Data → Project Details: supplies details (evidence: `src/pages/PortofolioDetailPage.jsx`)
- Project Details → Badge Primitive: renders tags (evidence: `src/pages/PortofolioDetailPage.jsx`)
- Project Details → Button Primitive: renders link button (evidence: `src/pages/PortofolioDetailPage.jsx`)
- Experience Timeline → Project Data: reads experience data (evidence: `src/selections/Experiences.jsx`)
- Experience Timeline → Timeline: renders timeline (evidence: `src/selections/Experiences.jsx`)
- Certifications → Certificate Marquee: renders (evidence: `src/selections/Sertivication.jsx`)
- Certificate Marquee → Certificate Data: reads certificates (evidence: `src/components/marque.jsx`)
- Footer → Project Data: reads social links (evidence: `src/selections/Footer.jsx`)
- Project Card → Card Primitive: uses card (evidence: `src/components/ProjectCard.jsx`)
- Project Card → Badge Primitive: uses badges (evidence: `src/components/ProjectCard.jsx`)
