#!/bin/bash

# Script to replace all font-merchant with font-poppins across the project

# List of files to update
files=(
  "components/BlogsPage.tsx"
  "components/ProfilePage.tsx"
  "components/EsimsPage.tsx"
  "components/AttractionsPage.tsx"
  "components/FAQPage.tsx"
  "components/MelbourneBlogs.tsx"
  "components/CityAttractionsPage.tsx"
  "components/BlogDetailsPage.tsx"
  "components/VarietyOfAdventures.tsx"
  "components/MelbourneFAQ.tsx"
  "components/MelbourneCardComparison.tsx"
  "components/BookAttractionSection.tsx"
  "components/PassesPage.tsx"
  "components/CheckoutPage.tsx"
  "components/DownloadAppPage.tsx"
  "components/HotelDiscountsPage.tsx"
  "components/OffersPage.tsx"
  "components/CityCardsPage.tsx"
  "components/MagicItineraryPage.tsx"
  "components/PostCardsPage.tsx"
  "components/CreateMagicItineraryPage.tsx"
  "components/ItineraryViewPage.tsx"
  "components/ContactUsPage.tsx"
  "components/SecureCheckoutPage.tsx"
  "components/AttractionDetailsPage.tsx"
  "components/AboutUsPage.tsx"
  "components/PrivacyPolicyPage.tsx"
)

# Replace font-merchant with font-poppins in each file
for file in "${files[@]}"; do
  if [ -f "$file" ]; then
    echo "Processing $file..."
    sed -i 's/font-merchant/font-poppins/g' "$file"
  fi
done

echo "Font replacement complete!"
