# cassyraobijaona/cassy-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/cassyraobijaona/cassy-portfolio
- Repository: https://github.com/cassyraobijaona/cassy-portfolio

## Overview

This is a personal portfolio site presenting Cassy Raobijaona’s profile, skills, projects and contact options. Visitors enter through the home page, browse the shared navigation to profile or project details, and can submit a contact form through Formspree. Project content and profile details are supplied by local data modules. The sampled sources establish the main route and component relationships; unsampled page implementations and some navigation details are represented only where the source index or README supports them.

Main entry points: [`components/Projects.tsx`](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/Projects.tsx) (Project listing), [`lib/profile.ts`](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/lib/profile.ts) (Profile data), [`app/layout.tsx`](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/layout.tsx) (Root layout), [`components/Contact.tsx`](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/Contact.tsx) (Contact form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site shell"]
  node_layout["Root layout<br/>[layout.tsx]"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_profile_data["Profile data<br/>[profile.ts]"]
  node_home_route["Home route<br/>[page.tsx]"]
  node_hero["Hero<br/>[Hero.tsx]"]
end

subgraph group_profile["Profile pages"]
  node_about_route["About route<br/>[page.tsx]"]
  node_about["About profile<br/>[About.tsx]"]
end

subgraph group_projects["Project showcase"]
  node_projects_route["Projects route<br/>[page.tsx]"]
  node_projects["Project listing<br/>[Projects.tsx]"]
  node_project_data["Project data<br/>[projects.ts]"]
  node_project_image["Project image<br/>[ProjectImage.tsx]"]
  node_project_modal["Project details modal<br/>[ProjectModal.tsx]"]
end

subgraph group_contact["Contact"]
  node_contact_route["Contact route<br/>[page.tsx]"]
  node_contact["Contact form<br/>[Contact.tsx]"]
end

node_visitor(("Visitor"))
node_formspree{{"Formspree"}}

node_visitor -->|"opens site"| node_layout
node_layout -->|"renders"| node_navbar
node_layout -->|"reads metadata"| node_profile_data
node_visitor -->|"opens home"| node_home_route
node_home_route -->|"renders"| node_hero
node_hero -->|"reads profile"| node_profile_data
node_visitor -->|"opens profile"| node_about_route
node_about_route -->|"renders"| node_about
node_about -->|"reads profile"| node_profile_data
node_visitor -->|"opens projects"| node_projects_route
node_projects_route -->|"renders"| node_projects
node_projects -->|"reads projects"| node_project_data
node_projects -->|"renders thumbnails"| node_project_image
node_projects -->|"opens details"| node_project_modal
node_project_modal -->|"uses project details"| node_project_data
node_visitor -->|"opens contact"| node_contact_route
node_contact_route -->|"renders"| node_contact
node_contact -->|"reads contact info"| node_profile_data
node_contact -->|"submits message"| node_formspree

click node_layout "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/layout.tsx"
click node_navbar "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/Navbar.tsx"
click node_profile_data "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/lib/profile.ts"
click node_home_route "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/page.tsx"
click node_hero "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/Hero.tsx"
click node_about_route "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/about/page.tsx"
click node_about "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/About.tsx"
click node_projects_route "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/projects/page.tsx"
click node_projects "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/Projects.tsx"
click node_project_data "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/lib/projects.ts"
click node_project_image "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/ProjectImage.tsx"
click node_project_modal "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/ProjectModal.tsx"
click node_contact_route "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/contact/page.tsx"
click node_contact "https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/Contact.tsx"

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_layout,node_navbar,node_profile_data,node_home_route,node_hero toneBlue
class node_about_route,node_about toneAmber
class node_projects_route,node_projects,node_project_data,node_project_image,node_project_modal toneMint
class node_contact_route,node_contact toneRose
class node_visitor,node_formspree toneIndigo
```

## Components

### Site shell

- [Root layout](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/layout.tsx): `app/layout.tsx`
- [Navigation](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/Navbar.tsx): `components/Navbar.tsx`
- [Profile data](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/lib/profile.ts): `lib/profile.ts`
- [Home route](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/page.tsx): `app/page.tsx`
- [Hero](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/Hero.tsx): `components/Hero.tsx`

### Profile pages

- [About route](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/about/page.tsx): `app/about/page.tsx`
- [About profile](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/About.tsx): `components/About.tsx`

### Project showcase

- [Projects route](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/projects/page.tsx): `app/projects/page.tsx`
- [Project listing](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/Projects.tsx): `components/Projects.tsx`
- [Project data](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/lib/projects.ts): `lib/projects.ts`
- [Project image](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/ProjectImage.tsx): `components/ProjectImage.tsx`
- [Project details modal](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/ProjectModal.tsx): `components/ProjectModal.tsx`

### Contact

- [Contact route](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/app/contact/page.tsx): `app/contact/page.tsx`
- [Contact form](https://github.com/cassyraobijaona/cassy-portfolio/blob/main/components/Contact.tsx): `components/Contact.tsx`

### Other components

- **Visitor**
- **Formspree**

## Connections

- Visitor → Root layout: opens site (evidence: `app/layout.tsx`)
- Root layout → Navigation: renders (evidence: `app/layout.tsx`)
- Root layout → Profile data: reads metadata (evidence: `app/layout.tsx`)
- Visitor → Home route: opens home (evidence: `app/page.tsx`)
- Home route → Hero: renders (evidence: `app/page.tsx`)
- Hero → Profile data: reads profile (evidence: `components/Hero.tsx`)
- Visitor → About route: opens profile (evidence: `app/about/page.tsx`)
- About route → About profile: renders (evidence: `app/about/page.tsx`)
- About profile → Profile data: reads profile (evidence: `components/About.tsx`)
- Visitor → Projects route: opens projects (evidence: `app/projects/page.tsx`)
- Projects route → Project listing: renders (evidence: `app/projects/page.tsx`)
- Project listing → Project data: reads projects (evidence: `components/Projects.tsx`)
- Project listing → Project image: renders thumbnails (evidence: `components/Projects.tsx`)
- Project listing → Project details modal: opens details (evidence: `components/Projects.tsx`)
- Project details modal → Project data: uses project details (evidence: `components/ProjectModal.tsx`)
- Visitor → Contact route: opens contact (evidence: `app/contact/page.tsx`)
- Contact route → Contact form: renders (evidence: `app/contact/page.tsx`)
- Contact form → Profile data: reads contact info (evidence: `components/Contact.tsx`)
- Contact form → Formspree: submits message (evidence: `components/Contact.tsx`)
