Skip to content

Commit 8c4dac3

Browse files
authored
Updates copyright year in footer (#36)
Ensures the copyright year in the footer dynamically updates to the current year, providing accurate and up-to-date information.
1 parent 4942cf8 commit 8c4dac3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/constants/footer.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { LuGithub } from "react-icons/lu";
33
import { RiTwitterXFill } from "react-icons/ri";
44
import { URLS } from "./urls";
55

6+
const currentYear = new Date().getFullYear();
7+
68
export interface FooterLink {
79
readonly label: string;
810
readonly href: string;
@@ -121,7 +123,7 @@ export const FOOTER_CONTENT = {
121123
},
122124
},
123125
legal: {
124-
copyright: "© 2025",
126+
copyright: ${currentYear}`,
125127
privacyPolicy: {
126128
label: "Privacy Policy",
127129
href: URLS.zondaxPrivacy,

0 commit comments

Comments
 (0)