From ff03447abfe44354650cdbcde3b10913bdf1d8b7 Mon Sep 17 00:00:00 2001
From: Gabriel Cozma
Date: Thu, 20 Jun 2024 23:50:31 +0300
Subject: [PATCH] cleanup: replace present with the current year from build
---
src/pages/index.tsx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index ec2564b..4b99c23 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -227,6 +227,8 @@ export default function Home() {
return color;
}
+ const currentYear = new Date().getFullYear();
+
return (
- © 2023-present Gabriel Cozma. All rights reserved.
+ © 2023-{currentYear} Gabriel Cozma. All rights reserved.