Merged in feat/sw-1523-my-stay-page (pull request #1227)
feat(SW-1523): foundation for my stay page * feat(SW-1523): foundation for my stay page This is the base page for the my stay page. It is very much hard coded and all components need to get a design update afterwards. But this is to get the page going! * fix(i18n): messages Approved-by: Michael Zetterberg Approved-by: Christian Andolf
This commit is contained in:
committed by
Michael Zetterberg
parent
691c493522
commit
86a7650813
@@ -0,0 +1,18 @@
|
||||
import { MyStay } from "@/components/HotelReservation/MyStay/MyStay"
|
||||
import { setLang } from "@/i18n/serverContext"
|
||||
|
||||
import { response } from "./temporary_response"
|
||||
|
||||
import type { LangParams, PageArgs } from "@/types/params"
|
||||
|
||||
export default async function MyStayPage({ params }: PageArgs<LangParams>) {
|
||||
setLang(params.lang)
|
||||
|
||||
return (
|
||||
<MyStay
|
||||
hotel={response.hotel}
|
||||
booking={response.booking}
|
||||
room={response.room}
|
||||
/>
|
||||
)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user