From 33641489f9f35d7b346642481294cc0eb25f2ee1 Mon Sep 17 00:00:00 2001
From: ekambains <bainseka@sheridancollege.ca>
Date: Sat, 12 Apr 2025 14:53:09 -0400
Subject: fix(landing): Made the year in footer dynamic (#1223)

---
 apps/landing/src/Homepage.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'apps/landing/src/Homepage.tsx')

diff --git a/apps/landing/src/Homepage.tsx b/apps/landing/src/Homepage.tsx
index 85290a26..988ac970 100644
--- a/apps/landing/src/Homepage.tsx
+++ b/apps/landing/src/Homepage.tsx
@@ -91,6 +91,8 @@ const featuresList = [
   },
 ];
 
+const currentYear = new Date().getFullYear();
+
 function NavBar() {
   return (
     <div className="flex justify-between px-3 py-4">
@@ -219,7 +221,7 @@ function Features() {
 function Footer() {
   return (
     <div className="flex items-center justify-between bg-black px-10 py-6 text-sm text-gray-300">
-      <div>© 2024-2025 karakeep.app</div>
+      <div>© 2024-{currentYear} karakeep.app</div>
       <div className="flex items-center gap-6">
         <a href={DOCS_LINK} className="flex justify-center gap-2 text-center">
           Docs
-- 
cgit v1.2.3-70-g09d2

