# fyslsany/faysal-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/fyslsany/faysal-portfolio
- Repository: https://github.com/fyslsany/faysal-portfolio

## Overview

This is a personal portfolio website presenting design work, skills, career history, and blog content, with contact and testimonial submission features. The main visitor workflow is to browse the portfolio sections and optionally send a message or review; those submissions use Supabase when configured. The README describes running the app but does not document additional product capabilities. App.tsx shows the page composition and loading gate; component excerpts show the submission calls. Other section-to-section behavior is not implied.

Main entry points: [`App.tsx`](https://github.com/fyslsany/faysal-portfolio/blob/main/App.tsx) (Page App), [`components/Testimonials.tsx`](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Testimonials.tsx) (Testimonials), [`components/Contact.tsx`](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Contact.tsx) (Contact Form), [`lib/supabaseClient.ts`](https://github.com/fyslsany/faysal-portfolio/blob/main/lib/supabaseClient.ts) (Supabase Client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Page Shell"]
  node_app["Page App<br/>[App.tsx]"]
  node_loader["Loading Screen<br/>[Loader.tsx]"]
  node_header["Navigation<br/>[Header.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_portfolio["Portfolio Content"]
  node_hero["Introduction<br/>[Hero.tsx]"]
  node_projects["Design Projects<br/>[Projects.tsx]"]
  node_uiux["UI/UX Work<br/>[UiUx.tsx]"]
  node_about["Career Journey<br/>[About.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_blog["Articles<br/>[Blog.tsx]"]
end

subgraph group_engagement["Visitor Engagement"]
  node_testimonials["Testimonials<br/>[Testimonials.tsx]"]
  node_cta["Call To Action<br/>[Cta.tsx]"]
  node_contact["Contact Form<br/>[Contact.tsx]"]
end

subgraph group_backend["Backend Integration"]
  node_supabase["Supabase Client<br/>[supabaseClient.ts]"]
  node_database[("Supabase Database")]
end

node_visitor(("Visitor"))

node_visitor -.->|"opens"| node_app
node_app -->|"shows while loading"| node_loader
node_app -->|"renders"| node_header
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_uiux
node_app -->|"renders"| node_testimonials
node_app -->|"renders"| node_about
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_blog
node_app -->|"renders"| node_cta
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_visitor -->|"submits message"| node_contact
node_visitor -->|"submits review"| node_testimonials
node_contact -->|"inserts message"| node_supabase
node_testimonials -->|"reads and inserts reviews"| node_supabase
node_supabase -->|"connects to"| node_database

click node_app "https://github.com/fyslsany/faysal-portfolio/blob/main/App.tsx"
click node_loader "https://github.com/fyslsany/faysal-portfolio/blob/main/components/Loader.tsx"
click node_header "https://github.com/fyslsany/faysal-portfolio/blob/main/components/Header.tsx"
click node_footer "https://github.com/fyslsany/faysal-portfolio/blob/main/components/Footer.tsx"
click node_hero "https://github.com/fyslsany/faysal-portfolio/blob/main/components/Hero.tsx"
click node_projects "https://github.com/fyslsany/faysal-portfolio/blob/main/components/Projects.tsx"
click node_uiux "https://github.com/fyslsany/faysal-portfolio/blob/main/components/UiUx.tsx"
click node_about "https://github.com/fyslsany/faysal-portfolio/blob/main/components/About.tsx"
click node_skills "https://github.com/fyslsany/faysal-portfolio/blob/main/components/Skills.tsx"
click node_blog "https://github.com/fyslsany/faysal-portfolio/blob/main/components/Blog.tsx"
click node_testimonials "https://github.com/fyslsany/faysal-portfolio/blob/main/components/Testimonials.tsx"
click node_cta "https://github.com/fyslsany/faysal-portfolio/blob/main/components/Cta.tsx"
click node_contact "https://github.com/fyslsany/faysal-portfolio/blob/main/components/Contact.tsx"
click node_supabase "https://github.com/fyslsany/faysal-portfolio/blob/main/lib/supabaseClient.ts"

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_loader,node_header,node_footer toneBlue
class node_hero,node_projects,node_uiux,node_about,node_skills,node_blog toneAmber
class node_testimonials,node_cta,node_contact toneMint
class node_supabase,node_database toneRose
class node_visitor toneIndigo
```

## Components

### Page Shell

- [Page App](https://github.com/fyslsany/faysal-portfolio/blob/main/App.tsx): `App.tsx`
- [Loading Screen](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Loader.tsx): `components/Loader.tsx`
- [Navigation](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Header.tsx): `components/Header.tsx`
- [Footer](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Footer.tsx): `components/Footer.tsx`

### Portfolio Content

- [Introduction](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Hero.tsx): `components/Hero.tsx`
- [Design Projects](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Projects.tsx): `components/Projects.tsx`
- [UI/UX Work](https://github.com/fyslsany/faysal-portfolio/blob/main/components/UiUx.tsx): `components/UiUx.tsx`
- [Career Journey](https://github.com/fyslsany/faysal-portfolio/blob/main/components/About.tsx): `components/About.tsx`
- [Skills](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Skills.tsx): `components/Skills.tsx`
- [Articles](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Blog.tsx): `components/Blog.tsx`

### Visitor Engagement

- [Testimonials](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Testimonials.tsx): `components/Testimonials.tsx`
- [Call To Action](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Cta.tsx): `components/Cta.tsx`
- [Contact Form](https://github.com/fyslsany/faysal-portfolio/blob/main/components/Contact.tsx): `components/Contact.tsx`

### Backend Integration

- [Supabase Client](https://github.com/fyslsany/faysal-portfolio/blob/main/lib/supabaseClient.ts): `lib/supabaseClient.ts`
- **Supabase Database**

### Other components

- **Visitor**

## Connections

- Visitor → Page App: opens
- Page App → Loading Screen: shows while loading (evidence: `App.tsx`)
- Page App → Navigation: renders (evidence: `App.tsx`)
- Page App → Introduction: renders (evidence: `App.tsx`)
- Page App → Design Projects: renders (evidence: `App.tsx`)
- Page App → UI/UX Work: renders (evidence: `App.tsx`)
- Page App → Testimonials: renders (evidence: `App.tsx`)
- Page App → Career Journey: renders (evidence: `App.tsx`)
- Page App → Skills: renders (evidence: `App.tsx`)
- Page App → Articles: renders (evidence: `App.tsx`)
- Page App → Call To Action: renders (evidence: `App.tsx`)
- Page App → Contact Form: renders (evidence: `App.tsx`)
- Page App → Footer: renders (evidence: `App.tsx`)
- Visitor → Contact Form: submits message (evidence: `components/Contact.tsx`)
- Visitor → Testimonials: submits review (evidence: `components/Testimonials.tsx`)
- Contact Form → Supabase Client: inserts message (evidence: `components/Contact.tsx`)
- Testimonials → Supabase Client: reads and inserts reviews (evidence: `components/Testimonials.tsx`)
- Supabase Client → Supabase Database: connects to (evidence: `lib/supabaseClient.ts`)
