Skip to content

Commit 7871a7b

Browse files
Merge pull request #1 from Ahmed-aleryani/dynamic-copyright-year
feat: make footer copyright year dynamic
2 parents e018f28 + 929f4b2 commit 7871a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function FooterMeta({ className }: { className?: string }) {
5757
>
5858
<ThemeToggle />
5959
<div className="flex flex-col gap-4 text-sm/6 text-gray-700 sm:flex-row sm:gap-2 sm:pr-4 dark:text-gray-400">
60-
<span>Copyright ©&nbsp;2025&nbsp;Tailwind Labs Inc.</span>
60+
<span>Copyright ©&nbsp;{new Date().getFullYear()}&nbsp;Tailwind Labs Inc.</span>
6161
<span className="max-sm:hidden">&middot;</span>
6262
<Link href="/brand" className="hover:underline">
6363
Trademark Policy

0 commit comments

Comments
 (0)