# ashishjatav09/co_working architecture

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

- Interactive diagram: https://gitdiagram.com/ashishjatav09/co_working
- Repository: https://github.com/ashishjatav09/co_working

## Overview

TheOfficeOnRent is a public-facing Indore workspace and commercial-property discovery site. Visitors browse workspace categories, locations, plans, and property listings, then can view building details or submit an enquiry. The principal conversion path is the site’s listing/detail experience through LeadForm, the `/api/leads` validator, and Google Sheets. The graph preserves the major route families and sampled UI components; unsampled page implementations are represented by their exact route files, without assuming internal behavior beyond indexed references.

Main entry points: [`src/app/site.tsx`](https://github.com/ashishjatav09/co_working/blob/main/src/app/site.tsx) (Site pages and data), [`src/app/ready-to-move/[slug]/page.tsx`](https://github.com/ashishjatav09/co_working/blob/main/src/app/ready-to-move/%5Bslug%5D/page.tsx) (Ready-to-move detail), [`src/app/new-commercial-building/[slug]/page.tsx`](https://github.com/ashishjatav09/co_working/blob/main/src/app/new-commercial-building/%5Bslug%5D/page.tsx) (New building detail), [`src/app/mobile-header.tsx`](https://github.com/ashishjatav09/co_working/blob/main/src/app/mobile-header.tsx) (Mobile navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Site experience"]
  node_site["Site pages and data<br/>[site.tsx]"]
  node_home["Home<br/>[page.tsx]"]
  node_company["About us<br/>[page.tsx]"]
  node_contact["Contact<br/>[page.tsx]"]
  node_mobile_header["Mobile navigation<br/>[mobile-header.tsx]"]
  node_navigation["Navigation categories<br/>[navigation.ts]"]
  node_site_footer["Site footer<br/>[SiteFooter.tsx]"]
  node_mobile_testimonials["Testimonials"]
  node_landing_section["Coworking landing"]
  node_video["Workspace video"]
  node_section_nav["Section navigation"]
  node_coworking_css["Landing styles"]
end

subgraph group_discovery["Workspace discovery"]
  node_spaces["Spaces<br/>[page.tsx]"]
  node_amenities["Amenities<br/>[page.tsx]"]
  node_locations["Locations<br/>[page.tsx]"]
  node_gallery["Gallery<br/>[page.tsx]"]
  node_plans["Plans and pricing<br/>[page.tsx]"]
  node_pricing["Pricing<br/>[page.tsx]"]
  node_retail["Retail spaces<br/>[page.tsx]"]
  node_hostels["Hostels<br/>[page.tsx]"]
  node_hotels["Hotels<br/>[page.tsx]"]
  node_locations_carousel["Locations carousel"]
end

subgraph group_properties["Property listings"]
  node_ready_list["Ready-to-move listings<br/>[page.tsx]"]
  node_ready_detail["Ready-to-move detail<br/>[page.tsx]"]
  node_building_card["Building card<br/>[BuildingCard.tsx]"]
  node_image_carousel["Image carousel<br/>[image-carousel.tsx]"]
  node_new_list["New building listings<br/>[page.tsx]"]
  node_new_detail["New building detail<br/>[page.tsx]"]
  node_back_button["Back button<br/>[BackButton.tsx]"]
end

subgraph group_leads["Lead capture"]
  node_lead_form["Lead form<br/>[lead-form.tsx]"]
  node_lead_api["Lead validation API<br/>[route.ts]"]
  node_sheet_writer["Sheets writer<br/>[google-sheet.ts]"]
  node_sheets[("Google Sheets")]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_home
node_home -->|"exports page"| node_site
node_company -->|"exports page"| node_site
node_retail -->|"exports page"| node_site
node_new_list -->|"exports page"| node_site
node_spaces -->|"uses pages"| node_site
node_amenities -->|"uses pages"| node_site
node_locations -->|"uses pages"| node_site
node_gallery -->|"uses pages"| node_site
node_plans -->|"uses pages"| node_site
node_pricing -->|"uses pages"| node_site
node_hostels -->|"uses pages"| node_site
node_hotels -->|"uses pages"| node_site
node_contact -->|"uses pages"| node_site
node_ready_list -->|"uses property data"| node_site
node_ready_detail -->|"gets building data"| node_site
node_new_detail -->|"gets building data"| node_site
node_site -->|"renders cards"| node_building_card
node_site -->|"renders form"| node_lead_form
node_site -->|"renders navigation"| node_mobile_header
node_site -->|"renders footer"| node_site_footer
node_site -->|"renders testimonials"| node_mobile_testimonials
node_site -->|"renders section"| node_landing_section
node_site -->|"renders carousel"| node_locations_carousel
node_site -->|"renders video"| node_video
node_site -->|"renders navigation"| node_section_nav
node_landing_section -->|"uses styles"| node_coworking_css
node_ready_detail -->|"renders carousel"| node_image_carousel
node_ready_detail -->|"renders form"| node_lead_form
node_ready_detail -->|"renders navigation"| node_mobile_header
node_ready_detail -->|"renders control"| node_back_button
node_ready_detail -->|"renders footer"| node_site_footer
node_new_detail -->|"uses form"| node_lead_form
node_new_detail -->|"renders navigation"| node_mobile_header
node_new_detail -->|"renders control"| node_back_button
node_new_detail -->|"renders footer"| node_site_footer
node_mobile_header -->|"uses categories"| node_navigation
node_lead_form -->|"submits lead"| node_lead_api
node_lead_api -->|"appends lead"| node_sheet_writer
node_sheet_writer -->|"writes rows"| node_sheets

click node_site "https://github.com/ashishjatav09/co_working/blob/main/src/app/site.tsx"
click node_home "https://github.com/ashishjatav09/co_working/blob/main/src/app/page.tsx"
click node_company "https://github.com/ashishjatav09/co_working/blob/main/src/app/about-us/page.tsx"
click node_spaces "https://github.com/ashishjatav09/co_working/blob/main/src/app/spaces/page.tsx"
click node_amenities "https://github.com/ashishjatav09/co_working/blob/main/src/app/amenities/page.tsx"
click node_locations "https://github.com/ashishjatav09/co_working/blob/main/src/app/locations/page.tsx"
click node_gallery "https://github.com/ashishjatav09/co_working/blob/main/src/app/gallery/page.tsx"
click node_plans "https://github.com/ashishjatav09/co_working/blob/main/src/app/plans/page.tsx"
click node_pricing "https://github.com/ashishjatav09/co_working/blob/main/src/app/pricing/page.tsx"
click node_retail "https://github.com/ashishjatav09/co_working/blob/main/src/app/retail-shops-showrooms/page.tsx"
click node_hostels "https://github.com/ashishjatav09/co_working/blob/main/src/app/hostels/page.tsx"
click node_hotels "https://github.com/ashishjatav09/co_working/blob/main/src/app/hotels/page.tsx"
click node_contact "https://github.com/ashishjatav09/co_working/blob/main/src/app/contact/page.tsx"
click node_ready_list "https://github.com/ashishjatav09/co_working/blob/main/src/app/ready-to-move/page.tsx"
click node_ready_detail "https://github.com/ashishjatav09/co_working/blob/main/src/app/ready-to-move/%5Bslug%5D/page.tsx"
click node_building_card "https://github.com/ashishjatav09/co_working/blob/main/src/app/ready-to-move/BuildingCard.tsx"
click node_image_carousel "https://github.com/ashishjatav09/co_working/blob/main/src/app/ready-to-move/%5Bslug%5D/image-carousel.tsx"
click node_new_list "https://github.com/ashishjatav09/co_working/blob/main/src/app/new-commercial-building/page.tsx"
click node_new_detail "https://github.com/ashishjatav09/co_working/blob/main/src/app/new-commercial-building/%5Bslug%5D/page.tsx"
click node_lead_form "https://github.com/ashishjatav09/co_working/blob/main/src/app/lead-form.tsx"
click node_lead_api "https://github.com/ashishjatav09/co_working/blob/main/src/app/api/leads/route.ts"
click node_sheet_writer "https://github.com/ashishjatav09/co_working/blob/main/src/app/api/leads/google-sheet.ts"
click node_mobile_header "https://github.com/ashishjatav09/co_working/blob/main/src/app/mobile-header.tsx"
click node_navigation "https://github.com/ashishjatav09/co_working/blob/main/src/app/navigation.ts"
click node_site_footer "https://github.com/ashishjatav09/co_working/blob/main/src/app/components/SiteFooter.tsx"
click node_mobile_testimonials "https://github.com/ashishjatav09/co_working/blob/main/src/app/mobile-testimonials.tsx"
click node_landing_section "https://github.com/ashishjatav09/co_working/blob/main/src/app/CoworkingLandingSection.tsx"
click node_locations_carousel "https://github.com/ashishjatav09/co_working/blob/main/src/app/locations-carousel.tsx"
click node_video "https://github.com/ashishjatav09/co_working/blob/main/src/app/workspace-video.tsx"
click node_section_nav "https://github.com/ashishjatav09/co_working/blob/main/src/app/active-section-nav.tsx"
click node_back_button "https://github.com/ashishjatav09/co_working/blob/main/src/app/components/BackButton.tsx"
click node_coworking_css "https://github.com/ashishjatav09/co_working/blob/main/src/app/coworking-landing.css"

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_site,node_home,node_company,node_contact,node_mobile_header,node_navigation,node_site_footer,node_mobile_testimonials,node_landing_section,node_video,node_section_nav,node_coworking_css toneBlue
class node_spaces,node_amenities,node_locations,node_gallery,node_plans,node_pricing,node_retail,node_hostels,node_hotels,node_locations_carousel toneAmber
class node_ready_list,node_ready_detail,node_building_card,node_image_carousel,node_new_list,node_new_detail,node_back_button toneMint
class node_lead_form,node_lead_api,node_sheet_writer,node_sheets toneRose
class node_visitor toneIndigo
```

## Components

### Site experience

- [Site pages and data](https://github.com/ashishjatav09/co_working/blob/main/src/app/site.tsx): `src/app/site.tsx`
- [Home](https://github.com/ashishjatav09/co_working/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [About us](https://github.com/ashishjatav09/co_working/blob/main/src/app/about-us/page.tsx): `src/app/about-us/page.tsx`
- [Contact](https://github.com/ashishjatav09/co_working/blob/main/src/app/contact/page.tsx): `src/app/contact/page.tsx`
- [Mobile navigation](https://github.com/ashishjatav09/co_working/blob/main/src/app/mobile-header.tsx): `src/app/mobile-header.tsx`
- [Navigation categories](https://github.com/ashishjatav09/co_working/blob/main/src/app/navigation.ts): `src/app/navigation.ts`
- [Site footer](https://github.com/ashishjatav09/co_working/blob/main/src/app/components/SiteFooter.tsx): `src/app/components/SiteFooter.tsx`
- [Testimonials](https://github.com/ashishjatav09/co_working/blob/main/src/app/mobile-testimonials.tsx): `src/app/mobile-testimonials.tsx`
- [Coworking landing](https://github.com/ashishjatav09/co_working/blob/main/src/app/CoworkingLandingSection.tsx): `src/app/CoworkingLandingSection.tsx`
- [Workspace video](https://github.com/ashishjatav09/co_working/blob/main/src/app/workspace-video.tsx): `src/app/workspace-video.tsx`
- [Section navigation](https://github.com/ashishjatav09/co_working/blob/main/src/app/active-section-nav.tsx): `src/app/active-section-nav.tsx`
- [Landing styles](https://github.com/ashishjatav09/co_working/blob/main/src/app/coworking-landing.css): `src/app/coworking-landing.css`

### Workspace discovery

- [Spaces](https://github.com/ashishjatav09/co_working/blob/main/src/app/spaces/page.tsx): `src/app/spaces/page.tsx`
- [Amenities](https://github.com/ashishjatav09/co_working/blob/main/src/app/amenities/page.tsx): `src/app/amenities/page.tsx`
- [Locations](https://github.com/ashishjatav09/co_working/blob/main/src/app/locations/page.tsx): `src/app/locations/page.tsx`
- [Gallery](https://github.com/ashishjatav09/co_working/blob/main/src/app/gallery/page.tsx): `src/app/gallery/page.tsx`
- [Plans and pricing](https://github.com/ashishjatav09/co_working/blob/main/src/app/plans/page.tsx): `src/app/plans/page.tsx`
- [Pricing](https://github.com/ashishjatav09/co_working/blob/main/src/app/pricing/page.tsx): `src/app/pricing/page.tsx`
- [Retail spaces](https://github.com/ashishjatav09/co_working/blob/main/src/app/retail-shops-showrooms/page.tsx): `src/app/retail-shops-showrooms/page.tsx`
- [Hostels](https://github.com/ashishjatav09/co_working/blob/main/src/app/hostels/page.tsx): `src/app/hostels/page.tsx`
- [Hotels](https://github.com/ashishjatav09/co_working/blob/main/src/app/hotels/page.tsx): `src/app/hotels/page.tsx`
- [Locations carousel](https://github.com/ashishjatav09/co_working/blob/main/src/app/locations-carousel.tsx): `src/app/locations-carousel.tsx`

### Property listings

- [Ready-to-move listings](https://github.com/ashishjatav09/co_working/blob/main/src/app/ready-to-move/page.tsx): `src/app/ready-to-move/page.tsx`
- [Ready-to-move detail](https://github.com/ashishjatav09/co_working/blob/main/src/app/ready-to-move/%5Bslug%5D/page.tsx): `src/app/ready-to-move/[slug]/page.tsx`
- [Building card](https://github.com/ashishjatav09/co_working/blob/main/src/app/ready-to-move/BuildingCard.tsx): `src/app/ready-to-move/BuildingCard.tsx`
- [Image carousel](https://github.com/ashishjatav09/co_working/blob/main/src/app/ready-to-move/%5Bslug%5D/image-carousel.tsx): `src/app/ready-to-move/[slug]/image-carousel.tsx`
- [New building listings](https://github.com/ashishjatav09/co_working/blob/main/src/app/new-commercial-building/page.tsx): `src/app/new-commercial-building/page.tsx`
- [New building detail](https://github.com/ashishjatav09/co_working/blob/main/src/app/new-commercial-building/%5Bslug%5D/page.tsx): `src/app/new-commercial-building/[slug]/page.tsx`
- [Back button](https://github.com/ashishjatav09/co_working/blob/main/src/app/components/BackButton.tsx): `src/app/components/BackButton.tsx`

### Lead capture

- [Lead form](https://github.com/ashishjatav09/co_working/blob/main/src/app/lead-form.tsx): `src/app/lead-form.tsx`
- [Lead validation API](https://github.com/ashishjatav09/co_working/blob/main/src/app/api/leads/route.ts): `src/app/api/leads/route.ts`
- [Sheets writer](https://github.com/ashishjatav09/co_working/blob/main/src/app/api/leads/google-sheet.ts): `src/app/api/leads/google-sheet.ts`
- **Google Sheets**

### Other components

- **Visitor**

## Connections

- Visitor → Home: opens site (evidence: `README.md`)
- Home → Site pages and data: exports page (evidence: `src/app/page.tsx`)
- About us → Site pages and data: exports page (evidence: `src/app/about-us/page.tsx`)
- Retail spaces → Site pages and data: exports page (evidence: `src/app/retail-shops-showrooms/page.tsx`)
- New building listings → Site pages and data: exports page (evidence: `src/app/new-commercial-building/page.tsx`)
- Spaces → Site pages and data: uses pages (evidence: `src/app/spaces/page.tsx`)
- Amenities → Site pages and data: uses pages (evidence: `src/app/amenities/page.tsx`)
- Locations → Site pages and data: uses pages (evidence: `src/app/locations/page.tsx`)
- Gallery → Site pages and data: uses pages (evidence: `src/app/gallery/page.tsx`)
- Plans and pricing → Site pages and data: uses pages (evidence: `src/app/plans/page.tsx`)
- Pricing → Site pages and data: uses pages (evidence: `src/app/pricing/page.tsx`)
- Hostels → Site pages and data: uses pages (evidence: `src/app/hostels/page.tsx`)
- Hotels → Site pages and data: uses pages (evidence: `src/app/hotels/page.tsx`)
- Contact → Site pages and data: uses pages (evidence: `src/app/contact/page.tsx`)
- Ready-to-move listings → Site pages and data: uses property data (evidence: `src/app/ready-to-move/page.tsx`)
- Ready-to-move detail → Site pages and data: gets building data (evidence: `src/app/ready-to-move/[slug]/page.tsx`)
- New building detail → Site pages and data: gets building data (evidence: `src/app/new-commercial-building/[slug]/page.tsx`)
- Site pages and data → Building card: renders cards (evidence: `src/app/site.tsx`)
- Site pages and data → Lead form: renders form (evidence: `src/app/site.tsx`)
- Site pages and data → Mobile navigation: renders navigation (evidence: `src/app/site.tsx`)
- Site pages and data → Site footer: renders footer (evidence: `src/app/site.tsx`)
- Site pages and data → Testimonials: renders testimonials (evidence: `src/app/site.tsx`)
- Site pages and data → Coworking landing: renders section (evidence: `src/app/site.tsx`)
- Site pages and data → Locations carousel: renders carousel (evidence: `src/app/site.tsx`)
- Site pages and data → Workspace video: renders video (evidence: `src/app/site.tsx`)
- Site pages and data → Section navigation: renders navigation (evidence: `src/app/site.tsx`)
- Coworking landing → Landing styles: uses styles (evidence: `src/app/CoworkingLandingSection.tsx`)
- Ready-to-move detail → Image carousel: renders carousel (evidence: `src/app/ready-to-move/[slug]/page.tsx`)
- Ready-to-move detail → Lead form: renders form (evidence: `src/app/ready-to-move/[slug]/page.tsx`)
- Ready-to-move detail → Mobile navigation: renders navigation (evidence: `src/app/ready-to-move/[slug]/page.tsx`)
- Ready-to-move detail → Back button: renders control (evidence: `src/app/ready-to-move/[slug]/page.tsx`)
- Ready-to-move detail → Site footer: renders footer (evidence: `src/app/ready-to-move/[slug]/page.tsx`)
- New building detail → Lead form: uses form (evidence: `src/app/new-commercial-building/[slug]/page.tsx`)
- New building detail → Mobile navigation: renders navigation (evidence: `src/app/new-commercial-building/[slug]/page.tsx`)
- New building detail → Back button: renders control (evidence: `src/app/new-commercial-building/[slug]/page.tsx`)
- New building detail → Site footer: renders footer (evidence: `src/app/new-commercial-building/[slug]/page.tsx`)
- Mobile navigation → Navigation categories: uses categories (evidence: `src/app/mobile-header.tsx`)
- Lead form → Lead validation API: submits lead (evidence: `src/app/lead-form.tsx`)
- Lead validation API → Sheets writer: appends lead (evidence: `src/app/api/leads/route.ts`)
- Sheets writer → Google Sheets: writes rows (evidence: `README.md`)
