Skip to content

Repository files navigation

🦁 LankaCompass

Screenshot 2026-08-06 005843

One Digital Platform for Sri Lanka Tourism

LankaCompass is a beautifully designed, fully static web platform built to help tourists explore Sri Lanka safely and confidently. It provides verified travel information, popular routes, transport guides, connectivity tips, scam alerts, and a live Q&A section — all in one place.


🌐 Live Preview

Open index.html in your browser or serve it locally with:

npx serve .

Then visit http://localhost:3000


✨ Features

Section Description
🗺️ Destinations 6 verified top destinations with filterable cards (Nature, Heritage, Beach, Wildlife)
🛣️ Travel Routes Step-by-step route timelines with costs, durations, and pro tips
🚌 Transport Guide All transport modes — trains, buses, tuk-tuks, taxis, ferries, rentals
📲 FYK Info Tabbed essential info: Mobile & Data, WiFi, Food & Water, Toilets, Dress Code, Emergency
Q&A Board Community question-and-answer section with live form submission
⚠️ Scam Alerts Dedicated scam awareness section with verified warnings for common tourist traps

🏖️ Destinations Covered

  • Sigiriya Lion Rock — UNESCO Heritage, ancient fortress
  • Ella Odyssey Train — World's most scenic rail journey
  • Temple of the Tooth, Kandy — Sacred Buddhist heritage site
  • Mirissa Beach — Whale watching, turquoise waters
  • Galle Fort — Dutch colonial fortress, UNESCO Heritage
  • Yala National Park — World's highest leopard density

🛣️ Routes Covered

  • Colombo → Ella (Scenic Train, ~7 hrs)
  • Colombo → Kandy (Bus/Train, ~2.5–3 hrs)
  • Kandy → Sigiriya (Bus + Tuk-tuk, ~3 hrs)
  • Galle → Mirissa (Coastal Train, ~45 mins)

📱 Tech Stack

Technology Usage
HTML5 Semantic structure, SEO meta tags
CSS3 Custom design system, glassmorphism, animations
Vanilla JavaScript Filtering, modals, tabs, scroll effects, parallax
Google Fonts Outfit + Playfair Display

No frameworks. No dependencies. Pure, fast, and offline-capable.


🗂️ Project Structure

LankaCompass/
├── index.html                  # Main page (single-page app)
├── style.css                   # Full design system & component styles
├── app.js                      # All interactivity & logic
├── README.md                   # This file
├── sri_lanka_hero_*.png        # Hero section image
├── sigiriya_rock_*.png         # Sigiriya destination image
├── ella_train_*.png            # Ella train destination image
├── kandy_temple_*.png          # Kandy temple destination image
├── mirissa_beach_*.png         # Mirissa beach destination image
└── galle_fort_*.png            # Galle Fort destination image

🎨 Design Highlights

  • Dark mode aesthetic with a warm amber (#E8A020) accent palette
  • Glassmorphism cards with frosted-glass effects
  • Scroll-reveal animations using IntersectionObserver
  • Parallax hero mouse-movement effect
  • Responsive — mobile hamburger menu, fluid grid layouts
  • Micro-animations on hover for all interactive elements

🚨 Scam Awareness

LankaCompass takes tourist safety seriously. The platform highlights common scams such as:

  • Train seat scams — fake "best view" seat upsells
  • Unofficial guide traps — at Sigiriya and other heritage sites
  • Overpriced tuk-tuk fares — and how to use PickMe instead
  • Wildlife tour scams — unethical operators promising guaranteed leopard sightings

📋 Essential Tourist Tips Included

  • 💧 Water safety — Don't drink tap water; buy bottled or use filters
  • 📶 SIM cards — Dialog, Mobitel, Airtel packages with pricing
  • 👗 Dress codes — Temple, mosque, beach, and city guidelines
  • 🆘 Emergency numbers — Police (119), Ambulance (110), Fire (111)
  • 🚻 Public facilities — What to expect and what to bring

🚀 Getting Started

# Clone the repository
git clone https://github.com/ShaliniWanasinghe/LankaCompass.git

# Navigate into the project
cd LankaCompass

# Serve locally (requires Node.js)
npx serve .

Then open your browser at http://localhost:3000


📄 License

This project is open-source and available under the MIT License.


Built with ❤️ for travellers discovering the Pearl of the Indian Ocean 🇱🇰

Screenshot 2026-08-06 010006 Screenshot 2026-08-06 005955 Screenshot 2026-08-06 005941 Screenshot 2026-08-06 005924 Screenshot 2026-08-06 005854

About

User friendlu Tour Guide for Tiursits Visiting Sri Lanka

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages