Files
demo-websites/lawfirm-demos/demo-2/components/Footer.tsx

32 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use client";
import Link from "next/link";
export default function Footer() {
const openCookieSettings = () => {
window.dispatchEvent(new Event('show-cookie-banner'));
};
return (
<footer className="bg-white dark:bg-gray-950 border-t border-gray-200 dark:border-gray-800 px-4 py-8 text-sm">
<div className="max-w-6xl mx-auto flex flex-col md:flex-row items-center justify-between gap-4">
<div className="text-gray-600 dark:text-gray-400 text-center md:text-left">
© {new Date().getFullYear()} Rechtsanwalt Max Mustermann Alle Rechte vorbehalten
</div>
<div className="flex gap-4 text-gray-600 dark:text-gray-400">
<Link href="/impressum" className="hover:underline">
Impressum
</Link>
<Link href="/datenschutz" className="hover:underline">
Datenschutz
</Link>
<button onClick={openCookieSettings} className="hover:underline">
Cookie-Einstellungen
</button>
</div>
</div>
</footer>
);
}