# saikriz898/sai-web-canvas architecture

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

- Interactive diagram: https://gitdiagram.com/saikriz898/sai-web-canvas
- Repository: https://github.com/saikriz898/sai-web-canvas

## Overview

This repository is a single-page personal portfolio. A visitor enters through the React mount, sees a timed preloader, then browses the hero and portfolio sections, including project case studies and a project-detail modal. Static portfolio records supply several sections; shared presentation components support the section views. The graph follows imports and rendering shown in the supplied excerpts and SOURCE INDEX; it does not imply backend services or inspect unsampled section implementations.

Main entry points: [`src/App.tsx`](https://github.com/saikriz898/sai-web-canvas/blob/main/src/App.tsx) (Portfolio app), [`src/data/portfolioData.ts`](https://github.com/saikriz898/sai-web-canvas/blob/main/src/data/portfolioData.ts) (Portfolio data), [`src/components/ui/SectionHeader.tsx`](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/ui/SectionHeader.tsx) (Section header), [`src/components/sections/Projects.tsx`](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Projects.tsx) (Projects)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_mount["React mount<br/>[main.tsx]"]
  node_approot["Portfolio app<br/>[App.tsx]"]
  node_preloader["Preloader<br/>[Preloader.tsx]"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_scrolltop["Scroll to top<br/>[ScrollToTop.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_profile["Portfolio sections"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_about["About<br/>[About.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_projectmodal["Project details<br/>[ProjectModal.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_coding["Coding profiles<br/>[CodingProfiles.tsx]"]
  node_experience["Experience<br/>[Experience.tsx]"]
  node_certifications["Certifications<br/>[Certifications.tsx]"]
  node_achievements["Achievements<br/>[Achievements.tsx]"]
  node_education["Education<br/>[Education.tsx]"]
  node_contact["Contact<br/>[Contact.tsx]"]
end

subgraph group_records["Profile records"]
  node_data["Portfolio data<br/>[portfolioData.ts]"]
  node_resume["Resume PDF"]
end

subgraph group_shared["Shared presentation"]
  node_sectionheader["Section header<br/>[SectionHeader.tsx]"]
  node_timeline["Timeline item<br/>[TimelineItem.tsx]"]
  node_scrollreveal["Scroll reveal<br/>[ScrollReveal.tsx]"]
  node_badge["Badge<br/>[Badge.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_mount
node_mount -->|"renders"| node_approot
node_approot -->|"shows"| node_preloader
node_approot -->|"renders"| node_navbar
node_approot -->|"renders"| node_scrolltop
node_approot -->|"renders"| node_footer
node_approot -->|"renders"| node_hero
node_approot -->|"renders"| node_about
node_approot -->|"renders"| node_projects
node_approot -->|"renders"| node_skills
node_approot -->|"renders"| node_coding
node_approot -->|"renders"| node_experience
node_approot -->|"renders"| node_certifications
node_approot -->|"renders"| node_achievements
node_approot -->|"renders"| node_education
node_approot -->|"renders"| node_contact
node_approot -->|"wraps sections"| node_scrollreveal
node_projects -->|"opens details"| node_projectmodal
node_projects -->|"reads projects"| node_data
node_skills -->|"reads skills"| node_data
node_coding -->|"reads profiles"| node_data
node_experience -->|"reads experience"| node_data
node_certifications -->|"reads credentials"| node_data
node_achievements -->|"reads achievements"| node_data
node_education -->|"reads education"| node_data
node_footer -->|"reads profile links"| node_data
node_navbar -->|"reads navigation links"| node_data
node_navbar -->|"links resume"| node_resume
node_hero -->|"links resume"| node_resume
node_about -->|"links resume"| node_resume
node_about -->|"uses header"| node_sectionheader
node_contact -->|"uses header"| node_sectionheader
node_skills -->|"uses header"| node_sectionheader
node_experience -->|"uses header"| node_sectionheader
node_education -->|"uses header"| node_sectionheader
node_education -->|"renders items"| node_timeline
node_projects -->|"uses badges"| node_badge

click node_mount "https://github.com/saikriz898/sai-web-canvas/blob/main/src/main.tsx"
click node_approot "https://github.com/saikriz898/sai-web-canvas/blob/main/src/App.tsx"
click node_preloader "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/layout/Preloader.tsx"
click node_navbar "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/layout/Navbar.tsx"
click node_scrolltop "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/layout/ScrollToTop.tsx"
click node_footer "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/layout/Footer.tsx"
click node_hero "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Hero.tsx"
click node_about "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/About.tsx"
click node_projects "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Projects.tsx"
click node_projectmodal "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/ProjectModal.tsx"
click node_skills "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Skills.tsx"
click node_coding "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/CodingProfiles.tsx"
click node_experience "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Experience.tsx"
click node_certifications "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Certifications.tsx"
click node_achievements "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Achievements.tsx"
click node_education "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Education.tsx"
click node_contact "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Contact.tsx"
click node_data "https://github.com/saikriz898/sai-web-canvas/blob/main/src/data/portfolioData.ts"
click node_resume "https://github.com/saikriz898/sai-web-canvas/blob/main/src/assets/Sai_Krishnan_S_Resume.pdf"
click node_sectionheader "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/ui/SectionHeader.tsx"
click node_timeline "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/ui/TimelineItem.tsx"
click node_scrollreveal "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/ui/ScrollReveal.tsx"
click node_badge "https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/ui/Badge.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_mount,node_approot,node_preloader,node_navbar,node_scrolltop,node_footer toneBlue
class node_hero,node_about,node_projects,node_projectmodal,node_skills,node_coding,node_experience,node_certifications,node_achievements,node_education,node_contact toneAmber
class node_data,node_resume toneMint
class node_sectionheader,node_timeline,node_scrollreveal,node_badge toneRose
class node_visitor toneIndigo
```

## Components

### Application shell

- [React mount](https://github.com/saikriz898/sai-web-canvas/blob/main/src/main.tsx): `src/main.tsx`
- [Portfolio app](https://github.com/saikriz898/sai-web-canvas/blob/main/src/App.tsx): `src/App.tsx`
- [Preloader](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/layout/Preloader.tsx): `src/components/layout/Preloader.tsx`
- [Navigation](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/layout/Navbar.tsx): `src/components/layout/Navbar.tsx`
- [Scroll to top](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/layout/ScrollToTop.tsx): `src/components/layout/ScrollToTop.tsx`
- [Footer](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/layout/Footer.tsx): `src/components/layout/Footer.tsx`

### Portfolio sections

- [Hero](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Hero.tsx): `src/components/sections/Hero.tsx`
- [About](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/About.tsx): `src/components/sections/About.tsx`
- [Projects](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Projects.tsx): `src/components/sections/Projects.tsx`
- [Project details](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/ProjectModal.tsx): `src/components/sections/ProjectModal.tsx`
- [Skills](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Skills.tsx): `src/components/sections/Skills.tsx`
- [Coding profiles](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/CodingProfiles.tsx): `src/components/sections/CodingProfiles.tsx`
- [Experience](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Experience.tsx): `src/components/sections/Experience.tsx`
- [Certifications](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Certifications.tsx): `src/components/sections/Certifications.tsx`
- [Achievements](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Achievements.tsx): `src/components/sections/Achievements.tsx`
- [Education](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Education.tsx): `src/components/sections/Education.tsx`
- [Contact](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/sections/Contact.tsx): `src/components/sections/Contact.tsx`

### Profile records

- [Portfolio data](https://github.com/saikriz898/sai-web-canvas/blob/main/src/data/portfolioData.ts): `src/data/portfolioData.ts`
- [Resume PDF](https://github.com/saikriz898/sai-web-canvas/blob/main/src/assets/Sai_Krishnan_S_Resume.pdf): `src/assets/Sai_Krishnan_S_Resume.pdf`

### Shared presentation

- [Section header](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/ui/SectionHeader.tsx): `src/components/ui/SectionHeader.tsx`
- [Timeline item](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/ui/TimelineItem.tsx): `src/components/ui/TimelineItem.tsx`
- [Scroll reveal](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/ui/ScrollReveal.tsx): `src/components/ui/ScrollReveal.tsx`
- [Badge](https://github.com/saikriz898/sai-web-canvas/blob/main/src/components/ui/Badge.tsx): `src/components/ui/Badge.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → React mount: opens (evidence: `src/main.tsx`)
- React mount → Portfolio app: renders (evidence: `src/main.tsx`)
- Portfolio app → Preloader: shows (evidence: `src/App.tsx`)
- Portfolio app → Navigation: renders (evidence: `src/App.tsx`)
- Portfolio app → Scroll to top: renders (evidence: `src/App.tsx`)
- Portfolio app → Footer: renders (evidence: `src/App.tsx`)
- Portfolio app → Hero: renders (evidence: `src/App.tsx`)
- Portfolio app → About: renders (evidence: `src/App.tsx`)
- Portfolio app → Projects: renders (evidence: `src/App.tsx`)
- Portfolio app → Skills: renders (evidence: `src/App.tsx`)
- Portfolio app → Coding profiles: renders (evidence: `src/App.tsx`)
- Portfolio app → Experience: renders (evidence: `src/App.tsx`)
- Portfolio app → Certifications: renders (evidence: `src/App.tsx`)
- Portfolio app → Achievements: renders (evidence: `src/App.tsx`)
- Portfolio app → Education: renders (evidence: `src/App.tsx`)
- Portfolio app → Contact: renders (evidence: `src/App.tsx`)
- Portfolio app → Scroll reveal: wraps sections (evidence: `src/App.tsx`)
- Projects → Project details: opens details (evidence: `src/components/sections/Projects.tsx`)
- Projects → Portfolio data: reads projects (evidence: `src/components/sections/Projects.tsx`)
- Skills → Portfolio data: reads skills (evidence: `src/components/sections/Skills.tsx`)
- Coding profiles → Portfolio data: reads profiles (evidence: `src/components/sections/CodingProfiles.tsx`)
- Experience → Portfolio data: reads experience (evidence: `src/components/sections/Experience.tsx`)
- Certifications → Portfolio data: reads credentials (evidence: `src/components/sections/Certifications.tsx`)
- Achievements → Portfolio data: reads achievements (evidence: `src/components/sections/Achievements.tsx`)
- Education → Portfolio data: reads education (evidence: `src/components/sections/Education.tsx`)
- Footer → Portfolio data: reads profile links (evidence: `src/components/layout/Footer.tsx`)
- Navigation → Portfolio data: reads navigation links (evidence: `src/components/layout/Navbar.tsx`)
- Navigation → Resume PDF: links resume (evidence: `src/components/layout/Navbar.tsx`)
- Hero → Resume PDF: links resume (evidence: `src/components/sections/Hero.tsx`)
- About → Resume PDF: links resume (evidence: `src/components/sections/About.tsx`)
- About → Section header: uses header (evidence: `src/components/sections/About.tsx`)
- Contact → Section header: uses header (evidence: `src/components/sections/Contact.tsx`)
- Skills → Section header: uses header (evidence: `src/components/sections/Skills.tsx`)
- Experience → Section header: uses header (evidence: `src/components/sections/Experience.tsx`)
- Education → Section header: uses header (evidence: `src/components/sections/Education.tsx`)
- Education → Timeline item: renders items (evidence: `src/components/sections/Education.tsx`)
- Projects → Badge: uses badges (evidence: `src/components/sections/Projects.tsx`)
