import { GITEA_URL, GITEA_USERNAME } from '@/lib/config';

export default function Footer() {
  return (
    <footer className="border-t border-white/[0.05] py-8 px-6">
      <div className="max-w-5xl mx-auto flex items-center justify-between flex-wrap gap-4
        text-xs text-white/20 font-mono">
        <span>© {new Date().getFullYear()} William March</span>
        <a href={`${GITEA_URL}/${GITEA_USERNAME}`} target="_blank" rel="noopener noreferrer"
          className="hover:text-white/40 transition-colors">
          {GITEA_URL.replace(/^https?:\/\//, '')}/{GITEA_USERNAME}
        </a>
        <span>williammarch.xyz</span>
      </div>
    </footer>
  );
}
