# zasia-farzin-siraz/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/zasia-farzin-siraz/portfolio
- Repository: https://github.com/zasia-farzin-siraz/portfolio

## Overview

This is a single-page personal developer portfolio. A visitor enters through the hero, explores profile, skills, projects, and experience, then reaches contact links or downloads the résumé. App.tsx assembles the page and its visual effects; individual section components render portfolio content, using shared personal and project data. The README also documents responsive styling, animated transitions, a pixel cursor, stars, a loading screen, and back-to-top navigation. Some component behavior is unsampled, so edges to those components show only the assembly visible in App.tsx.

Main entry points: [`src/App.tsx`](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/App.tsx) (Page assembly), [`src/components/Container.tsx`](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/Container.tsx) (Content container), [`src/sections/Hero.tsx`](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Hero.tsx) (Hero), [`src/constants/personal.ts`](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/constants/personal.ts) (Personal profile data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Page shell"]
  node_app["Page assembly<br/>[App.tsx]"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_backtotop["Back to top<br/>[BackToTop.tsx]"]
end

subgraph group_content["Portfolio sections"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_about["About<br/>[About.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_projects["Projects showcase<br/>[Projects.tsx]"]
  node_experience["Education journey<br/>[Experience.tsx]"]
  node_contact["Contact<br/>[Contact.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_data["Portfolio data"]
  node_personal["Personal profile data<br/>[personal.ts]"]
  node_projectdata["Project catalogue<br/>[projects.ts]"]
end

subgraph group_visuals["Visual components"]
  node_loading["Loading screen<br/>[LoadingScreen.tsx]"]
  node_pixelcursor["Pixel cursor<br/>[PixelCursor.tsx]"]
  node_floatingstars["Floating stars<br/>[FloatingStars.tsx]"]
  node_pixelstars["Pixel stars<br/>[PixelStars.tsx]"]
  node_button["Link button<br/>[Button.tsx]"]
  node_container["Content container<br/>[Container.tsx]"]
end

node_visitor(("Visitor"))
node_resume["Résumé PDF"]

node_visitor -->|"opens portfolio"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_loading
node_app -->|"renders"| node_pixelcursor
node_app -->|"renders"| node_floatingstars
node_app -->|"renders"| node_pixelstars
node_app -->|"renders"| node_backtotop
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_experience
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_navbar -->|"renders"| node_button
node_hero -->|"renders"| node_button
node_hero -->|"renders"| node_container
node_hero -->|"reads profile"| node_personal
node_about -->|"renders"| node_container
node_about -->|"reads profile"| node_personal
node_skills -->|"renders"| node_container
node_projects -->|"renders"| node_container
node_projects -->|"reads catalogue"| node_projectdata
node_experience -->|"renders"| node_container
node_contact -->|"renders"| node_container
node_contact -->|"reads profile"| node_personal
node_footer -->|"renders"| node_container
node_footer -->|"reads profile"| node_personal
node_hero -->|"links résumé"| node_resume

click node_app "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/App.tsx"
click node_navbar "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/Navbar.tsx"
click node_backtotop "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/BackToTop.tsx"
click node_loading "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/LoadingScreen.tsx"
click node_pixelcursor "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/PixelCursor.tsx"
click node_floatingstars "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/FloatingStars.tsx"
click node_pixelstars "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/PixelStars.tsx"
click node_hero "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Hero.tsx"
click node_about "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/About.tsx"
click node_skills "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Skills.tsx"
click node_projects "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Projects.tsx"
click node_experience "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Experience.tsx"
click node_contact "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Contact.tsx"
click node_footer "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Footer.tsx"
click node_personal "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/constants/personal.ts"
click node_projectdata "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/constants/projects.ts"
click node_button "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/Button.tsx"
click node_container "https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/Container.tsx"
click node_resume "https://github.com/zasia-farzin-siraz/portfolio/blob/main/public/zasia_farzin_siraz_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_app,node_navbar,node_backtotop toneBlue
class node_hero,node_about,node_skills,node_projects,node_experience,node_contact,node_footer toneAmber
class node_personal,node_projectdata toneMint
class node_loading,node_pixelcursor,node_floatingstars,node_pixelstars,node_button,node_container toneRose
class node_visitor toneIndigo
class node_resume toneTeal
```

## Components

### Page shell

- [Page assembly](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/App.tsx): `src/App.tsx`
- [Navigation](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Back to top](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/BackToTop.tsx): `src/components/BackToTop.tsx`

### Portfolio sections

- [Hero](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Hero.tsx): `src/sections/Hero.tsx`
- [About](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/About.tsx): `src/sections/About.tsx`
- [Skills](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Skills.tsx): `src/sections/Skills.tsx`
- [Projects showcase](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Projects.tsx): `src/sections/Projects.tsx`
- [Education journey](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Experience.tsx): `src/sections/Experience.tsx`
- [Contact](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Contact.tsx): `src/sections/Contact.tsx`
- [Footer](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/sections/Footer.tsx): `src/sections/Footer.tsx`

### Portfolio data

- [Personal profile data](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/constants/personal.ts): `src/constants/personal.ts`
- [Project catalogue](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/constants/projects.ts): `src/constants/projects.ts`

### Visual components

- [Loading screen](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/LoadingScreen.tsx): `src/components/LoadingScreen.tsx`
- [Pixel cursor](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/PixelCursor.tsx): `src/components/PixelCursor.tsx`
- [Floating stars](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/FloatingStars.tsx): `src/components/FloatingStars.tsx`
- [Pixel stars](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/PixelStars.tsx): `src/components/PixelStars.tsx`
- [Link button](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/Button.tsx): `src/components/Button.tsx`
- [Content container](https://github.com/zasia-farzin-siraz/portfolio/blob/main/src/components/Container.tsx): `src/components/Container.tsx`

### Other components

- **Visitor**
- [Résumé PDF](https://github.com/zasia-farzin-siraz/portfolio/blob/main/public/zasia_farzin_siraz_cv.pdf): `public/zasia_farzin_siraz_cv.pdf`

## Connections

- Visitor → Page assembly: opens portfolio (evidence: `README.md`)
- Page assembly → Navigation: renders (evidence: `src/App.tsx`)
- Page assembly → Loading screen: renders (evidence: `src/App.tsx`)
- Page assembly → Pixel cursor: renders (evidence: `src/App.tsx`)
- Page assembly → Floating stars: renders (evidence: `src/App.tsx`)
- Page assembly → Pixel stars: renders (evidence: `src/App.tsx`)
- Page assembly → Back to top: renders (evidence: `src/App.tsx`)
- Page assembly → Hero: renders (evidence: `src/App.tsx`)
- Page assembly → About: renders (evidence: `src/App.tsx`)
- Page assembly → Skills: renders (evidence: `src/App.tsx`)
- Page assembly → Projects showcase: renders (evidence: `src/App.tsx`)
- Page assembly → Education journey: renders (evidence: `src/App.tsx`)
- Page assembly → Contact: renders (evidence: `src/App.tsx`)
- Page assembly → Footer: renders (evidence: `src/App.tsx`)
- Navigation → Link button: renders (evidence: `src/components/Navbar.tsx`)
- Hero → Link button: renders (evidence: `src/sections/Hero.tsx`)
- Hero → Content container: renders (evidence: `src/sections/Hero.tsx`)
- Hero → Personal profile data: reads profile (evidence: `src/sections/Hero.tsx`)
- About → Content container: renders (evidence: `src/sections/About.tsx`)
- About → Personal profile data: reads profile (evidence: `src/sections/About.tsx`)
- Skills → Content container: renders (evidence: `src/sections/Skills.tsx`)
- Projects showcase → Content container: renders (evidence: `src/sections/Projects.tsx`)
- Projects showcase → Project catalogue: reads catalogue (evidence: `src/sections/Projects.tsx`)
- Education journey → Content container: renders (evidence: `src/sections/Experience.tsx`)
- Contact → Content container: renders (evidence: `src/sections/Contact.tsx`)
- Contact → Personal profile data: reads profile (evidence: `src/sections/Contact.tsx`)
- Footer → Content container: renders (evidence: `src/sections/Footer.tsx`)
- Footer → Personal profile data: reads profile (evidence: `src/sections/Footer.tsx`)
- Hero → Résumé PDF: links résumé (evidence: `src/sections/Hero.tsx`)
