feat: Transform HookLab to OBC Maçonnerie showcase site

Complete transformation of the Next.js project into a professional
showcase site for OBC Maçonnerie (Benoît Colin, maçon in Nord 59).

Key changes:
- Remove all HookLab/Sanity/Supabase/Stripe/admin/training infrastructure
- Full OBC Maçonnerie identity: logo, colors, contact info, SIREN
- Schema.org LocalBusiness structured data for Benoît Colin
- SEO metadata for all pages targeting Nord 59 keywords

New pages created (23 total):
- Home page with 10 sections (hero, services, pillars, partners,
  zone, realisations, testimonials, FAQ, contact form, footer)
- Service pages: construction-maison, renovation, assainissement,
  creation-acces, demolition, services
- Secondary pages: realisations, partenaires, contact
- Blog: listing + 6 SEO articles with static content
- 8 local SEO pages: Orchies, Douai, Valenciennes, Mouchin,
  Flines-lès-Raches, Saint-Amand-les-Eaux
- Legal pages: mentions-legales, cgv, confidentialite (OBC adapted)

Components:
- Navbar with OBC branding + mobile menu
- Footer with dark navy theme, services + navigation links
- ContactForm client component (devis request)
- LocalSEOPage reusable component for local SEO pages
- CookieBanner updated with OBC cookie key

Config:
- layout.tsx: OBC metadata, Schema.org, no Sanity CDN
- globals.css: stone color variables added
- next.config.ts: removed Sanity CDN remotePatterns
- sitemap.ts: all 30 OBC pages
- robots.ts: allow all except /api/
- api/contact/route.ts: OBC devis email template

https://claude.ai/code/session_01Uec4iHjcPwB1pU41idWEdF
This commit is contained in:
Claude
2026-02-27 09:05:03 +00:00
parent 45d080197a
commit 3adcec00b7
113 changed files with 3134 additions and 11663 deletions

117
app/assainissement/page.tsx Normal file
View File

@@ -0,0 +1,117 @@
import type { Metadata } from "next";
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";
export const metadata: Metadata = {
title: "Assainissement Maison Nord 59 | OBC Maçonnerie",
description:
"Création et mise aux normes de systèmes d'assainissement dans le Nord (59). OBC Maçonnerie intervient à Orchies, Douai, Valenciennes et alentours. Devis gratuit.",
keywords: [
"assainissement maison Nord",
"assainissement individuel Nord 59",
"fosse septique Nord",
"mise aux normes assainissement",
"assainissement Orchies",
"assainissement Douai",
],
alternates: { canonical: "https://obc-maconnerie.fr/assainissement" },
};
const prestations = [
{ icon: "🔍", title: "Diagnostic", desc: "Analyse de votre installation existante et vérification de sa conformité aux normes en vigueur." },
{ icon: "🏗️", title: "Création de fosse", desc: "Installation d'une fosse toutes eaux ou d'une micro-station d'épuration adaptée à votre terrain." },
{ icon: "🌱", title: "Épandage", desc: "Création ou réhabilitation du dispositif d'épandage pour un traitement optimal des eaux usées." },
{ icon: "🔧", title: "Réhabilitation", desc: "Remise en état d'une installation vieillissante ou non conforme pour éviter les sanctions." },
{ icon: "📋", title: "Mise aux normes", desc: "Mise en conformité suite à un contrôle SPANC ou en cas de vente immobilière." },
{ icon: "💧", title: "Raccordement réseau", desc: "Connexion au réseau d'assainissement collectif lorsque celui-ci est disponible." },
];
export default function AssainissementPage() {
return (
<main id="main-content" className="min-h-screen">
<Navbar />
<section className="bg-navy py-16 md:py-24">
<div className="max-w-5xl mx-auto px-4 sm:px-6">
<div className="max-w-2xl">
<ScrollReveal direction="up">
<Link href="/services" className="inline-flex items-center gap-1.5 text-white/50 hover:text-white text-sm mb-6 transition-colors">
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M15 19l-7-7 7-7" />
</svg>
Tous les services
</Link>
<span className="text-orange text-sm font-semibold uppercase tracking-widest">Assainissement</span>
<h1 className="text-3xl md:text-5xl font-bold text-white mt-2 mb-4">
Assainissement dans le Nord
</h1>
<p className="text-white/70 text-lg mb-8">
Mise aux normes, création ou réhabilitation de votre système d&apos;assainissement OBC Maçonnerie intervient dans les règles de l&apos;art.
</p>
<div className="flex flex-col sm:flex-row gap-4">
<Link href="/contact" className="inline-flex items-center justify-center gap-2 bg-orange hover:bg-orange-hover text-white font-bold px-7 py-3.5 rounded-xl transition-colors pulse-glow">
Demander un devis gratuit
</Link>
<a href="tel:0674453089" className="inline-flex items-center justify-center gap-2 bg-white/10 hover:bg-white/20 text-white font-semibold px-7 py-3.5 rounded-xl transition-colors border border-white/20">
06 74 45 30 89
</a>
</div>
</ScrollReveal>
</div>
</div>
</section>
<section className="py-16 md:py-20 bg-bg">
<div className="max-w-5xl mx-auto px-4 sm:px-6">
<ScrollReveal direction="up">
<h2 className="text-2xl md:text-3xl font-bold text-navy mb-10 text-center">Nos prestations assainissement</h2>
</ScrollReveal>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
{prestations.map((p, i) => (
<ScrollReveal key={p.title} direction="up" delay={i * 80}>
<div className="bg-bg-white border border-border rounded-2xl p-6 h-full">
<div className="text-3xl mb-3">{p.icon}</div>
<h3 className="text-navy font-bold text-base mb-2">{p.title}</h3>
<p className="text-text-light text-sm leading-relaxed">{p.desc}</p>
</div>
</ScrollReveal>
))}
</div>
</div>
</section>
<section className="py-14 bg-stone-bg">
<div className="max-w-3xl mx-auto px-4 sm:px-6">
<ScrollReveal direction="up">
<h2 className="text-2xl font-bold text-navy mb-4">Assainissement dans le Nord (59)</h2>
<div className="space-y-4 text-text-light text-sm leading-relaxed">
<p>
OBC Maçonnerie réalise vos travaux d&apos;<strong className="text-text">assainissement non collectif dans le Nord</strong> fosse toutes eaux, micro-station, épandage, réhabilitation. Benoît Colin vous accompagne de l&apos;étude de votre terrain jusqu&apos;à la réception des travaux.
</p>
<p>
Que vous ayez besoin d&apos;une <strong className="text-text">mise aux normes suite à un contrôle SPANC</strong>, d&apos;une nouvelle installation pour une construction neuve ou d&apos;une réhabilitation de l&apos;existant, OBC Maçonnerie intervient à Orchies, Douai, Valenciennes, Mouchin et dans toutes les communes avoisinantes.
</p>
</div>
</ScrollReveal>
</div>
</section>
<section className="py-16 bg-bg">
<div className="max-w-xl mx-auto px-4 sm:px-6">
<ScrollReveal direction="up">
<h2 className="text-2xl font-bold text-navy mb-2 text-center">Votre projet assainissement</h2>
<p className="text-text-light text-sm text-center mb-8">Devis gratuit Réponse sous 24h</p>
</ScrollReveal>
<ScrollReveal direction="up" delay={100}>
<ContactForm />
</ScrollReveal>
</div>
</section>
<Footer />
</main>
);
}