# apsariudithara/kurulu-drives architecture

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

- Interactive diagram: https://gitdiagram.com/apsariudithara/kurulu-drives
- Repository: https://github.com/apsariudithara/kurulu-drives

## Overview

Kurulu Drives is a static marketing and travel-information site for a demo private-driver and tour service. Travellers browse service and pricing information, compare itineraries, and consult practical travel guides; shared page presentation and structured metadata support those answers. Separate discovery files expose crawler policies and an experimental AI-readable index. The README documents the shared layout and data-driven pages; sampled source confirms the business, itinerary, schema, and text-endpoint data dependencies. Other page-level wiring was not sampled, so the graph omits uncertain calls.

Main entry points: [`src/layouts/Base.astro`](https://github.com/apsariudithara/kurulu-drives/blob/main/src/layouts/Base.astro) (Base layout), [`src/data/site.ts`](https://github.com/apsariudithara/kurulu-drives/blob/main/src/data/site.ts) (Business details), [`src/data/tours.ts`](https://github.com/apsariudithara/kurulu-drives/blob/main/src/data/tours.ts) (Tour itineraries), [`src/pages/index.astro`](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/index.astro) (Home page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Travel content"]
  node_home["Home page<br/>[index.astro]"]
  node_pricing["Pricing page<br/>[pricing.astro]"]
  node_business["About page<br/>[about.astro]"]
  node_faq["FAQ page<br/>[faq.astro]"]
  node_tour_index["Tour overview<br/>[index.astro]"]
  node_tour_detail["Tour itineraries<br/>[&#91;slug&#93;.astro]"]
  node_guide_index["Guide overview<br/>[index.astro]"]
  node_airport_guide["Airport guide"]
  node_transport_guide["Transport guide"]
  node_tipping_guide["Tipping guide"]
end

subgraph group_shared["Shared presentation"]
  node_site_data["Business details<br/>[site.ts]"]
  node_tour_data["Tour itineraries<br/>[tours.ts]"]
  node_photo_data["Photo catalogue<br/>[photos.ts]"]
  node_base_layout["Base layout<br/>[Base.astro]"]
  node_page_components["Page components"]
  node_schema["JSON-LD builders<br/>[schema.ts]"]
end

subgraph group_discovery["Search discovery"]
  node_robots["Crawler policy<br/>[robots.txt.ts]"]
  node_llms["AI-readable index<br/>[llms.txt.ts]"]
  node_sitemap["Sitemap generation<br/>[astro.config.mjs]"]
end

node_traveller(("Traveller"))

node_traveller -->|"browses"| node_home
node_traveller -->|"checks rates"| node_pricing
node_traveller -->|"compares tours"| node_tour_index
node_traveller -->|"finds guides"| node_guide_index
node_site_data -->|"supplies business data"| node_schema
node_tour_data -->|"supplies tour data"| node_schema
node_tour_data -->|"types photo keys"| node_photo_data
node_site_data -->|"supplies business details"| node_llms
node_tour_data -->|"lists tours"| node_llms
node_site_data -->|"sets last-modified date"| node_sitemap
node_base_layout -->|"uses shared components"| node_page_components
node_home -->|"uses shared layout"| node_base_layout
node_pricing -->|"uses shared layout"| node_base_layout
node_tour_index -->|"uses shared layout"| node_base_layout
node_tour_detail -->|"uses shared layout"| node_base_layout
node_guide_index -->|"uses shared layout"| node_base_layout
node_robots -->|"advertises sitemap"| node_sitemap

click node_home "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/index.astro"
click node_pricing "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/pricing.astro"
click node_business "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/about.astro"
click node_faq "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/faq.astro"
click node_tour_index "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/tours/index.astro"
click node_tour_detail "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/tours/%5Bslug%5D.astro"
click node_guide_index "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/guides/index.astro"
click node_airport_guide "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/guides/airport-transfers.astro"
click node_transport_guide "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/guides/driver-vs-train.astro"
click node_tipping_guide "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/guides/tipping-and-driver-costs.astro"
click node_site_data "https://github.com/apsariudithara/kurulu-drives/blob/main/src/data/site.ts"
click node_tour_data "https://github.com/apsariudithara/kurulu-drives/blob/main/src/data/tours.ts"
click node_photo_data "https://github.com/apsariudithara/kurulu-drives/blob/main/src/data/photos.ts"
click node_base_layout "https://github.com/apsariudithara/kurulu-drives/blob/main/src/layouts/Base.astro"
click node_page_components "https://github.com/apsariudithara/kurulu-drives/tree/main/src/components"
click node_schema "https://github.com/apsariudithara/kurulu-drives/blob/main/src/lib/schema.ts"
click node_robots "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/robots.txt.ts"
click node_llms "https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/llms.txt.ts"
click node_sitemap "https://github.com/apsariudithara/kurulu-drives/blob/main/astro.config.mjs"

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_pricing,node_business,node_faq,node_tour_index,node_tour_detail,node_guide_index,node_airport_guide,node_transport_guide,node_tipping_guide toneBlue
class node_site_data,node_tour_data,node_photo_data,node_base_layout,node_page_components,node_schema toneAmber
class node_robots,node_llms,node_sitemap toneMint
class node_traveller toneIndigo
```

## Components

### Travel content

- [Home page](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [Pricing page](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/pricing.astro): `src/pages/pricing.astro`
- [About page](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/about.astro): `src/pages/about.astro`
- [FAQ page](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/faq.astro): `src/pages/faq.astro`
- [Tour overview](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/tours/index.astro): `src/pages/tours/index.astro`
- [Tour itineraries](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/tours/%5Bslug%5D.astro): `src/pages/tours/[slug].astro`
- [Guide overview](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/guides/index.astro): `src/pages/guides/index.astro`
- [Airport guide](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/guides/airport-transfers.astro): `src/pages/guides/airport-transfers.astro`
- [Transport guide](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/guides/driver-vs-train.astro): `src/pages/guides/driver-vs-train.astro`
- [Tipping guide](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/guides/tipping-and-driver-costs.astro): `src/pages/guides/tipping-and-driver-costs.astro`

### Shared presentation

- [Business details](https://github.com/apsariudithara/kurulu-drives/blob/main/src/data/site.ts): `src/data/site.ts`
- [Tour itineraries](https://github.com/apsariudithara/kurulu-drives/blob/main/src/data/tours.ts): `src/data/tours.ts`
- [Photo catalogue](https://github.com/apsariudithara/kurulu-drives/blob/main/src/data/photos.ts): `src/data/photos.ts`
- [Base layout](https://github.com/apsariudithara/kurulu-drives/blob/main/src/layouts/Base.astro): `src/layouts/Base.astro`
- [Page components](https://github.com/apsariudithara/kurulu-drives/tree/main/src/components): `src/components`
- [JSON-LD builders](https://github.com/apsariudithara/kurulu-drives/blob/main/src/lib/schema.ts): `src/lib/schema.ts`

### Search discovery

- [Crawler policy](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/robots.txt.ts): `src/pages/robots.txt.ts`
- [AI-readable index](https://github.com/apsariudithara/kurulu-drives/blob/main/src/pages/llms.txt.ts): `src/pages/llms.txt.ts`
- [Sitemap generation](https://github.com/apsariudithara/kurulu-drives/blob/main/astro.config.mjs): `astro.config.mjs`

### Other components

- **Traveller**

## Connections

- Traveller → Home page: browses (evidence: `README.md`)
- Traveller → Pricing page: checks rates (evidence: `README.md`)
- Traveller → Tour overview: compares tours (evidence: `README.md`)
- Traveller → Guide overview: finds guides (evidence: `README.md`)
- Business details → JSON-LD builders: supplies business data (evidence: `src/lib/schema.ts`)
- Tour itineraries → JSON-LD builders: supplies tour data (evidence: `src/lib/schema.ts`)
- Tour itineraries → Photo catalogue: types photo keys (evidence: `src/data/tours.ts`)
- Business details → AI-readable index: supplies business details (evidence: `src/pages/llms.txt.ts`)
- Tour itineraries → AI-readable index: lists tours (evidence: `src/pages/llms.txt.ts`)
- Business details → Sitemap generation: sets last-modified date (evidence: `astro.config.mjs`)
- Base layout → Page components: uses shared components (evidence: `README.md`)
- Home page → Base layout: uses shared layout (evidence: `README.md`)
- Pricing page → Base layout: uses shared layout (evidence: `README.md`)
- Tour overview → Base layout: uses shared layout (evidence: `README.md`)
- Tour itineraries → Base layout: uses shared layout (evidence: `README.md`)
- Guide overview → Base layout: uses shared layout (evidence: `README.md`)
- Crawler policy → Sitemap generation: advertises sitemap (evidence: `src/pages/robots.txt.ts`)
