This commit is contained in:
2026-04-12 22:51:57 +02:00
parent a5ccf2047b
commit c26c3b9485
37 changed files with 934 additions and 34 deletions

View File

@@ -5,19 +5,31 @@ import React from 'react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
const Footer = () => {
interface FooterProps {
settings?: any;
}
const Footer = ({ settings }: FooterProps) => {
const pathname = usePathname() || '';
if (pathname.startsWith('/dashboard')) return null;
const siteInfo = settings || {
siteName: "Afropreunariat",
siteSlogan: "La plateforme de référence pour l'entrepreneuriat africain. Visibilité, connexion et croissance pour les TPE/PME.",
contactEmail: "support@afropreunariat.com",
contactPhone: "+225 00 00 00 00 00",
address: "Abidjan, Côte d'Ivoire / Paris, France",
footerText: "© 2025 Afropreunariat. Tous droits réservés."
};
return (
<footer className="bg-dark-900 text-white">
<div className="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8">
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
<div>
<h3 className="text-2xl font-serif font-bold text-brand-500 mb-4">Afropreunariat</h3>
<h3 className="text-2xl font-serif font-bold text-brand-500 mb-4">{siteInfo.siteName}</h3>
<p className="text-gray-400 text-sm">
La plateforme de référence pour l'entrepreneuriat africain.
Visibilité, connexion et croissance pour les TPE/PME.
{siteInfo.siteSlogan}
</p>
</div>
<div>
@@ -30,12 +42,20 @@ const Footer = () => {
</div>
<div>
<h4 className="font-bold text-lg mb-4">Contact</h4>
<p className="text-gray-400 text-sm mb-2">Abidjan, Côte d'Ivoire / Paris, France</p>
<p className="text-gray-400 text-sm">support@afropreunariat.com</p>
<p className="text-gray-400 text-sm mb-2">{siteInfo.address}</p>
<p className="text-gray-400 text-sm">{siteInfo.contactEmail}</p>
{siteInfo.contactPhone && <p className="text-gray-400 text-sm mt-1">{siteInfo.contactPhone}</p>}
</div>
<div>
<h4 className="font-bold text-lg mb-4">Légal</h4>
<ul className="space-y-2 text-gray-400 text-sm">
<li><Link href="/cgu" className="hover:text-brand-500 transition-colors">CGU</Link></li>
<li><Link href="/cgv" className="hover:text-brand-500 transition-colors">CGV</Link></li>
</ul>
</div>
</div>
<div className="mt-8 pt-8 border-t border-gray-800 text-center text-gray-500 text-sm">
&copy; 2025 Afropreunariat. Tous droits réservés.
{siteInfo.footerText}
</div>
</div>
</footer>