chore(trading): update manifest.json

This commit is contained in:
Madalina Raicu 2024-02-05 19:38:38 +00:00
parent 87579c0c5f
commit 84bb32bdd7
No known key found for this signature in database
GPG Key ID: 688B7B31149C1DCD
3 changed files with 15 additions and 10 deletions

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Vega Protocol static asseets</title> <title>Vega Protocol static assets</title>
<link rel="stylesheet" href="fonts.css" /> <link rel="stylesheet" href="fonts.css" />
<link rel="icon" type="image/x-icon" href="favicon.ico" /> <link rel="icon" type="image/x-icon" href="favicon.ico" />
</head> </head>

View File

@ -1,6 +1,12 @@
{ {
"short_name": "Mainnet Stats", "name": "Vega Protocol - Trading",
"name": "Vega Mainnet statistics", "short_name": "Console",
"description": "Vega Protocol - Trading dApp",
"start_url": "/",
"display": "standalone",
"orientation": "portrait",
"theme_color": "#000000",
"background_color": "#ffffff",
"icons": [ "icons": [
{ {
"src": "favicon.ico", "src": "favicon.ico",
@ -12,9 +18,5 @@
"type": "image/png", "type": "image/png",
"sizes": "192x192" "sizes": "192x192"
} }
], ]
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
} }

View File

@ -24,11 +24,14 @@ export default function Document() {
{/* scripts */} {/* scripts */}
<script src="/theme-setter.js" type="text/javascript" async /> <script src="/theme-setter.js" type="text/javascript" async />
{/* manifest */}
<link rel="manifest" href="/apps/trading/assets/manifest.json" />
</Head> </Head>
<Html> <Html>
<body <body
// Nextjs will set body to display none until js runs. Because the entire app is client rendered // Next.js will set body to display none until js runs. Because the entire app is client rendered
// and delivered via ipfs we override this to show a server side render loading animation until the // and delivered via IPFS we override this to show a server side render loading animation until the
// js is downloaded and react takes over rendering // js is downloaded and react takes over rendering
style={{ display: 'block' }} style={{ display: 'block' }}
className="bg-white dark:bg-vega-cdark-900 text-default font-alpha" className="bg-white dark:bg-vega-cdark-900 text-default font-alpha"