Skip to content

Commit

Permalink
Footer: Update to always show current year (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbnns authored Jan 3, 2024
1 parent 370a989 commit ded6e0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/src/components/Layout/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Logo } from '../../Logo/Logo';
const { publicRuntimeConfig } = getConfig();

export function Footer() {
const currentYear = new Date().getFullYear();
return (
<footer className="z-10 mt-auto flex w-full justify-center bg-gray lg:pb-64">
<div className="flex w-full max-w-[1440px] flex-col justify-between p-8 lg:flex-row">
Expand Down Expand Up @@ -43,7 +44,7 @@ export function Footer() {
<br />
<a href="https://docs.base.org/privacy-policy">Privacy Policy</a>
</p>
<p>© 2023 Coinbase</p>
<p>© {currentYear} Coinbase</p>
</div>
<div className="flex h-full flex-col gap-5 pt-24 lg:flex-row lg:gap-10 lg:pt-0">
<div className="flex h-full flex-col gap-4 lg:flex-row lg:gap-10">
Expand Down

0 comments on commit ded6e0a

Please sign in to comment.