feat(WEB-167): update my pages layout to MVP wireframes

This commit is contained in:
Simon Emanuelsson
2024-04-03 10:48:52 +02:00
parent b78998ad21
commit 8f87d6368c
37 changed files with 467 additions and 398 deletions

View File

@@ -5,6 +5,7 @@ import styles from "./upcoming.module.css"
import type { LangParams } from "@/types/params"
import type { StaysProps } from "@/types/components/myPages/stays"
import Link from "next/link"
export default function UpcomingStays({
lang,
@@ -12,10 +13,13 @@ export default function UpcomingStays({
}: StaysProps & LangParams) {
return (
<section className={styles.container}>
<header>
<header className={styles.header}>
<Title level="h2" uppercase>
Your upcoming stays
</Title>
<Link className={styles.link} href="#">
See all
</Link>
</header>
<section className={styles.stays}>
{stays.map((stay) => (