CK Travelers AU — Content Update Guide

Step-by-step instructions for updating every part of the website.

info Overview

All content changes are made by editing files in the src/ folder. After editing, rebuild and deploy the site to see changes live.

terminal Preview locally npm run dev

Opens at http://localhost:4321

build Build for production npm run build

Creates the dist/ folder ready to deploy

rocket_launch Deploy

Push to GitHub — Vercel / Netlify auto-deploys on every push

Quick Reference

What to changeFile
Navigation menusrc/components/Nav.astro
Footersrc/components/Footer.astro
WhatsApp number3 files — see WhatsApp section
Homepagesrc/pages/index.astro
About pagesrc/pages/about/index.astro
Sri Lanka pagesrc/pages/sri-lanka/index.astro
Contact pagesrc/pages/contact/index.astro
Vista Vault / Gallerysrc/pages/gallery/index.astro
Time-of-day hero imagessrc/pages/index.astro → script block
Global colours & fontssrc/styles/global.css

home Homepage

File: src/pages/index.astro

Hero Section

Search for const hero = near the top of the file.

const hero = {
  eyebrow:       "Based in Australia · Sri Lanka Specialists",
  headlineLine1: "The World Awaits",         // first line of heading
  headlineLine2: "You",                      // second line (italic gold)
  subtitle:      "Your subtitle here...",
  backgroundImageUrl: "https://...",         // default background photo
  cta1Label:     "View Packages",            // primary button text
  cta1Href:      "/sri-lanka/#packages",     // primary button link
  cta2Label:     "Chat on WhatsApp",
  cta2Href:      "https://wa.me/...",
};

Stats Strip (4 numbers below hero)

Search for const stats =

{ value: "5,000+", label: "Happy Travellers" },
{ value: "60+",    label: "Destinations" },

Service Cards

Search for const services =. Each card:

{ icon: "flight", title: "Flights to Sri Lanka", description: "..." },

Icon names from fonts.google.com/icons

Destination Cards

Search for const destinations =. Each card:

{
  imageUrl:  "https://images.unsplash.com/...",
  regionTag: "South Asia",
  name:      "Sri Lanka",
  priceFrom: "From A$1,299 per person",
  href:      "/sri-lanka/",   // link (optional)
  isWide:    true,            // spans 2 columns
  isFeatured: true            // gold badge style
},

Why Us Cards

Search for const whyUs =

{ icon: "groups", heading: "Community Trust", body: "..." },

info About Page

File: src/pages/about/index.astro

Hero

Search for const hero =

headlineLine1:      "Dedicated to Crafting",
headlineLine2:      "Meaningful Travel Experiences",
subtitle:           "Your subtitle...",
backgroundImageUrl: "https://...",

Story Paragraphs

Search for const storyParagraphs — add, edit or remove text strings in the array.

Feature Cards (2×2 grid)

Search for const stats =

{ value: "", label: "Personalized Travel Experiences", icon: "auto_awesome" },

Leave value: "" for text-only cards.

Global Offices

Search for const offices =

{ flag: "🇦🇺", country: "Australia", subtitle: "Head Office",
  address: "...", phone: "...", email: "..." },

Values & Awards

Search for const values = and const awards =

travel_explore Sri Lanka Page

File: src/pages/sri-lanka/index.astro

Highlight Cards (Why Sri Lanka)

Search for const highlights =

{ icon: "temple_buddhist", heading: "Ancient Culture", body: "..." },

Top Attraction Cards

Search for const attractions =

{
  imageUrl:    "https://...",
  regionTag:   "Cultural Triangle",
  name:        "Sigiriya Rock",
  description: "..."
},

Season Cards (Best Time to Visit)

Search for const seasons =

{
  icon:        "wb_sunny",
  title:       "December – March",
  badge:       "Peak Season",
  isPeak:      true,              // true = teal border, false = grey
  description: "...",
  highlights:  ["West & South beaches", "Whale watching"]
},

mail Contact Page

File: src/pages/contact/index.astro

Hero

Search for const hero =

Office Hours & Response Time

Search for cms?.officeHours ?? — change the text after ??

Other Global Offices

Search for const otherOffices =

{ flag: "🇱🇰", name: "Sri Lanka", details: "+94 76 139 8828 · Kandy" },

Contact Form Endpoint

Search for const formAction — replace with your live Formspree URL.

FAQ Fallback

Search for const hardcodedFaqs = — edit question/answer pairs.

chat WhatsApp Number

Update in three files. Replace 61451777565 with your number (no +, no spaces):

1. Floating WhatsApp button

File: src/layouts/BaseLayout.astro

<WhatsAppButton number={settings?.whatsappNumber ?? "+61451777565"} />

2. Nav fallback link

File: src/components/Nav.astro

: `https://wa.me/61451777565?text=...`

3. Contact page display

File: src/pages/contact/index.astro

const displayNumber = "+61 451 777 565"; // human-readable display
// also update the wa.me/61451777565 fallback above it

schedule Time-of-Day Hero Images

File: src/pages/index.astro → search for timeImages in the <script> block.

KeyHoursMood
morning6 am – 11:59 amGolden sunrise, warm and fresh
noon12 pm – 4:59 pmBright blue sky, vibrant destination
evening5 pm – 8:59 pmWarm sunset, romantic ocean
night9 pm – 5:59 amCity lights, starry sky

Replace with an Unsplash photo

morning: 'https://images.unsplash.com/photo-XXXXXXXXXXXXXXXXX?w=1600&auto=format',
  1. Go to unsplash.com and find your photo
  2. Copy the photo ID from the URL (e.g. photo-1500534314209)
  3. Build: https://images.unsplash.com/photo-XXXXXX?w=1600&auto=format
  4. Paste it as the value for morning, noon, evening, or night

Use your own uploaded photo

  1. Compress your photo to under 500 KB at squoosh.app (WebP, 80% quality)
  2. Name it clearly: hero-morning.jpg, hero-evening.jpg, etc.
  3. Copy it into public/images/
  4. Use /images/hero-morning.jpg as the URL
tips_and_updates Photos should be landscape orientation, 1600×900 px minimum, with the main subject centred (text overlays the image).

image Uploading Images

TypeFolderHow to use
Logopublic/logo.jpgReplaces nav & footer logo (overwrite the file)
General photospublic/images/<img src="/images/photo.jpg" />
Optimised (Astro processes)src/assets/Import in frontmatter, use <Image> component

Using Unsplash (no upload needed)

Append ?w=900&auto=format to any Unsplash photo URL:

https://images.unsplash.com/photo-XXXXXX?w=900&auto=format

Change w=900 to w=1600 for full-screen hero images.

Recommended image sizes

UseWidthMax file size
Hero / full-screen background1600 px500 KB
Destination / attraction cards900 px200 KB
Gallery thumbnails600 px150 KB
Logo200 px50 KB

rocket_launch Build & Deploy

Preview changes locally

npm run dev

Opens at http://localhost:4321

Build for production

npm run build

If successful, the dist/ folder is ready to deploy.

Push to GitHub (triggers auto-deploy)

git add .
git commit -m "Update content"
git push
check_circle Always run npm run build before pushing to catch any errors.