refactor: refactor according to PR comments
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
.container {
|
||||
max-width: var(--max-width);
|
||||
display: grid;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
@@ -5,5 +5,4 @@
|
||||
min-height: 25rem;
|
||||
background-color: var(--some-grey-color, #f2f2f2);
|
||||
border-radius: 0.8rem;
|
||||
max-width: var(--max-width);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ export default function EmptyPreviousStaysBlock() {
|
||||
return (
|
||||
<section className={styles.container}>
|
||||
<Title level="h3" as="h5" uppercase>
|
||||
{_("You have no previous stays.")}{" "}
|
||||
{_("You have no previous stays.")}
|
||||
</Title>
|
||||
</section>
|
||||
)
|
||||
|
||||
@@ -33,7 +33,7 @@ export default function PreviousStays({ lang }: LangParams) {
|
||||
subtitle={_(
|
||||
"Revisit your stays and rekindle those our moments together, with ease."
|
||||
)}
|
||||
></Header>
|
||||
/>
|
||||
{data?.pages.length ? (
|
||||
<ListContainer>
|
||||
<StayList
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
gap: 2.5rem;
|
||||
background-color: var(--some-grey-color, #f2f2f2);
|
||||
border-radius: 0.8rem;
|
||||
max-width: var(--max-width);
|
||||
margin-bottom: 0.5rem;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
@@ -17,8 +17,8 @@ export default function EmptyUpcomingStaysBlock() {
|
||||
{_("Where should you go next?")}
|
||||
</span>
|
||||
</Title>
|
||||
<Button intent={"primary"} bgcolor={"quarternary"} asChild type="button">
|
||||
<Link className={styles.link} href={"#"} key={"getInspired"}>
|
||||
<Button intent="primary" bgcolor="quarternary" asChild type="button">
|
||||
<Link className={styles.link} href={"#"} key="getInspired">
|
||||
{_("Get inspired")}
|
||||
</Link>
|
||||
</Button>
|
||||
|
||||
@@ -33,7 +33,7 @@ export default function UpcomingStays({ lang }: LangParams) {
|
||||
subtitle={_(
|
||||
"Excited about your next trip? So are we. Below are your upcoming stays with us, complete with all the details you need to make each visit perfect. Can't wait to welcome you back, friend!"
|
||||
)}
|
||||
></Header>
|
||||
/>
|
||||
{data?.pages.length ? (
|
||||
<ListContainer>
|
||||
<StayList
|
||||
|
||||
Reference in New Issue
Block a user