Skip to content

Commit

Permalink
Updates year in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
a-poor committed Jan 4, 2025
1 parent 2b59eb3 commit 08b632a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { useMemo } from 'react';
import { Link } from 'react-router';

export function Footer() {
const year = useMemo(() => new Date().getFullYear(), []);
return (
<footer className="pt-8 pb-14 bg-zinc-100 dark:bg-zinc-950 flex flex-col gap-4 text-sm text-gray-600 dark:text-gray-400">
<div className="flex flex-row gap-4 items-center justify-center">
Expand Down Expand Up @@ -41,7 +43,7 @@ export function Footer() {
***
</div>
<div className="text-center">
&copy; 2020-{new Date().getFullYear()} Austin Poor
&copy; 2020-{year} Austin Poor
</div>
</footer>
);
Expand Down

0 comments on commit 08b632a

Please sign in to comment.