mirror of
https://git.aramjonghu.nl/AramJonghu/aramjonghu-site.git
synced 2026-06-07 09:38:23 +02:00
26 lines
713 B
React
26 lines
713 B
React
import forgejo from "../assets/images/forgejo.svg";
|
|
|
|
export default function Footer() {
|
|
const currentYear = new Date().getFullYear();
|
|
|
|
const goToRepo = () => {
|
|
window.location.href =
|
|
"https://git.aramjonghu.nl/AramJonghu/aramjonghu-site";
|
|
};
|
|
|
|
return (
|
|
<footer className="bg-ctp-mantle flex items-center justify-between px-24 py-6 border-t border-ctp-lavender-800 mt-10">
|
|
<p className="text-sm text-ctp-text">
|
|
© {currentYear} AramJonghu. All rights reserved.
|
|
</p>
|
|
|
|
<img
|
|
src={forgejo}
|
|
alt="Forgejo repository"
|
|
onClick={goToRepo}
|
|
className="w-6 h-6 cursor-pointer hover:opacity-80 transition-opacity"
|
|
/>
|
|
</footer>
|
|
);
|
|
}
|