diff options
| author | ekambains <bainseka@sheridancollege.ca> | 2025-04-12 14:53:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-12 19:53:09 +0100 |
| commit | 33641489f9f35d7b346642481294cc0eb25f2ee1 (patch) | |
| tree | 05caa63619f12d0e38bcce15ef51951014c99b6b /apps/landing | |
| parent | 8ffef681e4b48b4b67f1743c012e8a8fecd26b17 (diff) | |
| download | karakeep-33641489f9f35d7b346642481294cc0eb25f2ee1.tar.zst | |
fix(landing): Made the year in footer dynamic (#1223)
Diffstat (limited to 'apps/landing')
| -rw-r--r-- | apps/landing/src/Homepage.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
