Add manifest to allow "installing" app in mobile devices
This commit is contained in:
@@ -19,6 +19,7 @@ export default function App({ route, Component, state }: PageProps<Data, FreshCo
|
|||||||
<link rel='icon' href='/images/favicon.png' type='image/png' />
|
<link rel='icon' href='/images/favicon.png' type='image/png' />
|
||||||
<link rel='apple-touch-icon' href='/images/favicon.png' />
|
<link rel='apple-touch-icon' href='/images/favicon.png' />
|
||||||
<link rel='stylesheet' href='/styles.css' />
|
<link rel='stylesheet' href='/styles.css' />
|
||||||
|
<link rel='manifest' href='/manifest.json' />
|
||||||
</head>
|
</head>
|
||||||
<body class='h-full'>
|
<body class='h-full'>
|
||||||
<Header route={route} user={state.user} />
|
<Header route={route} user={state.user} />
|
||||||
|
|||||||
22
static/manifest.json
Normal file
22
static/manifest.json
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"name": "bewCloud",
|
||||||
|
"short_name": "bewCloud",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/images/logomark.svg",
|
||||||
|
"sizes": "1024x1024 any",
|
||||||
|
"type": "image/svg+xml",
|
||||||
|
"purpose": "monochrome maskable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/images/favicon.png",
|
||||||
|
"sizes": "1024x1024",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"theme_color": "#51a4fb",
|
||||||
|
"background_color": "#1e293b",
|
||||||
|
"start_url": "/",
|
||||||
|
"display": "standalone",
|
||||||
|
"orientation": "portrait"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user