# jaishankar-2003/jspcs-site architecture

> Architecture diagram of the GitHub repository jaishankar-2003/jspcs-site, 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/jaishankar-2003/jspcs-site
- Repository: https://github.com/jaishankar-2003/jspcs-site

## Overview

Jai Shankar PC Services is a Next.js marketing and local-search website for computer repair, upgrades, PC builds, and IT support in Madurai, with service landing pages and repair/build articles. The main visitor journey is the home page’s service and contact content, or a search landing on a dedicated service/article page, followed by contact through phone or WhatsApp. Shared layouts present the landing pages; navigation data and SEO utilities support discovery and metadata/schema. The README documents additional responsive design, animation, testimonials, and map capabilities; unsampled components are represented without inferring their internal behavior.

Main entry points: [`app/page.tsx`](https://github.com/jaishankar-2003/jspcs-site/blob/main/app/page.tsx) (Home page), [`components/LocalSEOPageLayout.tsx`](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/LocalSEOPageLayout.tsx) (Local service layout), [`app`](https://github.com/jaishankar-2003/jspcs-site/tree/main/app) (Service pages), [`app/blog`](https://github.com/jaishankar-2003/jspcs-site/tree/main/app/blog) (Blog articles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Site entry and routes"]
  node_home["Home page<br/>[page.tsx]"]
  node_service_routes["Service pages"]
  node_article_routes["Blog articles"]
end

subgraph group_presentation["Shared presentation"]
  node_local_layout["Local service layout"]
  node_blog_layout["Article layout<br/>[BlogPageLayout.tsx]"]
  node_navbar["Navigation bar<br/>[Navbar.tsx]"]
  node_mega_menu["Service mega menu"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_whatsapp["WhatsApp button<br/>[WhatsAppButton.tsx]"]
end

subgraph group_content["Home content"]
  node_hero["Hero section<br/>[Hero.tsx]"]
  node_about["About section<br/>[About.tsx]"]
  node_services["Services section<br/>[Services.tsx]"]
  node_service_categories["Service categories"]
  node_why_choose["Why choose us<br/>[WhyChooseUs.tsx]"]
  node_partners["Trusted partners"]
  node_licenses["Licenses and certifications"]
  node_pc_builds["PC build showcase"]
  node_latest_updates["PC updates"]
  node_testimonials["Testimonials<br/>[Testimonials.tsx]"]
  node_contact["Contact section<br/>[Contact.tsx]"]
  node_related_articles["Related articles"]
  node_related_services["Related services"]
end

subgraph group_discovery["Navigation and SEO"]
  node_navigation_data["Navigation data<br/>[navigation-data.ts]"]
  node_seo_utils["SEO utilities<br/>[seo-utils.ts]"]
end

node_visitor(("Visitor"))
node_maps["Google Maps"]

node_visitor -->|"opens"| node_home
node_visitor -->|"visits service"| node_service_routes
node_visitor -->|"reads article"| node_article_routes
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_services
node_home -->|"renders"| node_why_choose
node_home -->|"renders"| node_partners
node_home -->|"renders"| node_licenses
node_home -->|"renders"| node_pc_builds
node_home -->|"renders"| node_latest_updates
node_home -->|"renders"| node_testimonials
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_home -->|"renders"| node_whatsapp
node_home -->|"renders"| node_service_categories
node_home -->|"renders"| node_related_articles
node_service_routes -->|"uses layout"| node_local_layout
node_article_routes -->|"uses layout"| node_blog_layout
node_local_layout -->|"renders"| node_related_services
node_local_layout -->|"renders"| node_related_articles
node_service_categories -->|"reads"| node_navigation_data
node_mega_menu -->|"reads"| node_navigation_data
node_service_routes -->|"generates metadata"| node_seo_utils
node_contact -.->|"embeds"| node_maps
node_local_layout -.->|"links WhatsApp"| node_visitor

click node_home "https://github.com/jaishankar-2003/jspcs-site/blob/main/app/page.tsx"
click node_service_routes "https://github.com/jaishankar-2003/jspcs-site/tree/main/app"
click node_article_routes "https://github.com/jaishankar-2003/jspcs-site/tree/main/app/blog"
click node_local_layout "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/LocalSEOPageLayout.tsx"
click node_blog_layout "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/BlogPageLayout.tsx"
click node_navbar "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Navbar.tsx"
click node_mega_menu "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/ServiceMegaMenu.tsx"
click node_footer "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Footer.tsx"
click node_whatsapp "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/WhatsAppButton.tsx"
click node_hero "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Hero.tsx"
click node_about "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/About.tsx"
click node_services "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Services.tsx"
click node_service_categories "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/ServiceCategories.tsx"
click node_why_choose "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/WhyChooseUs.tsx"
click node_partners "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/TrustedPartners.tsx"
click node_licenses "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/LicensesCertifications.tsx"
click node_pc_builds "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/PCBuildsShowcase.tsx"
click node_latest_updates "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/LatestPCUpdates.tsx"
click node_testimonials "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Testimonials.tsx"
click node_contact "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Contact.tsx"
click node_related_articles "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/RelatedArticles.tsx"
click node_related_services "https://github.com/jaishankar-2003/jspcs-site/blob/main/components/RelatedServiceCards.tsx"
click node_navigation_data "https://github.com/jaishankar-2003/jspcs-site/blob/main/lib/navigation-data.ts"
click node_seo_utils "https://github.com/jaishankar-2003/jspcs-site/blob/main/lib/seo-utils.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_home,node_service_routes,node_article_routes toneBlue
class node_local_layout,node_blog_layout,node_navbar,node_mega_menu,node_footer,node_whatsapp toneAmber
class node_hero,node_about,node_services,node_service_categories,node_why_choose,node_partners,node_licenses,node_pc_builds,node_latest_updates,node_testimonials,node_contact,node_related_articles,node_related_services toneMint
class node_navigation_data,node_seo_utils toneRose
class node_visitor,node_maps toneIndigo
```

## Components

### Site entry and routes

- [Home page](https://github.com/jaishankar-2003/jspcs-site/blob/main/app/page.tsx): `app/page.tsx`
- [Service pages](https://github.com/jaishankar-2003/jspcs-site/tree/main/app): `app`
- [Blog articles](https://github.com/jaishankar-2003/jspcs-site/tree/main/app/blog): `app/blog`

### Shared presentation

- [Local service layout](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/LocalSEOPageLayout.tsx): `components/LocalSEOPageLayout.tsx`
- [Article layout](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/BlogPageLayout.tsx): `components/BlogPageLayout.tsx`
- [Navigation bar](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Navbar.tsx): `components/Navbar.tsx`
- [Service mega menu](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/ServiceMegaMenu.tsx): `components/ServiceMegaMenu.tsx`
- [Footer](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Footer.tsx): `components/Footer.tsx`
- [WhatsApp button](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/WhatsAppButton.tsx): `components/WhatsAppButton.tsx`

### Home content

- [Hero section](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Hero.tsx): `components/Hero.tsx`
- [About section](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/About.tsx): `components/About.tsx`
- [Services section](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Services.tsx): `components/Services.tsx`
- [Service categories](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/ServiceCategories.tsx): `components/ServiceCategories.tsx`
- [Why choose us](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/WhyChooseUs.tsx): `components/WhyChooseUs.tsx`
- [Trusted partners](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/TrustedPartners.tsx): `components/TrustedPartners.tsx`
- [Licenses and certifications](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/LicensesCertifications.tsx): `components/LicensesCertifications.tsx`
- [PC build showcase](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/PCBuildsShowcase.tsx): `components/PCBuildsShowcase.tsx`
- [PC updates](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/LatestPCUpdates.tsx): `components/LatestPCUpdates.tsx`
- [Testimonials](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Testimonials.tsx): `components/Testimonials.tsx`
- [Contact section](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/Contact.tsx): `components/Contact.tsx`
- [Related articles](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/RelatedArticles.tsx): `components/RelatedArticles.tsx`
- [Related services](https://github.com/jaishankar-2003/jspcs-site/blob/main/components/RelatedServiceCards.tsx): `components/RelatedServiceCards.tsx`

### Navigation and SEO

- [Navigation data](https://github.com/jaishankar-2003/jspcs-site/blob/main/lib/navigation-data.ts): `lib/navigation-data.ts`
- [SEO utilities](https://github.com/jaishankar-2003/jspcs-site/blob/main/lib/seo-utils.ts): `lib/seo-utils.ts`

### Other components

- **Visitor**
- **Google Maps**

## Connections

- Visitor → Home page: opens (evidence: `README.md`)
- Visitor → Service pages: visits service (evidence: `README.md`)
- Visitor → Blog articles: reads article (evidence: `README.md`)
- Home page → Navigation bar: renders (evidence: `app/page.tsx`)
- Home page → Hero section: renders (evidence: `app/page.tsx`)
- Home page → About section: renders (evidence: `app/page.tsx`)
- Home page → Services section: renders (evidence: `app/page.tsx`)
- Home page → Why choose us: renders (evidence: `app/page.tsx`)
- Home page → Trusted partners: renders (evidence: `app/page.tsx`)
- Home page → Licenses and certifications: renders (evidence: `app/page.tsx`)
- Home page → PC build showcase: renders (evidence: `app/page.tsx`)
- Home page → PC updates: renders (evidence: `app/page.tsx`)
- Home page → Testimonials: renders (evidence: `app/page.tsx`)
- Home page → Contact section: renders (evidence: `app/page.tsx`)
- Home page → Footer: renders (evidence: `app/page.tsx`)
- Home page → WhatsApp button: renders (evidence: `app/page.tsx`)
- Home page → Service categories: renders (evidence: `app/page.tsx`)
- Home page → Related articles: renders (evidence: `app/page.tsx`)
- Service pages → Local service layout: uses layout (evidence: `app/laptop-service-center-in-madurai/page.tsx`)
- Blog articles → Article layout: uses layout (evidence: `app/blog/how-to-fix-laptop-overheating/page.tsx`)
- Local service layout → Related services: renders (evidence: `components/LocalSEOPageLayout.tsx`)
- Local service layout → Related articles: renders (evidence: `components/LocalSEOPageLayout.tsx`)
- Service categories → Navigation data: reads (evidence: `components/ServiceCategories.tsx`)
- Service mega menu → Navigation data: reads (evidence: `components/ServiceMegaMenu.tsx`)
- Service pages → SEO utilities: generates metadata (evidence: `app/gaming-laptop-repair-madurai/page.tsx`)
- Contact section → Google Maps: embeds (evidence: `README.md`)
- Local service layout → Visitor: links WhatsApp (evidence: `components/LocalSEOPageLayout.tsx`)
