"use client";
import { useScrollAnimation } from "@/hooks/useScrollAnimation";
import { useTheme } from "@/hooks/useTheme";
import {
Sparkles,
Github,
Twitter,
Linkedin,
Mail,
ArrowRight,
Sun,
Moon,
} from "lucide-react";
// Footer Link Component
function FooterLink({
href,
children,
}: {
href: string;
children: React.ReactNode;
}) {
return (
{children}
);
}
// Social Icon Component
function SocialIcon({
icon: Icon,
href,
label,
}: {
icon: React.ElementType;
href: string;
label: string;
}) {
return (
);
}
export function Footer() {
const { ref, isVisible } = useScrollAnimation({
threshold: 0.1,
});
const { theme, toggleTheme, mounted } = useTheme();
const productLinks = [
{ label: "Features", href: "#features" },
{ label: "How It Works", href: "#how-it-works" },
{ label: "Documentation", href: "#" },
{ label: "API Access", href: "#" },
{ label: "Updates", href: "#" },
];
const resourceLinks = [
{ label: "Blog", href: "#" },
{ label: "Guides", href: "#" },
{ label: "FAQ", href: "#" },
{ label: "Support", href: "#" },
{ label: "Contact", href: "#" },
];
const legalLinks = [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
{ label: "Cookie Policy", href: "#" },
{ label: "Security", href: "#" },
{ label: "GDPR", href: "#" },
];
return (
);
}