feat: use grid on no upcoming component

This commit is contained in:
Fredrik Thorsson
2024-07-01 11:47:44 +02:00
parent 0887bffe0f
commit e2cd952ce9
7 changed files with 52 additions and 43 deletions

View File

@@ -14,13 +14,14 @@ export default async function EmptyUpcomingStaysBlock({ lang }: LangParams) {
const { formatMessage } = await getIntl()
return (
<section className={styles.container}>
<Title as="h5" level="h3" color="red">
{formatMessage({ id: "You have no upcoming stays." })}
<span className={styles.burgundyTitle}>
{" "}
{formatMessage({ id: "Where should you go next?" })}
</span>
</Title>
<div className={styles.titleContainer}>
<Title as="h5" level="h3" color="red" className={styles.title}>
{formatMessage({ id: "You have no upcoming stays." })}
<span className={styles.burgundyTitle}>
{formatMessage({ id: "Where should you go next?" })}
</span>
</Title>
</div>
<Link
href={homeHrefs[env.NODE_ENV][lang]}
className={styles.link}