Files
web/apps/scandic-web/components/MyPages/Profile/Communication/index.tsx
Joakim Jäderberg aafad9781f Merged in feat/lokalise-rebuild (pull request #2993)
Feat/lokalise rebuild

* chore(lokalise): update translation ids

* chore(lokalise): easier to switch between projects

* chore(lokalise): update translation ids

* .

* .

* .

* .

* .

* .

* chore(lokalise): update translation ids

* chore(lokalise): update translation ids

* .

* .

* .

* chore(lokalise): update translation ids

* chore(lokalise): update translation ids

* .

* .

* chore(lokalise): update translation ids

* chore(lokalise): update translation ids

* chore(lokalise): new translations

* merge

* switch to errors for missing id's

* merge

* sync translations


Approved-by: Linus Flood
2025-10-22 11:00:03 +00:00

35 lines
1.1 KiB
TypeScript

import { Typography } from "@scandic-hotels/design-system/Typography"
import ManagePreferencesButton from "@/components/Profile/ManagePreferencesButton"
import { getIntl } from "@/i18n"
import styles from "./communication.module.css"
export default async function CommunicationSlot() {
const intl = await getIntl()
return (
<section className={styles.container}>
<div className={styles.content}>
<Typography variant="Title/Subtitle/md">
<h3>
{intl.formatMessage({
id: "myPages.myCommunicationPreferences",
defaultMessage: "My communication preferences",
})}
</h3>
</Typography>
<Typography variant="Body/Paragraph/mdRegular">
<p>
{intl.formatMessage({
id: "myPages.tellUsWhatInfoYouWouldLikeToReceive",
defaultMessage:
"Tell us what information and updates you'd like to receive, and how, by clicking the link below.",
})}
</p>
</Typography>
</div>
<ManagePreferencesButton />
</section>
)
}