feat(WEB-167): update my pages layout to MVP wireframes
This commit is contained in:
@@ -2,7 +2,6 @@ import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
import { challenges, shortcuts, stays } from "./_constants"
|
||||
|
||||
import Challenges from "@/components/MyPages/Blocks/Challenges"
|
||||
import Overview from "@/components/MyPages/Blocks/Overview"
|
||||
import Shortcuts from "@/components/MyPages/Blocks/Shortcuts"
|
||||
import UpcomingStays from "@/components/MyPages/Blocks/UpcomingStays"
|
||||
@@ -25,12 +24,10 @@ export default async function MyPage({ params }: PageArgs<LangParams>) {
|
||||
victories: challenges.victories,
|
||||
}
|
||||
return (
|
||||
<section className={styles.blocks}>
|
||||
<main className={styles.blocks}>
|
||||
<Overview user={user} />
|
||||
<UpcomingStays lang={params.lang} stays={user.stays} />
|
||||
{/* Deals You Can't Miss - TBD */}
|
||||
<Challenges journeys={user.journeys} victories={user.victories} />
|
||||
<Shortcuts shortcuts={user.shortcuts} />
|
||||
</section>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user