diff --git a/app/[lang]/(live)/(protected)/my-pages/stays/page.module.css b/app/[lang]/(live)/(protected)/my-pages/stays/page.module.css index 0902c782c..85483cea5 100644 --- a/app/[lang]/(live)/(protected)/my-pages/stays/page.module.css +++ b/app/[lang]/(live)/(protected)/my-pages/stays/page.module.css @@ -9,7 +9,7 @@ @media screen and (min-width: 950px) { .container { - gap: 10rem; + gap: 6rem; padding-left: 0; padding-right: 0; margin: 0; diff --git a/components/MyPages/Blocks/Stays/Container/container.module.css b/components/MyPages/Blocks/Stays/Container/container.module.css index f4a93c4e0..00ad315a8 100644 --- a/components/MyPages/Blocks/Stays/Container/container.module.css +++ b/components/MyPages/Blocks/Stays/Container/container.module.css @@ -4,6 +4,6 @@ } @media screen and (min-width: 950px) { .container { - gap: 7rem; + gap: 3.5rem; } } diff --git a/components/MyPages/Blocks/Stays/Header/header.module.css b/components/MyPages/Blocks/Stays/Header/header.module.css index a308f6fcc..680a68d4a 100644 --- a/components/MyPages/Blocks/Stays/Header/header.module.css +++ b/components/MyPages/Blocks/Stays/Header/header.module.css @@ -1,18 +1,4 @@ -.subtitle { - margin: 0; -} - .header { display: grid; gap: 0.5rem; } - -@media screen and (min-width: 950px) { - .subtitle { - width: 60%; - } - - .header { - gap: 2rem; - } -} diff --git a/components/MyPages/Blocks/Stays/Header/index.tsx b/components/MyPages/Blocks/Stays/Header/index.tsx index 2dbe2056f..d4fbeee68 100644 --- a/components/MyPages/Blocks/Stays/Header/index.tsx +++ b/components/MyPages/Blocks/Stays/Header/index.tsx @@ -10,7 +10,7 @@ export default function Header({ title, subtitle }: HeaderProps) { {title} - + <Title as="h5" level="h3" weight="regular"> {subtitle} diff --git a/components/MyPages/Blocks/Stays/StayCard/index.tsx b/components/MyPages/Blocks/Stays/StayCard/index.tsx index bb7a89a9b..459f7fb6e 100644 --- a/components/MyPages/Blocks/Stays/StayCard/index.tsx +++ b/components/MyPages/Blocks/Stays/StayCard/index.tsx @@ -7,14 +7,9 @@ import styles from "./stay.module.css" import type { StayCardProps } from "@/types/components/myPages/myStays/stayCard" -export default function StayCard({ - stay, - lang, - shouldShowDayCount = false, -}: StayCardProps) { +export default function StayCard({ stay, lang }: StayCardProps) { const { dateArrive, dateDepart, guests, hotel } = stay - const daysUntilArrival = dt(dateArrive).diff(dt(), "days") const arrival = dt(dateArrive).locale(lang) const arrivalDate = arrival.format("DD MMM") const arrivalDateTime = arrival.format("YYYY-MM-DD") @@ -24,21 +19,14 @@ export default function StayCard({ return (
-
- {shouldShowDayCount ? ( -
- -
- ) : null} - Placeholder image flower -