const Footer = () => {
    const currentYear = new Date().getFullYear();

    return (
        <section className="pt-10">
            <div className="mx-auto max-w-6xl px-4 sm:px-6 lg:px-8">
                <div className="border-t pt-8">
                    <div className="flex flex-col items-center justify-between space-y-4 sm:flex-row sm:space-y-0">
                        <div className="text-muted-foreground text-sm">© {currentYear} MEMEFAST. All rights reserved.</div>
                        <div className="flex space-x-6">
                            <a href="/" className="text-muted-foreground hover:text-foreground text-sm transition-colors">
                                Home
                            </a>
                            <a href="/terms" className="text-muted-foreground hover:text-foreground text-sm transition-colors">
                                Terms
                            </a>
                            <a href="/privacy" className="text-muted-foreground hover:text-foreground text-sm transition-colors">
                                Privacy
                            </a>
                            <a
                                href="https://discord.gg/YxKPrtPGZ2"
                                target="_blank"
                                rel="noopener noreferrer"
                                className="text-muted-foreground hover:text-foreground text-sm transition-colors"
                            >
                                Discord
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    );
};

export default Footer;
