Skip to content

Commit

Permalink
Update footer.tsx
Browse files Browse the repository at this point in the history
Update footer.tsx to always match current year
  • Loading branch information
mitmarcus committed Sep 20, 2024
1 parent efb2ec7 commit 36c358a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import Link from '@/components/ui/link';
import { siteConfig } from '@/config/site';

const Footer = () => {
const currentYear = new Date().getFullYear();

return (
<footer className='layout'>
<div className='flex flex-col items-center justify-between gap-4 py-24 sm:flex-row'>
<div className='text-sm text-foreground'>
© 2024 Tom Jin. All rights reserved.
© {currentYear} Tom Jin. All rights reserved.
</div>
<div className='flex items-center gap-2'>
<Link
Expand Down

0 comments on commit 36c358a

Please sign in to comment.