dynamic footer date for /verify-wallet/components/footer.tsx (#1428)

This commit is contained in:
ez-krk 2023-02-25 14:32:34 +01:00 committed by GitHub
parent 1f22ec7531
commit 17f2a9c972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ interface Props {
}
export function GlobalFooter(props: Props) {
const year = new Date().getFullYear();
return (
<footer
className={cx(
@ -32,7 +33,7 @@ export function GlobalFooter(props: Props) {
'sm:text-sm',
)}
>
<div>© 2022 Solana Technology Services LLC</div>
<div>© {year} Solana Technology Services LLC</div>
<div className="hidden sm:block mx-2">|</div>
<a href="https://realms.today/terms" target="_blank" rel="noreferrer">
Terms