import React from "react";
import { useTranslation } from "react-i18next";

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

  return (
    <footer className="bg-gray-800 dark:bg-gray-900 text-white py-8 border-t border-gray-700 dark:border-gray-800">
      <div className="container mx-auto px-4 text-center">
        <p className="text-sm opacity-90">
          {t("footer.copyright", { year: currentYear })}
        </p>
      </div>
    </footer>
  );
};

export default Footer;