Files
web/apps/scandic-web/components/Blocks/DynamicContent/Stays/Upcoming/EmptyUpcomingStays/index.tsx
Matilda Landström 22b0f71c16 Merged in chore(LOY-531)-cleanup-old-stays (pull request #3498)
chore(LOY-531): cleanup old stays

* chore(LOY-531): cleanup old stays


Approved-by: Emma Zettervall
Approved-by: Anton Gunnarsson
2026-01-28 07:45:05 +00:00

34 lines
1.0 KiB
TypeScript

import ButtonLink from "@scandic-hotels/design-system/ButtonLink"
import { Typography } from "@scandic-hotels/design-system/Typography"
import { getIntl } from "@/i18n"
import { getLang } from "@/i18n/serverContext"
import styles from "./emptyUpcomingStays.module.css"
export default async function EmptyUpcomingStays() {
const intl = await getIntl()
const lang = await getLang()
const href = `/${lang}`
return (
<section className={styles.emptyUpcomingStaysContainer}>
<Typography variant="Title/Subtitle/md">
<p className={styles.heading}>
{intl.formatMessage({
id: "stays.noUpcomingStaysAtTheMoment",
defaultMessage: "You have no upcoming stays at the moment",
})}
</p>
</Typography>
<ButtonLink href={href} variant="Tertiary" color="Primary" size="sm">
{intl.formatMessage({
id: "stays.findDestinationOrHotel",
defaultMessage: "Find hotel or destination",
})}
</ButtonLink>
</section>
)
}