#!/bin/bash
# Generate standardized city inspection landing pages - v2
set -e
# Cities per country (slug|name)
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 (slug|name|description)
SERVICES=(
"bridge-inspection|Bridge Inspection|Professional bridge inspection services in {city}. {compliance} compliant."
"facade-inspection|Facade Inspection|Building facade inspection and documentation in {city}. Identify maintenance needs."
"road-condition|Road Condition|AI-assisted road surface analysis and condition mapping across {city}."
"street-lighting|Street Lighting|Verify street light functionality and coverage across {city}."
"construction-monitoring|Construction Monitoring|Document construction progress and verify compliance in {city}."
"property-verification|Property Verification|Verify property condition and occupancy in {city}."
"retail-audit|Retail Audit|Document storefront conditions and competitor presence in {city}."
"accessibility-audit|Accessibility Audit|Verify accessibility compliance for public spaces in {city}."
"environmental-monitoring|Environmental Monitoring|Track environmental conditions and green space status in {city}."
"storm-damage|Storm Damage|Rapid post-storm documentation of damage across {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"
# 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+=" \n"
related+=" \n"
related+=" Available in $city_name. Nationwide coverage. Custom programs with API and SLA.$s_name — $city_name
\n"
related+=" $service_name — $(echo "$country" | sed 's/.*/\u&/')
\n"
related+=" Enterprise Solutions
\n"
related+="
$desc
Local expertise, global standards
Zoomers available throughout $city_name. Fast response times, local knowledge.
All inspections follow $compliance regulations. Digital reports ready.
Missions deployed within hours. Same-day for urgent requests.
AI quality control with geolocation and timestamps. Court-admissible.
Up to 70% cheaper than traditional. Pay per mission.
From single to city-wide campaigns. Handle any volume.
Complete inspection solutions
Get a custom quote. No minimum commitment.
View pricingContact sales