bae705aa97
- Add NFC ePassport roadmap (ICAO 9303, eIDAS) - Add TensorFlow.js edge face detection (BlazeFace) - Add structured audit logger (GDPR-compliant) - Risk scoring support Part of KYC Apple Native UX v1.1.0
390 lines
17 KiB
Bash
Executable File
390 lines
17 KiB
Bash
Executable File
#!/bin/bash
|
|
# Generate standardized city inspection landing pages
|
|
|
|
set -e
|
|
|
|
# Define cities per country with relevant compliance/regulatory info
|
|
declare -A CITIES
|
|
declare -A COMPLIANCE
|
|
|
|
# Sweden
|
|
CITIES[sweden]="stockholm|Stockholm:goteborg|Göteborg:malmo|Malmö:uppsala|Uppsala:linkoping|Linköping:orebro|Örebro"
|
|
COMPLIANCE[sweden]="Trafikverket"
|
|
|
|
# Germany
|
|
CITIES[germany]="berlin|Berlin:hamburg|Hamburg:munich|München:cologne|Köln:frankfurt|Frankfurt:stuttgart|Stuttgart"
|
|
COMPLIANCE[germany]="DIN"
|
|
|
|
# France
|
|
CITIES[france]="paris|Paris:marseille|Marseille:lyon|Lyon:toulouse|Toulouse:nice|Nice:nantes|Nantes"
|
|
COMPLIANCE[france]="CEREMA"
|
|
|
|
# UK
|
|
CITIES[uk]="london|London:manchester|Manchester:birmingham|Birmingham:glasgow|Glasgow:liverpool|Liverpool:leeds|Leeds"
|
|
COMPLIANCE[uk]="DfT"
|
|
|
|
# Netherlands
|
|
CITIES[netherlands]="amsterdam|Amsterdam:rotterdam|Rotterdam:the-hague|Den Haag:utrecht|Utrecht:eindhoven|Eindhoven:tilburg|Tilburg"
|
|
COMPLIANCE[netherlands]="Rijkswaterstaat"
|
|
|
|
# Service types
|
|
SERVICES="bridge-inspection|Bridge Inspection|Professional bridge inspection services in {city}. {compliance} compliant. Rapid deployment, verified data, digital reporting.
|
|
facade-inspection|Facade Inspection|Building facade inspection and documentation in {city}. Identify maintenance needs, structural issues, and compliance requirements.
|
|
road-condition|Road Condition Assessment|AI-assisted road surface analysis and condition mapping across {city}. Potholes, cracks, markings, and accessibility.
|
|
street-lighting|Street Lighting Inspection|Verify street light functionality and coverage across {city}. Night-time verification missions with geolocated photo evidence.
|
|
construction-monitoring|Construction Monitoring|Document construction progress and verify compliance in {city}. Timestamped, geolocated evidence for project managers.
|
|
property-verification|Property Verification|Verify property condition, occupancy, and maintenance status in {city}. For insurers, landlords, and real estate companies.
|
|
retail-audit|Retail Audit|Document storefront conditions, signage compliance, and competitor presence in {city}. Mystery shopping with photo evidence.
|
|
accessibility-audit|Accessibility Audit|Verify accessibility compliance for public spaces and businesses in {city}. Ramps, signage, pathways, and facilities.
|
|
environmental-monitoring|Environmental Monitoring|Track environmental conditions, pollution, and green space status in {city}. For municipalities and environmental agencies.
|
|
storm-damage|Storm Damage Documentation|Rapid post-storm documentation of damage across {city}. Insurance claims, emergency response, and repair prioritization."
|
|
|
|
# Template for city page
|
|
generate_city_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 compliance="$7"
|
|
local country_flag="$8"
|
|
|
|
# Generate related services
|
|
local related=""
|
|
local other_services="facade-inspection|Facade Inspection:road-condition|Road Condition:street-lighting|Street Lighting:construction-monitoring|Construction Monitoring:property-verification|Property Verification:retail-audit|Retail Audit:accessibility-audit|Accessibility Audit:environmental-monitoring|Environmental Monitoring:storm-damage|Storm Damage"
|
|
|
|
IFS=':' read -ra OTHER <<< "$other_services"
|
|
for svc in "${OTHER[@]}"; do
|
|
local s_slug=$(echo "$svc" | cut -d'|' -f1)
|
|
local s_name=$(echo "$svc" | cut -d'|' -f2)
|
|
if [[ "$s_slug" != "$service_slug" ]]; then
|
|
related+=" <a href=\"/$s_slug/$city_slug\" class=\"related-card\">\n"
|
|
related+=" <div class=\"related-flag\">🏙️</div>\n"
|
|
related+=" <h4>$s_name — $city_name</h4>\n"
|
|
related+=" <p>Available in $city_name, $country.</p>\n"
|
|
related+=" <div class=\"related-arrow\">Explore →</div>\n"
|
|
related+=" </a>\n"
|
|
fi
|
|
done
|
|
|
|
# Add country-level service
|
|
related+=" <a href=\"/$service_slug/$country\" class=\"related-card\">\n"
|
|
related+=" <div class=\"related-flag\">$country_flag</div>\n"
|
|
related+=" <h4>$service_name — $(echo "$country" | sed 's/.*/\u&/')</h4>\n"
|
|
related+=" <p>Nationwide $service_name services across $(echo "$country" | sed 's/.*/\u&/').</p>\n"
|
|
related+=" <div class=\"related-arrow\">Explore →</div>\n"
|
|
related+=" </a>\n"
|
|
|
|
# Add enterprise
|
|
related+=" <a href=\"/for-organisations\" class=\"related-card\">\n"
|
|
related+=" <div class=\"related-flag\">🏢</div>\n"
|
|
related+=" <h4>Enterprise Solutions</h4>\n"
|
|
related+=" <p>Custom inspection programs with API integration and SLA guarantees.</p>\n"
|
|
related+=" <div class=\"related-arrow\">Learn more →</div>\n"
|
|
related+=" </a>\n"
|
|
|
|
cat << EOF
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="theme-color" content="#f5f5f7">
|
|
<title>$service_name in $city_name — quiXzoom</title>
|
|
<meta name="description" content="$(echo "$service_desc" | sed "s/{city}/$city_name/g; s/{compliance}/$compliance/g")">
|
|
<link rel="canonical" href="https://www.quixzoom.com/$service_slug/$city_slug">
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": "Service",
|
|
"name": "$service_name in $city_name",
|
|
"provider": {
|
|
"@type": "Organization",
|
|
"name": "quiXzoom",
|
|
"url": "https://www.quixzoom.com/"
|
|
},
|
|
"areaServed": {
|
|
"@type": "City",
|
|
"name": "$city_name",
|
|
"containedInPlace": {
|
|
"@type": "Country",
|
|
"name": "$(echo "$country" | sed 's/.*/\u&/')"
|
|
}
|
|
},
|
|
"description": "$(echo "$service_desc" | sed "s/{city}/$city_name/g; s/{compliance}/$compliance/g")"
|
|
}
|
|
</script>
|
|
<style>
|
|
:root {
|
|
--bg-dark: #f5f5f7;
|
|
--blue: #0066FF;
|
|
--blue-dark: #0052CC;
|
|
--blue-glow: rgba(0,102,255,0.10);
|
|
--text-dark: #1d1d1f;
|
|
--text-body: #3a3a3a;
|
|
--text-muted: #6e6e73;
|
|
--surface: #ffffff;
|
|
--surface-2: #f5f5f7;
|
|
--border: rgba(0,0,0,0.09);
|
|
}
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', sans-serif;
|
|
background: var(--bg-dark);
|
|
color: var(--text-dark);
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
|
|
|
|
nav {
|
|
position: sticky; top: 0; z-index: 300;
|
|
background: rgba(255,255,255,0.92);
|
|
backdrop-filter: blur(20px);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
|
|
.nav-logo { font-size: 1.375rem; font-weight: 900; color: var(--text-dark); text-decoration: none; }
|
|
.nav-logo span { color: var(--blue); }
|
|
.nav-links { display: flex; gap: 32px; }
|
|
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.15s; }
|
|
.nav-links a:hover { color: var(--text-dark); }
|
|
|
|
.hero { padding: 80px 0 60px; text-align: center; background: var(--surface); }
|
|
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
|
|
.hero p { font-size: 1.25rem; color: var(--text-body); max-width: 600px; margin: 0 auto; }
|
|
.hero-badge {
|
|
display: inline-flex; align-items: center; gap: 8px;
|
|
background: var(--blue-glow); color: var(--blue);
|
|
border: 1px solid rgba(0,102,255,0.2); border-radius: 24px;
|
|
padding: 7px 18px; font-size: 0.8125rem; font-weight: 700; margin-bottom: 24px;
|
|
}
|
|
|
|
.section { padding: 60px 0; }
|
|
.section-title { text-align: center; margin-bottom: 48px; }
|
|
.section-title h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
|
|
.section-title p { font-size: 1.1rem; color: var(--text-muted); }
|
|
|
|
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
|
|
.card {
|
|
background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
|
|
padding: 40px; transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
|
|
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
|
|
.card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
|
|
|
|
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
|
|
.related-card {
|
|
background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px;
|
|
padding: 28px; transition: all 0.2s; text-decoration: none; color: inherit;
|
|
display: flex; flex-direction: column;
|
|
}
|
|
.related-card:hover {
|
|
transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.08);
|
|
border-color: rgba(0,102,255,0.25);
|
|
}
|
|
.related-card .related-flag { font-size: 1.5rem; margin-bottom: 12px; }
|
|
.related-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text-dark); }
|
|
.related-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
|
|
.related-card .related-arrow {
|
|
margin-top: auto; padding-top: 16px;
|
|
color: var(--blue); font-size: 0.875rem; font-weight: 600;
|
|
display: flex; align-items: center; gap: 6px;
|
|
}
|
|
|
|
.breadcrumb {
|
|
padding: 20px 0 0;
|
|
font-size: 0.875rem; color: var(--text-muted);
|
|
}
|
|
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
|
|
.breadcrumb a:hover { color: var(--blue); }
|
|
.breadcrumb span { color: var(--text-dark); font-weight: 500; }
|
|
|
|
.cta {
|
|
background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
|
|
padding: 60px; text-align: center; margin: 40px 0;
|
|
}
|
|
.cta h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
|
|
.cta p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; }
|
|
.btn {
|
|
display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
|
|
padding: 14px 32px; border-radius: 12px; font-weight: 600; transition: background 0.2s;
|
|
}
|
|
.btn:hover { background: var(--blue-dark); }
|
|
.btn-secondary {
|
|
display: inline-block; background: var(--surface); color: var(--blue);
|
|
text-decoration: none; padding: 14px 32px; border-radius: 12px;
|
|
font-weight: 600; border: 2px solid var(--blue); margin-left: 12px;
|
|
transition: all 0.2s;
|
|
}
|
|
.btn-secondary:hover { background: var(--blue); color: #fff; }
|
|
|
|
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 0; }
|
|
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
|
|
.footer-links { display: flex; gap: 24px; }
|
|
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; }
|
|
.footer-links a:hover { color: var(--text-dark); }
|
|
|
|
@media (max-width: 768px) {
|
|
.nav-links { display: none; }
|
|
.cta { padding: 40px 24px; }
|
|
.btn-secondary { margin-left: 0; margin-top: 12px; }
|
|
.footer-inner { flex-direction: column; text-align: center; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<nav>
|
|
<div class="container">
|
|
<div class="nav-inner">
|
|
<a href="/" class="nav-logo">qui<span>X</span>zoom</a>
|
|
<div class="nav-links">
|
|
<a href="/">Home</a>
|
|
<a href="/about">About</a>
|
|
<a href="/pricing">Pricing</a>
|
|
<a href="/features">Features</a>
|
|
<a href="/how-it-works">How It Works</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section class="hero">
|
|
<div class="container">
|
|
<div class="breadcrumb">
|
|
<a href="/">Home</a> → <a href="/$service_slug">$service_name</a> → <span>$city_name</span>
|
|
</div>
|
|
<div class="hero-badge">$country_flag $city_name · $compliance Compliant</div>
|
|
<h1>$service_name in $city_name</h1>
|
|
<p>$(echo "$service_desc" | sed "s/{city}/$city_name/g; s/{compliance}/$compliance/g")</p>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section">
|
|
<div class="container">
|
|
<div class="section-title">
|
|
<h2>Why choose quiXzoom in $city_name</h2>
|
|
<p>Local expertise, global standards</p>
|
|
</div>
|
|
<div class="grid">
|
|
<div class="card">
|
|
<h3>Local Coverage</h3>
|
|
<p>Zoomers available throughout $city_name and surrounding areas. Fast response times, local knowledge.</p>
|
|
</div>
|
|
<div class="card">
|
|
<h3>$compliance Compliant</h3>
|
|
<p>All inspections follow $compliance regulations and documentation standards. Digital reports ready for submission.</p>
|
|
</div>
|
|
<div class="card">
|
|
<h3>Rapid Deployment</h3>
|
|
<p>Missions can be deployed within hours. Same-day verification available for urgent requests.</p>
|
|
</div>
|
|
<div class="card">
|
|
<h3>Verified Data</h3>
|
|
<p>AI-powered quality control with geolocation, timestamps, and metadata. Court-admissible evidence.</p>
|
|
</div>
|
|
<div class="card">
|
|
<h3>Cost Effective</h3>
|
|
<p>Up to 70% cheaper than traditional inspection services. Pay per mission, no retainers.</p>
|
|
</div>
|
|
<div class="card">
|
|
<h3>Scalable</h3>
|
|
<p>From single inspections to city-wide campaigns. Handle any volume with our distributed network.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section" style="background: var(--surface);">
|
|
<div class="container">
|
|
<div class="section-title">
|
|
<h2>Related services in $city_name</h2>
|
|
<p>Complete inspection solutions</p>
|
|
</div>
|
|
<div class="related-grid">
|
|
$related
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section">
|
|
<div class="container">
|
|
<div class="cta">
|
|
<h2>Start inspecting in $city_name today</h2>
|
|
<p>Get a custom quote for your inspection programme. No minimum commitment.</p>
|
|
<a href="/pricing" class="btn">View pricing</a>
|
|
<a href="mailto:sales@quixzoom.com" class="btn-secondary">Contact sales</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<footer>
|
|
<div class="container">
|
|
<div class="footer-inner">
|
|
<div class="footer-links">
|
|
<a href="/">Home</a>
|
|
<a href="/about">About</a>
|
|
<a href="/pricing">Pricing</a>
|
|
<a href="/features">Features</a>
|
|
</div>
|
|
<div class="footer-links">
|
|
<a href="/privacy">Privacy</a>
|
|
<a href="/terms">Terms</a>
|
|
<a href="/security">Security</a>
|
|
</div>
|
|
<p style="color:var(--text-muted);font-size:0.875rem;">© 2026 quiXzoom. Operated by Landvex AB.</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
EOF
|
|
}
|
|
|
|
# Generate pages for each country, city, and service
|
|
count=0
|
|
for country in sweden germany france uk netherlands; do
|
|
country_flag=""
|
|
case $country in
|
|
sweden) country_flag="🇸🇪" ;;
|
|
germany) country_flag="🇩🇪" ;;
|
|
france) country_flag="🇫🇷" ;;
|
|
uk) country_flag="🇬🇧" ;;
|
|
netherlands) country_flag="🇳🇱" ;;
|
|
esac
|
|
|
|
IFS=':' read -ra CITY_LIST <<< "${CITIES[$country]}"
|
|
|
|
for city_info in "${CITY_LIST[@]}"; do
|
|
city_slug=$(echo "$city_info" | cut -d'|' -f1)
|
|
city_name=$(echo "$city_info" | cut -d'|' -f2)
|
|
|
|
IFS=$'\n' read -d '' -ra SERVICE_LIST <<< "$SERVICES"
|
|
|
|
for service_info in "${SERVICE_LIST[@]}"; do
|
|
[[ -z "$service_info" ]] && continue
|
|
|
|
service_slug=$(echo "$service_info" | cut -d'|' -f1)
|
|
service_name=$(echo "$service_info" | cut -d'|' -f2)
|
|
service_desc=$(echo "$service_info" | cut -d'|' -f3)
|
|
|
|
echo "Generating: $service_slug/$city_slug..."
|
|
|
|
# Generate page
|
|
page_content=$(generate_city_page "$service_slug" "$service_name" "$service_desc" "$city_slug" "$city_name" "$country" "${COMPLIANCE[$country]}" "$country_flag")
|
|
|
|
# Upload to S3
|
|
echo "$page_content" | aws s3 cp - "s3://quixzoom-landing-prod/$service_slug/$city_slug.html" --content-type "text/html" --cache-control "max-age=3600"
|
|
|
|
((count++))
|
|
done
|
|
done
|
|
done
|
|
|
|
echo ""
|
|
echo "✅ Generated $count city-specific landing pages"
|
|
echo "Invalidating CloudFront cache..."
|
|
aws cloudfront create-invalidation --distribution-id EE30B9WM5ZYM7 --paths "/*" --query 'Invalidation.Id' --output text
|