#!/bin/bash
# Generate all city-specific landing pages
# Cities per country
SWEDEN_CITIES="stockholm|Stockholm goteborg|Göteborg malmo|Malmö uppsala|Uppsala linkoping|Linköping orebro|Örebro"
GERMANY_CITIES="berlin|Berlin hamburg|Hamburg munich|München cologne|Köln frankfurt|Frankfurt stuttgart|Stuttgart"
FRANCE_CITIES="paris|Paris marseille|Marseille lyon|Lyon toulouse|Toulouse nice|Nice nantes|Nantes"
UK_CITIES="london|London manchester|Manchester birmingham|Birmingham glasgow|Glasgow liverpool|Liverpool leeds|Leeds"
NETHERLANDS_CITIES="amsterdam|Amsterdam rotterdam|Rotterdam the-hague|Den_Haag utrecht|Utrecht eindhoven|Eindhoven tilburg|Tilburg"
# Services
SERVICES=(
"bridge-inspection|Bridge Inspection|Professional bridge inspection services in {city}. {compliance} compliant."
"facade-inspection|Facade Inspection|Building facade inspection in {city}. Identify maintenance needs."
"road-condition|Road Condition|AI-assisted road surface analysis across {city}."
"street-lighting|Street Lighting|Verify street light functionality across {city}."
"construction-monitoring|Construction Monitoring|Document construction progress in {city}."
"property-verification|Property Verification|Verify property condition in {city}."
"retail-audit|Retail Audit|Document storefront conditions in {city}."
"accessibility-audit|Accessibility Audit|Verify accessibility compliance in {city}."
"environmental-monitoring|Environmental Monitoring|Track environmental conditions in {city}."
"storm-damage|Storm Damage|Rapid post-storm documentation in {city}."
)
# Flags
get_flag() {
case "$1" in
sweden) echo "🇸🇪" ;;
germany) echo "🇩🇪" ;;
france) echo "🇫🇷" ;;
uk) echo "🇬🇧" ;;
netherlands) echo "🇳🇱" ;;
esac
}
# Compliance
get_compliance() {
case "$1" in
sweden) echo "Trafikverket" ;;
germany) echo "DIN" ;;
france) echo "CEREMA" ;;
uk) echo "DfT" ;;
netherlands) echo "Rijkswaterstaat" ;;
esac
}
# Generate page
generate_page() {
local service_slug="$1"
local service_name="$2"
local service_desc="$3"
local city_slug="$4"
local city_name="$5"
local country="$6"
local flag="$7"
local compliance="$8"
local desc=$(echo "$service_desc" | sed "s/{city}/$city_name/g; s/{compliance}/$compliance/g")
# Build related services
local related=""
for svc in "${SERVICES[@]}"; do
local s_slug=$(echo "$svc" | cut -d'|' -f1)
local s_name=$(echo "$svc" | cut -d'|' -f2)
if [[ "$s_slug" != "$service_slug" ]]; then
related+=" Available in $city_name →$s_name
$desc
Zoomers available throughout $city_name. Fast response times.
All inspections follow regulations. Digital reports ready.
Missions deployed within hours. Same-day available.
AI quality control with geolocation. Court-admissible.
Up to 70% cheaper. Pay per mission.
From single to city-wide campaigns.
Get a custom quote. No minimum commitment.
View pricingContact sales