# kostachorobenski/callistetravel architecture

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

- Interactive diagram: https://gitdiagram.com/kostachorobenski/callistetravel
- Repository: https://github.com/kostachorobenski/callistetravel

## Overview

Calliste Travel is a responsive travel-discovery website. Visitors explore curated destinations through a catalogue, filters and map, open destination details, then can start an inquiry that prefills the contact form; separate routes serve travel stories, agency information and contact details. Route components assemble presentation features from local content data, while the shared layout provides navigation and site-wide controls. The README documents translation, maps, cookie preferences and metadata; unsampled implementation details are represented only where documented.

Main entry points: [`src/App.tsx`](https://github.com/kostachorobenski/callistetravel/blob/main/src/App.tsx) (Route application), [`src/pages/Destination.tsx`](https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Destination.tsx) (Destination details), [`src/pages/Contact.tsx`](https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Contact.tsx) (Contact page), [`src/data/destinations.ts`](https://github.com/kostachorobenski/callistetravel/blob/main/src/data/destinations.ts) (Destination content)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routes["Routes and pages"]
  node_app["Route application<br/>[App.tsx]"]
  node_home["Home page<br/>[Home.tsx]"]
  node_catalog["Destination catalogue<br/>[Destinations.tsx]"]
  node_destination["Destination details<br/>[Destination.tsx]"]
  node_journal["Journal index<br/>[Journal.tsx]"]
  node_article["Journal article<br/>[JournalEntry.tsx]"]
  node_about["Agency story<br/>[About.tsx]"]
  node_contactpage["Contact page<br/>[Contact.tsx]"]
  node_notfound["Not found<br/>[NotFound.tsx]"]
end

subgraph group_discovery["Travel discovery"]
  node_destinationdata["Destination content<br/>[destinations.ts]"]
  node_destinationcard["Destination cards"]
  node_map["Destination maps"]
  node_travelinfo["Travel information<br/>[travelInfo.ts]"]
end

subgraph group_engagement["Stories and contact"]
  node_journaldata["Journal content<br/>[journal.ts]"]
  node_form["Inquiry form<br/>[ContactForm.tsx]"]
  node_faq["Travel FAQ<br/>[TravelFaq.tsx]"]
  node_contactmap["Contact map<br/>[ContactMap.tsx]"]
end

subgraph group_shared["Shared experience"]
  node_layout["Shared layout<br/>[Layout.tsx]"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_cookie["Cookie preferences<br/>[CookieBanner.tsx]"]
  node_seo["Page metadata<br/>[Seo.tsx]"]
end

subgraph group_content["Content and language"]
  node_site["Site information<br/>[site.ts]"]
  node_i18n["Language setup<br/>[i18n.ts]"]
  node_translations["MK and EN content"]
end

node_visitor(("Visitor"))
node_googletranslate["Google Translate"]
node_maptiles["Esri map tiles"]

node_visitor -->|"opens site"| node_app
node_app -->|"wraps routes"| node_layout
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_catalog
node_app -->|"routes to"| node_destination
node_app -->|"routes to"| node_journal
node_app -->|"routes to"| node_article
node_app -->|"routes to"| node_about
node_app -->|"routes to"| node_contactpage
node_app -->|"routes to"| node_notfound
node_layout -->|"renders"| node_navbar
node_layout -->|"renders"| node_cookie
node_home -->|"reads featured"| node_destinationdata
node_home -->|"reads teasers"| node_journaldata
node_catalog -->|"reads catalogue"| node_destinationdata
node_catalog -->|"renders cards"| node_destinationcard
node_catalog -->|"renders map"| node_map
node_map -->|"maps destinations"| node_destinationdata
node_map -.->|"loads tiles"| node_maptiles
node_destination -->|"reads details"| node_destinationdata
node_destination -->|"reads practical info"| node_travelinfo
node_destination -->|"renders location map"| node_map
node_destination -->|"falls back"| node_notfound
node_destination -->|"links inquiry"| node_contactpage
node_journal -->|"reads entries"| node_journaldata
node_article -->|"reads article"| node_journaldata
node_article -->|"falls back"| node_notfound
node_about -->|"reads agency content"| node_site
node_contactpage -->|"renders form"| node_form
node_contactpage -->|"renders FAQ"| node_faq
node_contactpage -->|"renders map"| node_contactmap
node_form -->|"prefills subject"| node_destinationdata
node_cookie -->|"reads preferences text"| node_site
node_navbar -.->|"offers translation"| node_googletranslate
node_i18n -->|"loads resources"| node_translations
node_seo -->|"reads brand"| node_site

click node_app "https://github.com/kostachorobenski/callistetravel/blob/main/src/App.tsx"
click node_home "https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Home.tsx"
click node_catalog "https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Destinations.tsx"
click node_destination "https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Destination.tsx"
click node_journal "https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Journal.tsx"
click node_article "https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/JournalEntry.tsx"
click node_about "https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/About.tsx"
click node_contactpage "https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Contact.tsx"
click node_notfound "https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/NotFound.tsx"
click node_destinationdata "https://github.com/kostachorobenski/callistetravel/blob/main/src/data/destinations.ts"
click node_destinationcard "https://github.com/kostachorobenski/callistetravel/blob/main/src/components/destinations/DestinationCard.tsx"
click node_map "https://github.com/kostachorobenski/callistetravel/blob/main/src/components/destinations/DestinationsMap.tsx"
click node_travelinfo "https://github.com/kostachorobenski/callistetravel/blob/main/src/data/travelInfo.ts"
click node_journaldata "https://github.com/kostachorobenski/callistetravel/blob/main/src/data/journal.ts"
click node_form "https://github.com/kostachorobenski/callistetravel/blob/main/src/components/contact/ContactForm.tsx"
click node_faq "https://github.com/kostachorobenski/callistetravel/blob/main/src/components/contact/TravelFaq.tsx"
click node_contactmap "https://github.com/kostachorobenski/callistetravel/blob/main/src/components/contact/ContactMap.tsx"
click node_layout "https://github.com/kostachorobenski/callistetravel/blob/main/src/components/layout/Layout.tsx"
click node_navbar "https://github.com/kostachorobenski/callistetravel/blob/main/src/components/layout/Navbar.tsx"
click node_cookie "https://github.com/kostachorobenski/callistetravel/blob/main/src/components/layout/CookieBanner.tsx"
click node_seo "https://github.com/kostachorobenski/callistetravel/blob/main/src/components/seo/Seo.tsx"
click node_site "https://github.com/kostachorobenski/callistetravel/blob/main/src/data/site.ts"
click node_i18n "https://github.com/kostachorobenski/callistetravel/blob/main/src/i18n.ts"
click node_translations "https://github.com/kostachorobenski/callistetravel/tree/main/src/translations"

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_app,node_home,node_catalog,node_destination,node_journal,node_article,node_about,node_contactpage,node_notfound toneBlue
class node_destinationdata,node_destinationcard,node_map,node_travelinfo toneAmber
class node_journaldata,node_form,node_faq,node_contactmap toneMint
class node_layout,node_navbar,node_cookie,node_seo toneRose
class node_site,node_i18n,node_translations,node_visitor,node_googletranslate,node_maptiles toneIndigo
```

## Components

### Routes and pages

- [Route application](https://github.com/kostachorobenski/callistetravel/blob/main/src/App.tsx): `src/App.tsx`
- [Home page](https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Home.tsx): `src/pages/Home.tsx`
- [Destination catalogue](https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Destinations.tsx): `src/pages/Destinations.tsx`
- [Destination details](https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Destination.tsx): `src/pages/Destination.tsx`
- [Journal index](https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Journal.tsx): `src/pages/Journal.tsx`
- [Journal article](https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/JournalEntry.tsx): `src/pages/JournalEntry.tsx`
- [Agency story](https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/About.tsx): `src/pages/About.tsx`
- [Contact page](https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/Contact.tsx): `src/pages/Contact.tsx`
- [Not found](https://github.com/kostachorobenski/callistetravel/blob/main/src/pages/NotFound.tsx): `src/pages/NotFound.tsx`

### Travel discovery

- [Destination content](https://github.com/kostachorobenski/callistetravel/blob/main/src/data/destinations.ts): `src/data/destinations.ts`
- [Destination cards](https://github.com/kostachorobenski/callistetravel/blob/main/src/components/destinations/DestinationCard.tsx): `src/components/destinations/DestinationCard.tsx`
- [Destination maps](https://github.com/kostachorobenski/callistetravel/blob/main/src/components/destinations/DestinationsMap.tsx): `src/components/destinations/DestinationsMap.tsx`
- [Travel information](https://github.com/kostachorobenski/callistetravel/blob/main/src/data/travelInfo.ts): `src/data/travelInfo.ts`

### Stories and contact

- [Journal content](https://github.com/kostachorobenski/callistetravel/blob/main/src/data/journal.ts): `src/data/journal.ts`
- [Inquiry form](https://github.com/kostachorobenski/callistetravel/blob/main/src/components/contact/ContactForm.tsx): `src/components/contact/ContactForm.tsx`
- [Travel FAQ](https://github.com/kostachorobenski/callistetravel/blob/main/src/components/contact/TravelFaq.tsx): `src/components/contact/TravelFaq.tsx`
- [Contact map](https://github.com/kostachorobenski/callistetravel/blob/main/src/components/contact/ContactMap.tsx): `src/components/contact/ContactMap.tsx`

### Shared experience

- [Shared layout](https://github.com/kostachorobenski/callistetravel/blob/main/src/components/layout/Layout.tsx): `src/components/layout/Layout.tsx`
- [Navigation](https://github.com/kostachorobenski/callistetravel/blob/main/src/components/layout/Navbar.tsx): `src/components/layout/Navbar.tsx`
- [Cookie preferences](https://github.com/kostachorobenski/callistetravel/blob/main/src/components/layout/CookieBanner.tsx): `src/components/layout/CookieBanner.tsx`
- [Page metadata](https://github.com/kostachorobenski/callistetravel/blob/main/src/components/seo/Seo.tsx): `src/components/seo/Seo.tsx`

### Content and language

- [Site information](https://github.com/kostachorobenski/callistetravel/blob/main/src/data/site.ts): `src/data/site.ts`
- [Language setup](https://github.com/kostachorobenski/callistetravel/blob/main/src/i18n.ts): `src/i18n.ts`
- [MK and EN content](https://github.com/kostachorobenski/callistetravel/tree/main/src/translations): `src/translations`

### Other components

- **Visitor**
- **Google Translate**
- **Esri map tiles**

## Connections

- Visitor → Route application: opens site (evidence: `README.md`)
- Route application → Shared layout: wraps routes (evidence: `src/App.tsx`)
- Route application → Home page: routes to (evidence: `src/App.tsx`)
- Route application → Destination catalogue: routes to (evidence: `src/App.tsx`)
- Route application → Destination details: routes to (evidence: `src/App.tsx`)
- Route application → Journal index: routes to (evidence: `src/App.tsx`)
- Route application → Journal article: routes to (evidence: `src/App.tsx`)
- Route application → Agency story: routes to (evidence: `src/App.tsx`)
- Route application → Contact page: routes to (evidence: `src/App.tsx`)
- Route application → Not found: routes to (evidence: `src/App.tsx`)
- Shared layout → Navigation: renders (evidence: `src/components/layout/Layout.tsx`)
- Shared layout → Cookie preferences: renders (evidence: `src/components/layout/Layout.tsx`)
- Home page → Destination content: reads featured
- Home page → Journal content: reads teasers
- Destination catalogue → Destination content: reads catalogue (evidence: `src/pages/Destinations.tsx`)
- Destination catalogue → Destination cards: renders cards (evidence: `src/pages/Destinations.tsx`)
- Destination catalogue → Destination maps: renders map (evidence: `src/pages/Destinations.tsx`)
- Destination maps → Destination content: maps destinations (evidence: `src/components/destinations/DestinationsMap.tsx`)
- Destination maps → Esri map tiles: loads tiles (evidence: `README.md`)
- Destination details → Destination content: reads details (evidence: `src/pages/Destination.tsx`)
- Destination details → Travel information: reads practical info (evidence: `src/pages/Destination.tsx`)
- Destination details → Destination maps: renders location map (evidence: `src/pages/Destination.tsx`)
- Destination details → Not found: falls back (evidence: `src/pages/Destination.tsx`)
- Destination details → Contact page: links inquiry (evidence: `src/pages/Destination.tsx`)
- Journal index → Journal content: reads entries (evidence: `src/pages/Journal.tsx`)
- Journal article → Journal content: reads article (evidence: `src/pages/JournalEntry.tsx`)
- Journal article → Not found: falls back (evidence: `src/pages/JournalEntry.tsx`)
- Agency story → Site information: reads agency content (evidence: `src/data/site.ts`)
- Contact page → Inquiry form: renders form (evidence: `src/pages/Contact.tsx`)
- Contact page → Travel FAQ: renders FAQ (evidence: `src/pages/Contact.tsx`)
- Contact page → Contact map: renders map (evidence: `src/pages/Contact.tsx`)
- Inquiry form → Destination content: prefills subject (evidence: `src/components/contact/ContactForm.tsx`)
- Cookie preferences → Site information: reads preferences text (evidence: `src/components/layout/CookieBanner.tsx`)
- Navigation → Google Translate: offers translation (evidence: `README.md`)
- Language setup → MK and EN content: loads resources (evidence: `src/i18n.ts`)
- Page metadata → Site information: reads brand (evidence: `src/components/seo/Seo.tsx`)
