feat: refonte UI éditoriale — style Messager + animations boutons
Navbar : - Style éditorial : liens uppercase tracking-wide, underline slide au hover - Bouton "Devis gratuit" avec animation slide-fill - Active state par pathname Page d'accueil : - Hero split : texte gauche (clamp typography) + panneau diagonal brique droit - Services : fond navy-light, cards avec bordure top orange, emoji + arrow animée - Bande CTA : bg-orange full-width, btn-fill-white + btn-outline-light - Réalisations : grid avec overlay slide-from-bottom au hover (rouge brique) - Témoignages : dark navy, cards avec border-top - Zone intervention : split 2 cols, pills uppercase - Partenaires : grid 8 cols, grayscale → couleur au hover - FAQ : split 2 cols, accordion avec icône + rotation - Contact : split dark/light — infos gauche + formulaire droit Globals.css : - Classes .btn, .btn-fill, .btn-outline-dark/light, .btn-fill-white, .btn-arrow - Animation slide-from-left via ::before pseudo-element - .realisation-overlay (slide-up), .hero-diagonal-panel (clip-path) - .nav-link (underline grow), .service-card-dark, .faq-icon ContactForm + Footer : style éditorial squares, uppercase labels https://claude.ai/code/session_01Uec4iHjcPwB1pU41idWEdF
This commit is contained in:
@@ -15,100 +15,116 @@ export default function Footer() {
|
||||
} = siteConfig;
|
||||
|
||||
return (
|
||||
<footer className="bg-navy text-white pt-12 pb-6">
|
||||
<div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div className="grid grid-cols-1 md:grid-cols-4 gap-8 pb-10 border-b border-white/10">
|
||||
{/* Brand */}
|
||||
<div className="md:col-span-2">
|
||||
<div className="flex items-center gap-2.5 mb-4">
|
||||
<div className="w-10 h-10 bg-orange rounded-lg flex items-center justify-center shrink-0">
|
||||
<span className="text-white font-bold text-xs">OBC</span>
|
||||
</div>
|
||||
<div className="flex flex-col leading-tight">
|
||||
<span className="text-white font-bold text-base leading-none">OBC</span>
|
||||
<span className="text-orange-light font-bold text-base leading-none">Maçonnerie</span>
|
||||
<footer className="bg-navy-dark text-white">
|
||||
{/* Top band */}
|
||||
<div className="border-b border-white/8">
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 md:py-16">
|
||||
<div className="grid grid-cols-1 md:grid-cols-12 gap-10 md:gap-8">
|
||||
|
||||
{/* Brand */}
|
||||
<div className="md:col-span-4">
|
||||
<div className="flex items-center gap-3 mb-6">
|
||||
<div className="w-11 h-11 bg-orange flex items-center justify-center shrink-0">
|
||||
<span className="text-white font-black text-xs tracking-wider">OBC</span>
|
||||
</div>
|
||||
<div className="flex flex-col leading-none gap-0.5">
|
||||
<span className="text-white font-black text-sm tracking-[0.18em] uppercase">OBC</span>
|
||||
<span className="text-orange-light font-bold text-xs tracking-[0.18em] uppercase">Maçonnerie</span>
|
||||
</div>
|
||||
</div>
|
||||
<p className="text-white/50 text-sm leading-relaxed mb-6 max-w-xs">
|
||||
{dirigeant}, maçon expert en construction de maison, rénovation et gros œuvre dans le Nord (59).
|
||||
</p>
|
||||
<a
|
||||
href={`tel:${phoneRaw}`}
|
||||
className="inline-flex items-center gap-2 text-orange font-bold text-base hover:text-white transition-colors group"
|
||||
>
|
||||
<svg className="w-4 h-4 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z" />
|
||||
</svg>
|
||||
{phone}
|
||||
</a>
|
||||
<p className="text-white/30 text-xs mt-2">{address}</p>
|
||||
</div>
|
||||
<p className="text-white/70 text-sm leading-relaxed mb-4 max-w-xs">
|
||||
{dirigeant}, maçon expert en construction de maison, rénovation et gros
|
||||
œuvre dans le Nord. De la première pierre à la remise des clés.
|
||||
</p>
|
||||
<a
|
||||
href={`tel:${phoneRaw}`}
|
||||
className="inline-flex items-center gap-2 text-orange-light font-bold text-base hover:text-white 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="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z" />
|
||||
</svg>
|
||||
{phone}
|
||||
</a>
|
||||
<p className="text-white/40 text-xs mt-2">{address}</p>
|
||||
</div>
|
||||
|
||||
{/* Services */}
|
||||
<div>
|
||||
<h4 className="text-white font-semibold text-sm mb-4 uppercase tracking-wide">
|
||||
Services
|
||||
</h4>
|
||||
<ul className="space-y-2">
|
||||
{footerServicesNav.map((item) => (
|
||||
<li key={item.href}>
|
||||
<Link
|
||||
href={item.href}
|
||||
className="text-white/60 hover:text-white text-sm transition-colors"
|
||||
>
|
||||
{item.label}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
{/* Services */}
|
||||
<div className="md:col-span-3">
|
||||
<h4 className="text-white font-black text-xs uppercase tracking-[0.2em] mb-5 flex items-center gap-3">
|
||||
<span className="w-4 h-px bg-orange" />
|
||||
Services
|
||||
</h4>
|
||||
<ul className="space-y-2.5">
|
||||
{footerServicesNav.map((item) => (
|
||||
<li key={item.href}>
|
||||
<Link
|
||||
href={item.href}
|
||||
className="text-white/45 hover:text-white text-sm transition-colors hover:translate-x-1 inline-block duration-200"
|
||||
>
|
||||
{item.label}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{/* Navigation + Légal */}
|
||||
<div>
|
||||
<h4 className="text-white font-semibold text-sm mb-4 uppercase tracking-wide">
|
||||
Navigation
|
||||
</h4>
|
||||
<ul className="space-y-2">
|
||||
{footerMainNav.map((item) => (
|
||||
<li key={item.href}>
|
||||
<Link
|
||||
href={item.href}
|
||||
className="text-white/60 hover:text-white text-sm transition-colors"
|
||||
>
|
||||
{item.label}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
<h4 className="text-white font-semibold text-sm mb-3 mt-5 uppercase tracking-wide">
|
||||
Légal
|
||||
</h4>
|
||||
<ul className="space-y-2">
|
||||
{footerLegalNav.map((item) => (
|
||||
<li key={item.href}>
|
||||
<Link
|
||||
href={item.href}
|
||||
className="text-white/60 hover:text-white text-sm transition-colors"
|
||||
>
|
||||
{item.label}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
{/* Navigation */}
|
||||
<div className="md:col-span-2">
|
||||
<h4 className="text-white font-black text-xs uppercase tracking-[0.2em] mb-5 flex items-center gap-3">
|
||||
<span className="w-4 h-px bg-orange" />
|
||||
Navigation
|
||||
</h4>
|
||||
<ul className="space-y-2.5">
|
||||
{footerMainNav.map((item) => (
|
||||
<li key={item.href}>
|
||||
<Link
|
||||
href={item.href}
|
||||
className="text-white/45 hover:text-white text-sm transition-colors hover:translate-x-1 inline-block duration-200"
|
||||
>
|
||||
{item.label}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{/* Légal + CTA */}
|
||||
<div className="md:col-span-3">
|
||||
<h4 className="text-white font-black text-xs uppercase tracking-[0.2em] mb-5 flex items-center gap-3">
|
||||
<span className="w-4 h-px bg-orange" />
|
||||
Légal
|
||||
</h4>
|
||||
<ul className="space-y-2.5 mb-8">
|
||||
{footerLegalNav.map((item) => (
|
||||
<li key={item.href}>
|
||||
<Link
|
||||
href={item.href}
|
||||
className="text-white/45 hover:text-white text-sm transition-colors hover:translate-x-1 inline-block duration-200"
|
||||
>
|
||||
{item.label}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
<Link
|
||||
href="/contact"
|
||||
className="btn btn-fill text-xs uppercase tracking-widest px-5 py-3 w-full justify-center"
|
||||
>
|
||||
<span>Devis gratuit</span>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Bottom */}
|
||||
<div className="pt-6 flex flex-col md:flex-row items-center justify-between gap-3">
|
||||
<p className="text-white/40 text-xs text-center md:text-left">
|
||||
© {new Date().getFullYear()} {name} — {dirigeant} · SIREN{" "}
|
||||
{siren.replace(/(\d{3})(\d{3})(\d{3})/, "$1 $2 $3")}
|
||||
{/* Bottom bar */}
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-5">
|
||||
<div className="flex flex-col md:flex-row items-center justify-between gap-3 text-white/25 text-xs">
|
||||
<p>
|
||||
© {new Date().getFullYear()} {name} — {dirigeant}{" "}
|
||||
· SIREN {siren.replace(/(\d{3})(\d{3})(\d{3})/, "$1 $2 $3")}
|
||||
</p>
|
||||
<p className="text-white/40 text-xs text-center md:text-right">
|
||||
Orchies · Mouchin · Douai · Valenciennes ·
|
||||
Saint-Amand-les-Eaux —{" "}
|
||||
<span className="text-white/30">Site réalisé par HookLab</span>
|
||||
<p className="text-center">
|
||||
Orchies · Mouchin · Douai · Valenciennes · Saint-Amand-les-Eaux
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user