Skip to content

Commit

Permalink
cleanup: replace present with the current year from build
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits committed Jun 20, 2024
1 parent 1ad0c7f commit ff03447
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ export default function Home() {
return color;
}

const currentYear = new Date().getFullYear();

return (
<main
className={`${inter.className} transition-all pt-12 ${inter.className} ${
Expand Down Expand Up @@ -297,7 +299,7 @@ export default function Home() {
</a>
</p>
<p className="font-bold dark:text-neutral-500 text-neutral-800 mt-3">
© 2023-present Gabriel Cozma. All rights reserved.
© 2023-{currentYear} Gabriel Cozma. All rights reserved.
</p>
<section className="flex justify-center gap-4 mt-3">
<p
Expand Down

0 comments on commit ff03447

Please sign in to comment.