feat: add webview pages

This commit is contained in:
Christel Westerberg
2024-05-06 09:52:43 +02:00
parent d07826b2a3
commit 49f760705e
10 changed files with 144 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
import "@/app/globals.css"
import "@scandic-hotels/design-system/style.css"
import { serverClient } from "@/lib/trpc/server"
import MaxWidth from "@/components/MaxWidth"
import Content from "@/components/MyPages/AccountPage/Content"
import styles from "./points.module.css"
import type { LangParams, PageArgs, UriParams } from "@/types/params"
export default async function Points({
params,
}: PageArgs<LangParams, UriParams>) {
// const accountPage = await serverClient().contentstack.accountPage.get({
// url: "/my-pages/points",
// lang: params.lang,
// })
return (
<MaxWidth className={styles.blocks} tag="main">
<p>POINTS</p>
{/* <Content lang={params.lang} content={accountPage.content} /> */}
</MaxWidth>
)
}

View File

@@ -0,0 +1,6 @@
.blocks {
display: grid;
gap: 4.2rem;
padding-left: 2rem;
padding-right: 2rem;
}