import Link from "next/link"; import Navbar from "@/components/marketing/Navbar"; import Footer from "@/components/marketing/Footer"; import ScrollReveal from "@/components/animations/ScrollReveal"; import ContactForm from "@/components/marketing/ContactForm"; import { siteConfig } from "@/lib/site-config"; interface LocalSEOPageProps { ville: string; departement?: string; servicesPrincipaux: string[]; description: string; texteIntro: string; texteLocal: string; distanceMouchin?: string; } // Services dérivés de siteConfig (sans "conseil" qui redirige vers /contact) const services = siteConfig.footerServicesNav.map((s) => { const found = siteConfig.services.find( (sc) => sc.title === s.label || `/${sc.slug}` === s.href ); return { icon: found?.icon ?? "🔧", label: s.label, href: s.href }; }); export default function LocalSEOPage({ ville, departement = "Nord (59)", servicesPrincipaux, description, texteIntro, texteLocal, distanceMouchin, }: LocalSEOPageProps) { const { phone, phoneRaw, address } = siteConfig; return (
{/* Hero */}
📍 {ville} — {departement}

Maçon {ville} — Construction & Rénovation

{texteIntro}

{distanceMouchin && (

{distanceMouchin} de Mouchin (siège OBC Maçonnerie)

)}
Demander un devis gratuit {phone}
{/* Services */}

Nos services à {ville}

{services.map((s, i) => (
{s.icon}

{s.label}

))}
{/* Texte SEO local */}

OBC Maçonnerie intervient à {ville}

{texteLocal.split("\n").map((para, i) => (

{para}

))}
OBC

Benoît Colin — OBC Maçonnerie

{address}

{phone}
{/* Formulaire */}

Votre projet à {ville}

Devis gratuit — Réponse sous 24h

); }