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
159 lines
6.4 KiB
TypeScript
159 lines
6.4 KiB
TypeScript
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";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Nos Réalisations | Chantiers OBC Maçonnerie Nord",
|
|
description:
|
|
"Découvrez les réalisations d'OBC Maçonnerie : constructions de maisons, rénovations, assainissement et créations d'accès dans le Nord (59). Galerie photos.",
|
|
alternates: { canonical: "https://obc-maconnerie.fr/realisations" },
|
|
};
|
|
|
|
const realisations = [
|
|
{
|
|
categorie: "Construction neuve",
|
|
titre: "Maison individuelle à Orchies",
|
|
desc: "Construction d'une maison de 130 m² — fondations, gros œuvre, dalle béton et ossature.",
|
|
zone: "Orchies (59)",
|
|
color: "bg-navy",
|
|
},
|
|
{
|
|
categorie: "Rénovation",
|
|
titre: "Rénovation complète à Douai",
|
|
desc: "Restructuration intérieure complète d'une maison de ville : abattage de cloisons, création d'un escalier neuf, doublages.",
|
|
zone: "Douai (59)",
|
|
color: "bg-stone",
|
|
},
|
|
{
|
|
categorie: "Assainissement",
|
|
titre: "Mise aux normes à Saint-Amand",
|
|
desc: "Remplacement d'une fosse septique vétuste par une micro-station d'épuration conforme aux normes.",
|
|
zone: "Saint-Amand-les-Eaux (59)",
|
|
color: "bg-navy-light",
|
|
},
|
|
{
|
|
categorie: "Création d'accès",
|
|
titre: "Entrée en béton imprimé à Mérignies",
|
|
desc: "Création d'une entrée de propriété en béton imprimé effet pavés, avec caniveau de drainage.",
|
|
zone: "Mérignies (59)",
|
|
color: "bg-orange",
|
|
},
|
|
{
|
|
categorie: "Construction neuve",
|
|
titre: "Extension ossature bois à Flines",
|
|
desc: "Agrandissement d'une maison existante par extension ossature bois, fondations et dalle.",
|
|
zone: "Flines-lès-Raches (59)",
|
|
color: "bg-navy",
|
|
},
|
|
{
|
|
categorie: "Démolition",
|
|
titre: "Démolition & reconstruction à Valenciennes",
|
|
desc: "Démolition d'un bâtiment annexe et curage d'une grange pour préparer une rénovation complète.",
|
|
zone: "Valenciennes (59)",
|
|
color: "bg-stone",
|
|
},
|
|
];
|
|
|
|
const cats = ["Tous", "Construction neuve", "Rénovation", "Assainissement", "Création d'accès", "Démolition"];
|
|
|
|
export default function RealisationsPage() {
|
|
return (
|
|
<main id="main-content" className="min-h-screen">
|
|
<Navbar />
|
|
|
|
<section className="bg-navy py-16 md:py-20">
|
|
<div className="max-w-4xl mx-auto px-4 sm:px-6 text-center">
|
|
<ScrollReveal direction="up">
|
|
<span className="text-orange text-sm font-semibold uppercase tracking-widest">Portfolio</span>
|
|
<h1 className="text-3xl md:text-5xl font-bold text-white mt-2 mb-4">Nos réalisations</h1>
|
|
<p className="text-white/70 text-lg max-w-xl mx-auto">
|
|
Chaque chantier est unique. Découvrez quelques-unes de nos réalisations dans le Nord.
|
|
</p>
|
|
</ScrollReveal>
|
|
</div>
|
|
</section>
|
|
|
|
{/* Filtres catégories */}
|
|
<section className="py-8 bg-bg border-b border-border">
|
|
<div className="max-w-6xl mx-auto px-4 sm:px-6">
|
|
<div className="flex flex-wrap gap-2 justify-center">
|
|
{cats.map((cat) => (
|
|
<span
|
|
key={cat}
|
|
className={`px-4 py-2 rounded-full text-sm font-medium cursor-default ${
|
|
cat === "Tous"
|
|
? "bg-navy text-white"
|
|
: "bg-bg-white border border-border text-text-light"
|
|
}`}
|
|
>
|
|
{cat}
|
|
</span>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{/* Galerie */}
|
|
<section className="py-16 md:py-20 bg-bg">
|
|
<div className="max-w-6xl mx-auto px-4 sm:px-6">
|
|
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
{realisations.map((r, i) => (
|
|
<ScrollReveal key={r.titre} direction="up" delay={i * 80}>
|
|
<div className="bg-bg-white border border-border rounded-2xl overflow-hidden hover:shadow-lg transition-all group card-hover">
|
|
<div className={`${r.color} h-48 flex items-center justify-center relative`}>
|
|
<span className="text-white/10 text-8xl font-black">{i + 1}</span>
|
|
<div className="absolute top-3 left-3">
|
|
<span className="bg-white/20 text-white text-xs font-semibold px-2.5 py-1 rounded-full">
|
|
{r.categorie}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div className="p-5">
|
|
<h3 className="text-navy font-bold text-base mb-2 group-hover:text-orange transition-colors">
|
|
{r.titre}
|
|
</h3>
|
|
<p className="text-text-light text-sm leading-relaxed mb-3">{r.desc}</p>
|
|
<div className="flex items-center gap-1 text-text-muted text-xs">
|
|
<span>📍</span>
|
|
<span>{r.zone}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ScrollReveal>
|
|
))}
|
|
</div>
|
|
|
|
<ScrollReveal direction="up" delay={200}>
|
|
<div className="mt-14 bg-stone-bg border border-border rounded-2xl p-8 text-center">
|
|
<h2 className="text-xl font-bold text-navy mb-2">
|
|
Vous avez un projet similaire ?
|
|
</h2>
|
|
<p className="text-text-light text-sm mb-6">
|
|
Benoît se déplace gratuitement pour évaluer votre chantier et vous remettre un devis.
|
|
</p>
|
|
<div className="flex flex-col sm:flex-row gap-4 justify-center">
|
|
<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"
|
|
>
|
|
Demander un devis gratuit
|
|
</Link>
|
|
<a
|
|
href="tel:0674453089"
|
|
className="inline-flex items-center justify-center gap-2 border-2 border-navy text-navy hover:bg-navy hover:text-white font-bold px-7 py-3.5 rounded-xl transition-colors"
|
|
>
|
|
06 74 45 30 89
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</ScrollReveal>
|
|
</div>
|
|
</section>
|
|
|
|
<Footer />
|
|
</main>
|
|
);
|
|
}
|