Merged in feat/stays-loadMore (pull request #142)
feat/stays loadMore Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.container {
|
||||
gap: 10rem;
|
||||
gap: 6rem;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
margin: 0;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import MaxWidth from "@/components/MaxWidth"
|
||||
import PreviousStays from "@/components/MyPages/Blocks/Stays/Previous"
|
||||
import UpcomingStays from "@/components/MyPages/Blocks/Stays/Upcoming"
|
||||
|
||||
@@ -7,9 +8,9 @@ import { LangParams, PageArgs } from "@/types/params"
|
||||
|
||||
export default async function MyStays({ params }: PageArgs<LangParams>) {
|
||||
return (
|
||||
<main className={styles.container}>
|
||||
<MaxWidth className={styles.container} tag="main">
|
||||
<UpcomingStays lang={params.lang} />
|
||||
<PreviousStays lang={params.lang} />
|
||||
</main>
|
||||
</MaxWidth>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user