Merged in fix/footer-copyright-msg-label (pull request #2941)

Fixed footer copyright label copy

Approved-by: Linus Flood
This commit is contained in:
Hrishikesh Vaipurkar
2025-10-09 13:11:11 +00:00
parent a5759205ec
commit 3d99c986dc

View File

@@ -10,6 +10,7 @@ import styles from "./footer.module.css"
export async function Footer() {
const intl = await getIntl()
const currentYear = new Date().getFullYear()
return (
<div className={styles.root}>
@@ -30,9 +31,13 @@ export async function Footer() {
<div className={styles.bottom}>
<Typography variant="Body/Supporting text (caption)/smRegular">
<p>
{intl.formatMessage({
defaultMessage: "© 2025 Scandic Hotels all rights reserved.",
})}
{intl.formatMessage(
{
defaultMessage:
"© {currentYear} Scandic Hotels all rights reserved",
},
{ currentYear }
)}
</p>
</Typography>
</div>