Files: d43e73c547b54ad1b9f250da0e06562553fdd203 / pages / _document.js
1664 bytesRaw
1 | import Document, { Head, Main, NextScript } from 'next/document'; |
2 | |
3 | export default class MyDocument extends Document { |
4 | static async getInitialProps(ctx) { |
5 | const initialProps = await Document.getInitialProps(ctx); |
6 | |
7 | return { ...initialProps }; |
8 | } |
9 | |
10 | render() { |
11 | return ( |
12 | <html lang="en"> |
13 | <Head> |
14 | <meta name="viewport" content="initial-scale=1.0, width=device-width" /> |
15 | <link rel="manifest" href="/static/manifest.json" /> |
16 | |
17 | <meta name="mobile-web-app-capable" content="yes" /> |
18 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
19 | <meta name="application-name" content="PlainBudget" /> |
20 | <meta name="apple-mobile-web-app-title" content="PlainBudget" /> |
21 | <meta name="theme-color" content="#49cf8b" /> |
22 | <meta name="msapplication-navbutton-color" content="#49cf8b" /> |
23 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
24 | <meta name="msapplication-starturl" content="/" /> |
25 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> |
26 | |
27 | <link rel="icon" href="/static/images/icons/icon-32x32.png" /> |
28 | <link rel="apple-touch-icon" href="/static/images/icons/icon-32x32.png" /> |
29 | |
30 | <style>{` |
31 | body { |
32 | background: #fff; |
33 | color: #000; |
34 | font-family: Sorts Mill Goudy, serif; |
35 | font-size: 20px; |
36 | margin: 0; |
37 | padding: 0; |
38 | } |
39 | `}</style> |
40 | </Head> |
41 | <body> |
42 | <Main /> |
43 | <NextScript /> |
44 | </body> |
45 | </html> |
46 | ) |
47 | } |
48 | } |
Built with git-ssb-web