# jagadeesandev/windsurf-website-clone architecture

> Architecture diagram of the GitHub repository jagadeesandev/windsurf-website-clone, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jagadeesandev/windsurf-website-clone
- Repository: https://github.com/jagadeesandev/windsurf-website-clone

## Overview

This repository is a Next.js portfolio and marketing site presenting Windsurf-related work, services, technologies, and contact information. The visitor workflow is to open the home page, which assembles a sequence of informational and promotional sections, then reach contact or calls to action. The root layout also mounts visual-edit messaging and error reporting. The source excerpts establish page-to-section and layout-to-instrumentation relationships; other section internals were not sampled, so their internal behavior is not inferred.

Main entry points: [`src/app/page.tsx`](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/app/page.tsx) (Home page), [`src/app/layout.tsx`](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/app/layout.tsx) (Root layout), [`src/components/sections/experience-demo.tsx`](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/experience-demo.tsx) (Experience demo), [`src/components/sections/projects-demo.tsx`](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/projects-demo.tsx) (Projects demo)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_assembly["Page assembly"]
  node_home["Home page<br/>[page.tsx]"]
  node_layout["Root layout<br/>[layout.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_header["Header<br/>[header.tsx]"]
  node_announcement["Announcement banner"]
  node_hero["Hero section<br/>[hero.tsx]"]
  node_techstack["Tech stack<br/>[tech-stack.tsx]"]
  node_about["About intro<br/>[about-intro.tsx]"]
  node_experience["Experience demo"]
  node_projectsintro["Projects intro<br/>[projects-intro.tsx]"]
  node_projects["Projects demo<br/>[projects-demo.tsx]"]
  node_skills["Skills grid<br/>[skills-grid.tsx]"]
  node_stats["Statistics<br/>[stats.tsx]"]
  node_quote["Testimonial quote"]
  node_testimonials["Testimonials carousel"]
  node_technologies["Technologies section"]
  node_services["Services section"]
  node_contact["Contact section"]
  node_blog["Blog insights<br/>[blog-insights.tsx]"]
  node_cta["Final call to action<br/>[final-cta.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
end

subgraph group_runtime["Runtime integrations"]
  node_visual["Visual edit messenger"]
  node_errors["Error reporter<br/>[ErrorReporter.tsx]"]
end

subgraph group_ui["UI primitives"]
  node_button["Button primitive<br/>[button.tsx]"]
  node_sheet["Sheet primitive<br/>[sheet.tsx]"]
  node_sidebar["Sidebar component<br/>[sidebar.tsx]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_announcement
node_home -->|"renders"| node_header
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_techstack
node_home -->|"renders"| node_about
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_projectsintro
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_stats
node_home -->|"renders"| node_quote
node_home -->|"renders"| node_testimonials
node_home -->|"renders"| node_technologies
node_home -->|"renders"| node_services
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_blog
node_home -->|"renders"| node_cta
node_home -->|"renders"| node_footer
node_layout -->|"provides layout"| node_home
node_layout -->|"mounts"| node_visual
node_layout -->|"mounts"| node_errors
node_experience -->|"uses"| node_button
node_projects -->|"uses"| node_button
node_sidebar -->|"uses"| node_sheet

click node_home "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/app/page.tsx"
click node_header "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/header.tsx"
click node_announcement "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/announcement-banner.tsx"
click node_hero "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/hero.tsx"
click node_techstack "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/tech-stack.tsx"
click node_about "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/about-intro.tsx"
click node_experience "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/experience-demo.tsx"
click node_projectsintro "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/projects-intro.tsx"
click node_projects "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/projects-demo.tsx"
click node_skills "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/skills-grid.tsx"
click node_stats "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/stats.tsx"
click node_quote "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/testimonial-quote.tsx"
click node_testimonials "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/testimonials-carousel.tsx"
click node_technologies "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/technologies-section.tsx"
click node_services "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/services-section.tsx"
click node_contact "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/contact-section.tsx"
click node_blog "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/blog-insights.tsx"
click node_cta "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/final-cta.tsx"
click node_footer "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/footer.tsx"
click node_layout "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/app/layout.tsx"
click node_visual "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/visual-edits/VisualEditsMessenger.tsx"
click node_errors "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/ErrorReporter.tsx"
click node_button "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/ui/button.tsx"
click node_sheet "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/ui/sheet.tsx"
click node_sidebar "https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/ui/sidebar.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_home,node_layout toneBlue
class node_header,node_announcement,node_hero,node_techstack,node_about,node_experience,node_projectsintro,node_projects,node_skills,node_stats,node_quote,node_testimonials,node_technologies,node_services,node_contact,node_blog,node_cta,node_footer toneAmber
class node_visual,node_errors toneMint
class node_button,node_sheet,node_sidebar toneRose
class node_visitor toneIndigo
```

## Components

### Page assembly

- [Home page](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Root layout](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/app/layout.tsx): `src/app/layout.tsx`

### Portfolio content

- [Header](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/header.tsx): `src/components/sections/header.tsx`
- [Announcement banner](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/announcement-banner.tsx): `src/components/sections/announcement-banner.tsx`
- [Hero section](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/hero.tsx): `src/components/sections/hero.tsx`
- [Tech stack](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/tech-stack.tsx): `src/components/sections/tech-stack.tsx`
- [About intro](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/about-intro.tsx): `src/components/sections/about-intro.tsx`
- [Experience demo](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/experience-demo.tsx): `src/components/sections/experience-demo.tsx`
- [Projects intro](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/projects-intro.tsx): `src/components/sections/projects-intro.tsx`
- [Projects demo](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/projects-demo.tsx): `src/components/sections/projects-demo.tsx`
- [Skills grid](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/skills-grid.tsx): `src/components/sections/skills-grid.tsx`
- [Statistics](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/stats.tsx): `src/components/sections/stats.tsx`
- [Testimonial quote](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/testimonial-quote.tsx): `src/components/sections/testimonial-quote.tsx`
- [Testimonials carousel](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/testimonials-carousel.tsx): `src/components/sections/testimonials-carousel.tsx`
- [Technologies section](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/technologies-section.tsx): `src/components/sections/technologies-section.tsx`
- [Services section](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/services-section.tsx): `src/components/sections/services-section.tsx`
- [Contact section](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/contact-section.tsx): `src/components/sections/contact-section.tsx`
- [Blog insights](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/blog-insights.tsx): `src/components/sections/blog-insights.tsx`
- [Final call to action](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/final-cta.tsx): `src/components/sections/final-cta.tsx`
- [Footer](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/sections/footer.tsx): `src/components/sections/footer.tsx`

### Runtime integrations

- [Visual edit messenger](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/visual-edits/VisualEditsMessenger.tsx): `src/visual-edits/VisualEditsMessenger.tsx`
- [Error reporter](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/ErrorReporter.tsx): `src/components/ErrorReporter.tsx`

### UI primitives

- [Button primitive](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/ui/button.tsx): `src/components/ui/button.tsx`
- [Sheet primitive](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/ui/sheet.tsx): `src/components/ui/sheet.tsx`
- [Sidebar component](https://github.com/jagadeesandev/windsurf-website-clone/blob/main/src/components/ui/sidebar.tsx): `src/components/ui/sidebar.tsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home page: opens (evidence: `src/app/page.tsx`)
- Home page → Announcement banner: renders (evidence: `src/app/page.tsx`)
- Home page → Header: renders (evidence: `src/app/page.tsx`)
- Home page → Hero section: renders (evidence: `src/app/page.tsx`)
- Home page → Tech stack: renders (evidence: `src/app/page.tsx`)
- Home page → About intro: renders (evidence: `src/app/page.tsx`)
- Home page → Experience demo: renders (evidence: `src/app/page.tsx`)
- Home page → Projects intro: renders (evidence: `src/app/page.tsx`)
- Home page → Projects demo: renders (evidence: `src/app/page.tsx`)
- Home page → Skills grid: renders (evidence: `src/app/page.tsx`)
- Home page → Statistics: renders (evidence: `src/app/page.tsx`)
- Home page → Testimonial quote: renders (evidence: `src/app/page.tsx`)
- Home page → Testimonials carousel: renders (evidence: `src/app/page.tsx`)
- Home page → Technologies section: renders (evidence: `src/app/page.tsx`)
- Home page → Services section: renders (evidence: `src/app/page.tsx`)
- Home page → Contact section: renders (evidence: `src/app/page.tsx`)
- Home page → Blog insights: renders (evidence: `src/app/page.tsx`)
- Home page → Final call to action: renders (evidence: `src/app/page.tsx`)
- Home page → Footer: renders (evidence: `src/app/page.tsx`)
- Root layout → Home page: provides layout (evidence: `src/app/layout.tsx`)
- Root layout → Visual edit messenger: mounts (evidence: `src/app/layout.tsx`)
- Root layout → Error reporter: mounts (evidence: `src/app/layout.tsx`)
- Experience demo → Button primitive: uses (evidence: `src/components/sections/experience-demo.tsx`)
- Projects demo → Button primitive: uses (evidence: `src/components/sections/projects-demo.tsx`)
- Sidebar component → Sheet primitive: uses (evidence: `src/components/ui/sidebar.tsx`)
