26 lines
757 B
TypeScript
26 lines
757 B
TypeScript
import { GITEA_URL, GITEA_USERNAME } from '@/lib/config';
|
|
|
|
export default function Footer() {
|
|
return (
|
|
<footer className="border-t border-slate-200/80 py-8 px-6">
|
|
<div
|
|
className="max-w-5xl mx-auto flex items-center justify-between flex-wrap gap-4
|
|
text-xs text-slate-600 font-mono"
|
|
>
|
|
<span>© {new Date().getFullYear()} William March</span>
|
|
|
|
<a
|
|
href={`${GITEA_URL}/${GITEA_USERNAME}`}
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
className="hover:text-slate-900 transition-colors"
|
|
>
|
|
{GITEA_URL.replace(/^https?:\/\//, '')}/{GITEA_USERNAME}
|
|
</a>
|
|
|
|
<span className="text-slate-500">williammarch.xyz</span>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|