28 lines
1.0 KiB
TypeScript
28 lines
1.0 KiB
TypeScript
'use client';
|
|
|
|
import Link from 'next/link';
|
|
import Links from '@/data/Links';
|
|
|
|
export default function Footer() {
|
|
const openCookieSettings = () => {
|
|
window.dispatchEvent(new Event('show-cookie-banner'));
|
|
};
|
|
|
|
return (
|
|
<footer className="bg-white mt-auto py-10 px-6 md:px-12 lg:px-24 text-sm text-gray-600 border-t border-gray-200">
|
|
<div className="flex flex-col md:flex-row justify-between items-center gap-4">
|
|
<div>
|
|
<p>© {new Date().getFullYear()} Kanzlei Mustermann. Alle Rechte vorbehalten.</p>
|
|
</div>
|
|
<div className="space-x-4">
|
|
<Link href={Links.imprint} className="hover:underline">Impressum</Link>
|
|
<Link href={Links.privacy} className="hover:underline">Datenschutz</Link>
|
|
<button onClick={openCookieSettings} className="hover:underline">
|
|
Cookie-Einstellungen
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|