Merged in fix/footer-copyright-msg-label (pull request #2941)
Fixed footer copyright label copy Approved-by: Linus Flood
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user