feat(ui): experimental status bar style change for ios pwa app

this might break things. just an experiment. :)
This commit is contained in:
sct
2021-03-22 01:22:24 +09:00
parent 8ebc829250
commit 958cdf98fd
11 changed files with 110 additions and 66 deletions

View File

@@ -1,12 +1,12 @@
import React from 'react';
import Document, {
Html,
Head,
Main,
NextScript,
DocumentContext,
DocumentInitialProps,
Head,
Html,
Main,
NextScript,
} from 'next/document';
import React from 'react';
class MyDocument extends Document {
static async getInitialProps(
@@ -39,6 +39,11 @@ class MyDocument extends Document {
sizes="16x16"
href="/favicon-16x16.png"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta
name="apple-mobile-web-app-status-bar-style"
content="black-translucent"
/>
<link rel="manifest" href="/site.webmanifest"></link>
</Head>
<body>