From 687bbc73ed006dc82a083fe23d4ee8efc9aec2c7 Mon Sep 17 00:00:00 2001 From: Thibault Thuillier Date: Sun, 29 Sep 2024 21:10:25 +0200 Subject: [PATCH] feat: get year with Date --- frontend/src/Components/Footer.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/Components/Footer.jsx b/frontend/src/Components/Footer.jsx index 99f3cf1..7959373 100644 --- a/frontend/src/Components/Footer.jsx +++ b/frontend/src/Components/Footer.jsx @@ -1,6 +1,8 @@ import CircleBadge from "./CircleBadge"; const Footer = () => { + const currentYear = new Date().getFullYear(); + return (
@@ -11,7 +13,7 @@ const Footer = () => {
-

© FulmoFilms 2023 - Made with ❤️ by Chep0x61 !

+

© FulmoFilms {currentYear} - Made with ❤️ by Chep0x61 !

);