Skip to main content
Maneesha BarandeniyaFrontend engineer & product builder

MULTILINGUAL TRAVEL • ITINERARY PLANNING & AI PUBLISHING

ReiseCeylon

A multilingual Sri Lanka travel platform connecting a 174-destination atlas, interactive itinerary planning, and journey enquiries with an AI-assisted, approval-controlled publishing system.

Live Product • Sri Lanka Travel

Visit project
ReiseCeylon homepage presenting private journeys across Sri Lanka
ReiseCeylon homepage presenting private journeys across Sri Lanka

THE PRODUCT

Discover Sri Lanka.
Plan the journey your way.

ReiseCeylon is a full-stack Sri Lanka travel platform combining destination discovery, interactive itinerary planning, multilingual content management, AI-assisted blog publishing, and technical SEO. Travellers can explore an atlas of 174 destinations, discover curated journeys, and create personalized itineraries through an interactive map.

The work spans the Next.js application, Sanity content architecture, journey-planning logic, enquiry APIs, and publishing automation. Four-language content delivery connects travel guides, destination pages, and journey enquiries in English, German, French, and Dutch.

THE TRAVELLER WORKFLOW

From a place that inspires you to a journey you can send.

  1. 01

    Discover

    Explore 174 destinations across Sri Lanka.

  2. 02

    Plan

    Choose a package or build your own itinerary.

  3. 03

    Refine

    Reorder stops and compare travel estimates.

  4. 04

    Enquire

    Send the route and your preferences to the team.

INSIDE THE PRODUCT

The experience, and the engineering behind it.

Explore each area for the full implementation story.

Discovery & languages

Make the island easier to explore.

A destination atlas and four-language content help travellers find places that fit their interests.

Destination atlas174 places, 13 landscape categories, and nine provinces

The destination atlas contains 174 places across 13 landscape categories and all nine provinces. JSON and GeoJSON records provide coordinates and geographic attributes, while landscape and province filters help travellers narrow their search. Destination detail pages combine these records with CMS-managed descriptions, highlights, imagery, and SEO fields.

Location maps and nearby-place discovery connect individual places to the wider island. Visibility controls let editors hide a destination without deleting its underlying record. Synchronization scripts update factual location fields while preserving editorial content by default, allowing geographic data and written content to evolve independently.

Four-language contentEnglish, German, French, and Dutch from one content model

next-intl handles English, German, French, and Dutch. English uses the default unprefixed routes; other languages use locale-prefixed routes. Localized Sanity fields hold titles, descriptions, and article content, with fallback handling when a translation is missing.

Cached CMS reads are shared across languages, with localized fields selected during content transformation. Language-specific metadata and alternate-language URLs connect the four experiences, reducing duplicated fetching and editorial maintenance.

Planning & enquiries

Turn inspiration into a personal route.

An interactive map connects destination choices, route estimates, and an enquiry the travel team can act on.

Interactive itinerary planningSearchable places, reorderable stops, maps, and travel estimates

The journey planner supports both ready-made packages and custom itineraries. Travellers can search atlas destinations, reorder stops, and add optional airport pickup and drop-off. External place search runs through an OpenStreetMap-backed API route, and Leaflet renders itinerary routes over OpenStreetMap tiles. Expandable maps and responsive layouts support planning across screen sizes.

Changing stops recalculates estimated distances and driving times locally, using terrain-aware distance factors and regional speed assumptions. This provides immediate planning feedback without making a routing-service request for every interaction. The figures are travel-planning estimates, rather than turn-by-turn routing results.

Journey enquiries & emailRoute details for the business and an optional traveller copy

Server-side contact and journey enquiry endpoints integrate with Resend to notify the business and optionally send an itinerary copy to the traveller. Emails include the selected stops, route legs, estimated totals, and optional travel preferences. Custom stops retain their coordinates and map links so the business can understand the complete plan.

Business-email delivery is separate from the optional traveller copy. The API returns delivery state so the interface can accurately report whether a copy was sent, with explicit handling for unavailable email configuration. The enquiry arrives with the itinerary attached to its context, avoiding manual reconstruction by the travel team.

Content & discovery

Build a journal with an editorial process.

Multilingual drafts move through validation, review, and scheduled publication, with search discovery built in.

AI-assisted article draftsStructured multilingual output with validation and duplicate checks

A topic queue holds primary and secondary keywords, search intent, content briefs, and required internal links. A weekly GitHub Actions workflow selects an unused topic and calls the OpenAI Responses API with a strict JSON schema to generate drafts in English, German, French, and Dutch.

The generated output includes localized titles, excerpts, SEO descriptions, image-alt suggestions, and structured article sections. Validation checks article structure, completeness, headings, and required links before converting the content into Sanity Portable Text. Factual claims requiring editorial verification are recorded, while stable topic identifiers and existing-document checks prevent duplicate draft creation.

Review & scheduled publishingApproval gates, publication checks, and transactional publishing

Draft generation and publication are separate workflows. Sanity fields track review status and scheduled publication time, and automated publication requires editorial approval. Eligibility checks cover the due date, required content, category, cover asset, and image alternative text.

An hourly GitHub Actions publisher checks approved, due articles for conflicting slugs, then publishes the content and removes its draft within a Sanity transaction. Dry-run commands let editors inspect eligible content without publishing it. Automation handles the recurring work while retaining explicit editorial control.

Technical SEO & content strategyLocalized metadata, structured data, internal links, and sitemaps

Article briefs cover seasonal travel planning, destination discovery, and itinerary-related search intent. Descriptive internal links connect journal articles to relevant destination and journey pages. Page-specific titles, descriptions, canonical URLs, social previews, hreflang annotations, and a default-language alternate support the localized routes.

The XML sitemap draws from destination, tour, and article records and uses actual CMS update timestamps for modification dates. JSON-LD describes the organization, website, articles, breadcrumbs, destinations, and tours. robots.txt, an RSS feed, and centralized production-origin and localized-URL helpers complete the technical foundation. Google Analytics and Vercel Analytics integrations provide analytics tooling; this case study makes no claim about measured SEO outcomes.

Architecture & operations

Keep the application and its content connected.

Shared content models, targeted cache updates, and operational tooling support routine editorial work.

Application & Sanity architectureShared routes, embedded Studio, and independent content management

Next.js App Router provides destination discovery and detail routes, journey planning, tour details, journal articles, and enquiries. Shared components, content utilities, location data, and CMS access live in separate modules. Server-side Sanity queries combine CMS-managed records with structured local content and fallback data.

Embedded Sanity Studio at /studio supports editorial management independently of interface code. GROQ retrieves content, and Portable Text represents rich article bodies. Shared design tokens centralize brand colors, typography, and reusable visual styles, with Tailwind CSS, Framer Motion, GSAP, React GSAP integration, and Lenis supporting the interface and motion system.

Cache updates & content freshnessSigned CMS webhooks and targeted invalidation across languages

Cached CMS reads are tagged by document type. A signed Sanity webhook endpoint validates incoming signatures before invalidating content, mapping article, destination, tour, and settings changes to their relevant cache tags.

Targeted invalidation refreshes shared content across the supported languages. Editors can publish routine changes through Sanity while the application refreshes the affected content, without requiring a complete application deployment.

Testing & operational toolsAutomation tests, content audits, migrations, and dry runs

Automated Node.js tests cover blog automation utilities and publishing eligibility. Package scripts expose development, production builds, TypeScript validation, and tests, alongside topic-queue validation and dry-run commands for draft generation and approved-post publishing.

Destination-content audits, synchronization scripts, localization migration scripts, and documentation support CMS setup and publishing operations. These details reflect the supplied repository review. ReiseCeylon’s own tests, builds, live publishing workflows, email delivery, and SEO outcomes were not reverified for this portfolio write-up.

THE PUBLISHING PIPELINE

AI-assisted content. Editorial control.

OpenAI generates structured drafts. Editors approve the content. Scheduled workflows handle publication.

OpenAISanityGitHub Actions
Explore the publishing workflow

The publishing pipeline connects a keyword-led topic queue to OpenAI-generated multilingual drafts, structured validation, and Sanity editorial review. Weekly draft generation supplies reviewable content; an hourly publisher handles approved posts once they meet the publication requirements and scheduled time.

Each stage has a defined responsibility: OpenAI produces structured drafts, validation checks the expected content and links, editors review factual claims and approve publication, and Sanity transactions commit the publish operation. Duplicate checks, slug-conflict detection, and dry-run commands make the automated workflow inspectable.

TECHNOLOGY

The tools behind each layer.

Application & interface
Next.js 16 App Router · React 19 · TypeScript · Tailwind CSS · Shared design tokens
Motion & interaction
Framer Motion · GSAP · React GSAP integration · Lenis
Content & localization
Sanity CMS · Embedded Sanity Studio · GROQ · Portable Text · next-intl
Maps & journey planning
Leaflet · React Leaflet · OpenStreetMap · GeoJSON
AI & publishing
OpenAI Responses API · Structured JSON output · GitHub Actions · Scheduled Node.js scripts · Sanity transactions
Email, SEO & analytics
Resend · Next.js Metadata API · JSON-LD · XML sitemap · robots.txt · RSS · Google Analytics · Vercel Analytics
Testing & tooling
Node.js test runner · TypeScript validation · npm scripts

WHAT IT BRINGS TOGETHER

From discovering a destination to planning the whole journey.

ReiseCeylon brings a 174-destination atlas, interactive itinerary planning, four-language content, and email-based journey enquiries into one travel platform. A traveller can move from a guide to a destination, build a route around it, and send that plan to the business with its stops and travel preferences preserved.

Behind that experience, Sanity content management, OpenAI-assisted drafting, approval-controlled publishing, localized metadata, and targeted cache invalidation form a connected editorial system. The project combines travel discovery, product engineering, and publishing operations in a shared Next.js application.

HAVE SOMETHING IN MIND?

Let’s build something useful.

A product idea, an engineering challenge, or a hello. I’d love to hear it.