From f8e15f765c753af4eb7b8038e6b26ca9dd1158b1 Mon Sep 17 00:00:00 2001 From: Omar Oughriss Date: Mon, 20 Oct 2025 11:37:25 +0200 Subject: [PATCH] Create Footer component to refactor --- components/layout/Footer.tsx | 86 ++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 components/layout/Footer.tsx diff --git a/components/layout/Footer.tsx b/components/layout/Footer.tsx new file mode 100644 index 0000000..f4a1138 --- /dev/null +++ b/components/layout/Footer.tsx @@ -0,0 +1,86 @@ +import Link from "next/link" +import { Badge } from "@/components/ui/badge" +import { Shield } from "lucide-react" + +interface FooterProps { + variant?: 'default' | 'dark' + showNavigation?: boolean + onAuthClick?: () => void +} + +export default function Footer({ + variant = 'default', + showNavigation = true, + onAuthClick +}: FooterProps) { + const getFooterStyles = () => { + switch (variant) { + case 'dark': + return "bg-gray-900 text-gray-300 py-8 px-4" + default: + return "bg-gray-900 dark:bg-gray-900 text-white py-12 px-4 transition-colors" + } + } + + return ( + + ) +}