Files
aramjonghu-site/frontend/src/components/Footer.jsx
T
2026-05-21 19:32:44 +00:00

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">
&copy; {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>
);
}