feat: init live preview sdk

This commit is contained in:
Christel Westerberg
2024-02-08 16:16:04 +01:00
parent cb502fbada
commit 9d05eefd56
15 changed files with 302 additions and 15 deletions

View File

@@ -0,0 +1,17 @@
import Header from "@/components/Current/Header";
import type { LangParams, PageArgs, UriParams } from "@/types/params";
export default function CurrentContentpageTemplate({ children, params, searchParams }: React.PropsWithChildren<PageArgs<LangParams, UriParams>>) {
// if (!searchParams.uri) {
// throw new Error("Bad URI");
// }
return (
<>
{/* <Header lang={params.lang} pathname={searchParams.uri} /> */}
{children}
</>
);
}