forked from wednesday-solutions/next-bulletproof-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_document.tsx
49 lines (46 loc) · 1.71 KB
/
_document.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import Document, { Html, Head, Main, NextScript } from "next/document";
const APP_NAME = "nextjs-template";
const APP_DESCRIPTION = "nextjs template based on bulletproof architecture written in typescript";
export default class MyDocument extends Document {
static async getInitialProps(ctx) {
return await Document.getInitialProps(ctx);
}
render() {
return (
<Html lang="en" dir="ltr">
<Head>
<meta name="application-name" content={APP_NAME} />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content={APP_NAME} />
<meta name="description" content={APP_DESCRIPTION} />
<meta name="format-detection" content="telephone=no" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="#FFFFFF" />
<link rel="apple-touch-icon" href="/icons/apple-touch-icon-iphone-60x60.png" />
<link
rel="apple-touch-icon"
sizes="60x60"
href="/icons/apple-touch-icon-ipad-76x76.png"
/>
<link
rel="apple-touch-icon"
sizes="114x114"
href="/icons/apple-touch-icon-iphone-retina-120x120.png"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="/icons/apple-touch-icon-ipad-retina-152x152.png"
/>
<link rel="manifest" href="/manifest.json" />
<link rel="shortcut icon" href="/favicon.ico" />
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
}