2021-08-03 18:53:10 +00:00
|
|
|
import { Document, Html, DocumentHead, Main, BlitzScript, Head /*DocumentContext*/ } from "blitz";
|
2021-07-31 14:33:18 +00:00
|
|
|
|
|
|
|
class MyDocument extends Document {
|
|
|
|
// Only uncomment if you need to customize this behaviour
|
|
|
|
// static async getInitialProps(ctx: DocumentContext) {
|
|
|
|
// const initialProps = await Document.getInitialProps(ctx)
|
|
|
|
// return {...initialProps}
|
|
|
|
// }
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<Html lang="en">
|
|
|
|
<DocumentHead />
|
2021-08-03 18:53:10 +00:00
|
|
|
<Head>
|
|
|
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
|
|
|
|
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
<meta name="application-name" content="Shellphone" />
|
|
|
|
<meta name="apple-mobile-web-app-title" content="Shellphone" />
|
|
|
|
<meta name="theme-color" content="#663399" />
|
|
|
|
<meta name="msapplication-navbutton-color" content="#663399" />
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
|
|
<meta name="msapplication-starturl" content="/" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
2021-08-25 08:52:24 +00:00
|
|
|
|
|
|
|
<link
|
|
|
|
rel="preload"
|
|
|
|
href="/fonts/inter-roman.var.woff2"
|
|
|
|
as="font"
|
|
|
|
type="font/woff2"
|
|
|
|
crossOrigin="anonymous"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="preload"
|
|
|
|
href="/fonts/inter-italic.var.woff2"
|
|
|
|
as="font"
|
|
|
|
type="font/woff2"
|
|
|
|
crossOrigin="anonymous"
|
|
|
|
/>
|
2021-08-03 18:53:10 +00:00
|
|
|
</Head>
|
2021-07-31 14:33:18 +00:00
|
|
|
<body>
|
|
|
|
<Main />
|
|
|
|
<BlitzScript />
|
|
|
|
</body>
|
|
|
|
</Html>
|
2021-07-31 15:57:43 +00:00
|
|
|
);
|
2021-07-31 14:33:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-31 15:57:43 +00:00
|
|
|
export default MyDocument;
|