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() {
|
export async function Footer() {
|
||||||
const intl = await getIntl()
|
const intl = await getIntl()
|
||||||
|
const currentYear = new Date().getFullYear()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.root}>
|
<div className={styles.root}>
|
||||||
@@ -30,9 +31,13 @@ export async function Footer() {
|
|||||||
<div className={styles.bottom}>
|
<div className={styles.bottom}>
|
||||||
<Typography variant="Body/Supporting text (caption)/smRegular">
|
<Typography variant="Body/Supporting text (caption)/smRegular">
|
||||||
<p>
|
<p>
|
||||||
{intl.formatMessage({
|
{intl.formatMessage(
|
||||||
defaultMessage: "© 2025 Scandic Hotels all rights reserved.",
|
{
|
||||||
})}
|
defaultMessage:
|
||||||
|
"© {currentYear} Scandic Hotels all rights reserved",
|
||||||
|
},
|
||||||
|
{ currentYear }
|
||||||
|
)}
|
||||||
</p>
|
</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user