Files: f20766fcd63c17fd9526329e92ea3e92f42b26ac / pages / _document.js
1701 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 | <title>plainbudget</title> |
15 | <meta name="viewport" content="initial-scale=1.0, width=device-width" /> |
16 | <link rel="manifest" href="/static/manifest.json" /> |
17 | |
18 | <meta name="mobile-web-app-capable" content="yes" /> |
19 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
20 | <meta name="application-name" content="PlainBudget" /> |
21 | <meta name="apple-mobile-web-app-title" content="PlainBudget" /> |
22 | <meta name="theme-color" content="#49cf8b" /> |
23 | <meta name="msapplication-navbutton-color" content="#49cf8b" /> |
24 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
25 | <meta name="msapplication-starturl" content="/" /> |
26 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> |
27 | |
28 | <link rel="icon" href="/static/images/icons/icon-32x32.png" /> |
29 | <link rel="apple-touch-icon" href="/static/images/icons/icon-32x32.png" /> |
30 | |
31 | <style>{` |
32 | body { |
33 | background: #fff; |
34 | color: #000; |
35 | font-family: Sorts Mill Goudy, serif; |
36 | font-size: 20px; |
37 | margin: 0; |
38 | padding: 0; |
39 | } |
40 | `}</style> |
41 | </Head> |
42 | <body> |
43 | <Main /> |
44 | <NextScript /> |
45 | </body> |
46 | </html> |
47 | ) |
48 | } |
49 | } |
Built with git-ssb-web