revert to stable TS vs TS7@rc. Added Gitea repo link.

This commit is contained in:
2026-06-22 16:16:00 +02:00
parent d636ebf5ba
commit 9993dbd727
4 changed files with 29 additions and 11 deletions
+25 -7
View File
@@ -1,25 +1,43 @@
import forgejo from "../assets/images/forgejo.svg";
import gitea from "../assets/images/gitea.svg";
export default function Footer() {
const currentYear = new Date().getFullYear();
const goToRepo = () => {
const goToForgejo = () => {
window.location.href =
"https://git.aramjonghu.nl/AramJonghu/aramjonghu-site";
};
const goToGitea = () => {
window.location.href =
"https://git.zach-dev.cc/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>
<div className="flex">
<p className="text-sm text-ctp-text">
Check out the website repository here:
</p>
<img
src={forgejo}
alt="Forgejo repository"
onClick={goToRepo}
className="w-6 h-6 cursor-pointer hover:opacity-80 transition-opacity"
/>
<img
src={forgejo}
alt="Forgejo repository"
onClick={goToForgejo}
className="ml-2 w-6 h-6 cursor-pointer hover:opacity-80 transition-opacity"
/>
<img
src={gitea}
alt="Gitea mirror"
onClick={goToGitea}
className="ml-2 w-6 h-6 cursor-pointer hover:opacity-80 transition-opacity"
/>
</div>
</footer>
);
}