Skip to content

Commit 01f9b63

Browse files
committed
Change footer year to dynamic
1 parent 32af13b commit 01f9b63

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/footer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const sections = [
2929
];
3030

3131
export default function Footer() {
32+
const currentYear = new Date().getFullYear();
3233
return (
3334
<section className="border-t relative overflow-hidden py-10">
3435
<div className="container mx-auto max-w-7xl px-8">
@@ -59,7 +60,7 @@ export default function Footer() {
5960
))}
6061
</div>
6162
<div className="mt-24 flex flex-col justify-between gap-4 border-t pt-8 text-sm font-medium text-muted-foreground md:flex-row md:items-center">
62-
<p>© 2025 PyConKE. All rights reserved.</p>
63+
<p>© {currentYear} PyConKE. All rights reserved.</p>
6364
<ul className="flex gap-4">
6465
<li className="underline hover:text-primary">
6566
<a href="/terms-and-conditions"> Terms and Conditions</a>

0 commit comments

Comments
 (0)