mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 18:21:32 +10:00
app shell
This commit is contained in:
21
apps/web/pages/_document.jsx
Normal file
21
apps/web/pages/_document.jsx
Normal file
@ -0,0 +1,21 @@
|
||||
import { Head, Html, Main, NextScript } from "next/document";
|
||||
import Script from "next/script";
|
||||
|
||||
export default function Document(props) {
|
||||
let pageProps = props.__NEXT_DATA__?.props?.pageProps;
|
||||
|
||||
return (
|
||||
<Html
|
||||
className="h-full scroll-smooth bg-white font-normal antialiased"
|
||||
lang="en"
|
||||
>
|
||||
<Head>
|
||||
<meta name="color-scheme"></meta>
|
||||
</Head>
|
||||
<body className="flex h-full flex-col">
|
||||
<Main />
|
||||
<NextScript />
|
||||
</body>
|
||||
</Html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user