# cuteprog20/savannah-atlas-tourism architecture

> Architecture diagram of the GitHub repository cuteprog20/savannah-atlas-tourism, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cuteprog20/savannah-atlas-tourism
- Repository: https://github.com/cuteprog20/savannah-atlas-tourism

## Overview

This is a Tanzania tourism company website for discovering safari and travel options, planning an itinerary, and sending booking or proposal inquiries. The main flow enters the React app, presents destination and tour content, opens detail or inquiry views, and prepares contact messages. The README is brief; several relationships below are based on the SOURCE INDEX rather than complete call-site excerpts, so unsampled integrations are not inferred.

Main entry points: [`src/App.tsx`](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/App.tsx) (Application shell), [`src/utils/messengerLinks.ts`](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/utils/messengerLinks.ts) (Inquiry message builder), [`src/components/TourCard.tsx`](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/TourCard.tsx) (Tour card), [`src/components/AccommodationDetailModal.tsx`](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/AccommodationDetailModal.tsx) (Accommodation details)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Website experience"]
  node_app["Application shell<br/>[App.tsx]"]
  node_translations["Language and currency<br/>[translations.ts]"]
end

subgraph group_discover["Destination discovery"]
  node_journey["Journey details"]
  node_accommodation_section["Accommodation browse"]
  node_accommodation_detail["Accommodation details"]
  node_destination_browser["Destination browser"]
  node_tour_catalog["Tour catalog<br/>[TourCatalog.tsx]"]
  node_tour_card["Tour card<br/>[TourCard.tsx]"]
  node_tour_detail["Tour details"]
  node_tours_data["Tour catalog data<br/>[toursData.ts]"]
  node_accommodation_data["Accommodation data"]
end

subgraph group_plan["Trip planning"]
  node_booking["Booking inquiry"]
  node_dream_planner["Dream board planner"]
  node_proposal["Proposal generator"]
  node_ai_advisor["AI travel advisor"]
  node_messenger["Inquiry message builder<br/>[messengerLinks.ts]"]
end

subgraph group_content["Travel content"]
  node_travel_styles["Travel styles"]
  node_travel_style_data["Travel style data"]
  node_gallery["Destination gallery<br/>[GallerySection.tsx]"]
  node_narrative["Wilderness narrative"]
  node_getting_there["Getting there"]
  node_impact["Conservation impact<br/>[ImpactModal.tsx]"]
end

node_visitor(("Website visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"uses"| node_translations
node_app -->|"opens"| node_journey
node_app -->|"renders"| node_accommodation_section
node_app -->|"renders"| node_gallery
node_app -->|"renders"| node_getting_there
node_app -->|"opens"| node_booking
node_app -->|"opens"| node_impact
node_tour_catalog -->|"renders"| node_tour_card
node_tour_card -->|"uses"| node_messenger
node_tour_detail -->|"uses"| node_messenger
node_accommodation_detail -->|"uses"| node_messenger
node_proposal -->|"builds inquiry"| node_messenger
node_travel_styles -->|"reads"| node_travel_style_data

click node_app "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/App.tsx"
click node_translations "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/data/translations.ts"
click node_journey "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/JourneyDetailModal.tsx"
click node_accommodation_section "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/AccommodationsSection.tsx"
click node_accommodation_detail "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/AccommodationDetailModal.tsx"
click node_destination_browser "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/DestinationBrowser.tsx"
click node_tour_catalog "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/TourCatalog.tsx"
click node_tour_card "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/TourCard.tsx"
click node_tour_detail "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/TourDetailModal.tsx"
click node_tours_data "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/data/toursData.ts"
click node_accommodation_data "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/data/accommodationsData.ts"
click node_booking "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/BookingInquiryModal.tsx"
click node_dream_planner "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/DreamBoardPlanner.tsx"
click node_proposal "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/DynamicProposalGenerator.tsx"
click node_ai_advisor "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/AiTravelAdvisorModal.tsx"
click node_messenger "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/utils/messengerLinks.ts"
click node_travel_styles "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/TravelStylesSection.tsx"
click node_travel_style_data "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/data/travelStylesData.ts"
click node_gallery "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/GallerySection.tsx"
click node_narrative "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/AsymmetricNarrativeSection.tsx"
click node_getting_there "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/GettingThereSection.tsx"
click node_impact "https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/ImpactModal.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_app,node_translations toneBlue
class node_journey,node_accommodation_section,node_accommodation_detail,node_destination_browser,node_tour_catalog,node_tour_card,node_tour_detail,node_tours_data,node_accommodation_data toneAmber
class node_booking,node_dream_planner,node_proposal,node_ai_advisor,node_messenger toneMint
class node_travel_styles,node_travel_style_data,node_gallery,node_narrative,node_getting_there,node_impact toneRose
class node_visitor toneIndigo
```

## Components

### Website experience

- [Application shell](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/App.tsx): `src/App.tsx`
- [Language and currency](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/data/translations.ts): `src/data/translations.ts`

### Destination discovery

- [Journey details](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/JourneyDetailModal.tsx): `src/components/JourneyDetailModal.tsx`
- [Accommodation browse](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/AccommodationsSection.tsx): `src/components/AccommodationsSection.tsx`
- [Accommodation details](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/AccommodationDetailModal.tsx): `src/components/AccommodationDetailModal.tsx`
- [Destination browser](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/DestinationBrowser.tsx): `src/components/DestinationBrowser.tsx`
- [Tour catalog](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/TourCatalog.tsx): `src/components/TourCatalog.tsx`
- [Tour card](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/TourCard.tsx): `src/components/TourCard.tsx`
- [Tour details](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/TourDetailModal.tsx): `src/components/TourDetailModal.tsx`
- [Tour catalog data](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/data/toursData.ts): `src/data/toursData.ts`
- [Accommodation data](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/data/accommodationsData.ts): `src/data/accommodationsData.ts`

### Trip planning

- [Booking inquiry](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/BookingInquiryModal.tsx): `src/components/BookingInquiryModal.tsx`
- [Dream board planner](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/DreamBoardPlanner.tsx): `src/components/DreamBoardPlanner.tsx`
- [Proposal generator](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/DynamicProposalGenerator.tsx): `src/components/DynamicProposalGenerator.tsx`
- [AI travel advisor](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/AiTravelAdvisorModal.tsx): `src/components/AiTravelAdvisorModal.tsx`
- [Inquiry message builder](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/utils/messengerLinks.ts): `src/utils/messengerLinks.ts`

### Travel content

- [Travel styles](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/TravelStylesSection.tsx): `src/components/TravelStylesSection.tsx`
- [Travel style data](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/data/travelStylesData.ts): `src/data/travelStylesData.ts`
- [Destination gallery](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/GallerySection.tsx): `src/components/GallerySection.tsx`
- [Wilderness narrative](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/AsymmetricNarrativeSection.tsx): `src/components/AsymmetricNarrativeSection.tsx`
- [Getting there](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/GettingThereSection.tsx): `src/components/GettingThereSection.tsx`
- [Conservation impact](https://github.com/cuteprog20/savannah-atlas-tourism/blob/master/src/components/ImpactModal.tsx): `src/components/ImpactModal.tsx`

### Other components

- **Website visitor**

## Connections

- Website visitor → Application shell: opens
- Application shell → Language and currency: uses (evidence: `src/App.tsx`)
- Application shell → Journey details: opens (evidence: `src/App.tsx`)
- Application shell → Accommodation browse: renders (evidence: `src/App.tsx`)
- Application shell → Destination gallery: renders (evidence: `src/App.tsx`)
- Application shell → Getting there: renders (evidence: `src/App.tsx`)
- Application shell → Booking inquiry: opens (evidence: `src/App.tsx`)
- Application shell → Conservation impact: opens (evidence: `src/App.tsx`)
- Tour catalog → Tour card: renders (evidence: `src/components/TourCatalog.tsx`)
- Tour card → Inquiry message builder: uses (evidence: `src/components/TourCard.tsx`)
- Tour details → Inquiry message builder: uses (evidence: `src/components/TourDetailModal.tsx`)
- Accommodation details → Inquiry message builder: uses (evidence: `src/components/AccommodationDetailModal.tsx`)
- Proposal generator → Inquiry message builder: builds inquiry (evidence: `src/components/DynamicProposalGenerator.tsx`)
- Travel styles → Travel style data: reads (evidence: `src/components/TravelStylesSection.tsx`)
