fix: make the copyright year on the footer begin from 2024

This commit is contained in:
Dorian Niemiec 2024-11-08 11:35:49 +01:00
parent d4918a83ac
commit 56ca94c0ff

View file

@ -54,7 +54,8 @@ function Footer() {
<div className="border-t mb-6 border-gray-300 dark:border-white/30"></div>
<div className="flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0 px-4">
<span className="text-sm font-light">
Copyright © 2023-{currentYear}{" "}
Copyright © {currentYear == 2024 ? "" : "2024-"}
{currentYear}{" "}
<Link
href={footerLinks.footerBottom.rightsReserved.href}
className="text-primary font-semibold"