chore(trading): remove duplicate stylesheet and icon references (#4707)
This commit is contained in:
parent
6160fd7638
commit
78aff54360
@ -4,22 +4,37 @@ export default function Document() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
<link rel="stylesheet" href="https://static.vega.xyz/fonts.css" />
|
{/*
|
||||||
|
meta tags
|
||||||
|
- next advised against using _document for this, so they exist in our
|
||||||
|
- single page index.page.tsx
|
||||||
|
*/}
|
||||||
|
|
||||||
|
{/* icons */}
|
||||||
|
<link
|
||||||
|
rel="icon"
|
||||||
|
type="image/x-icon"
|
||||||
|
href="https://static.vega.xyz/favicon.ico"
|
||||||
|
/>
|
||||||
<link
|
<link
|
||||||
rel="apple-touch-icon"
|
rel="apple-touch-icon"
|
||||||
content="https://static.vega.xyz/favicon.ico"
|
content="https://static.vega.xyz/favicon.ico"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
{/* fonts */}
|
||||||
<link
|
<link
|
||||||
rel="preload"
|
rel="preload"
|
||||||
href="https://static.vega.xyz/AlphaLyrae-Medium.woff2"
|
href="https://static.vega.xyz/AlphaLyrae-Medium.woff2"
|
||||||
as="font"
|
as="font"
|
||||||
type="font/woff2"
|
type="font/woff2"
|
||||||
/>
|
/>
|
||||||
<link
|
|
||||||
rel="icon"
|
{/* styles */}
|
||||||
type="image/x-icon"
|
<link rel="stylesheet" href="https://static.vega.xyz/fonts.css" />
|
||||||
href="https://static.vega.xyz/favicon.ico"
|
{/* eslint-disable-next-line @next/next/no-css-tags */}
|
||||||
/>
|
<link rel="stylesheet" href="/preloader.css" media="all" />
|
||||||
|
|
||||||
|
{/* scripts */}
|
||||||
<script src="/theme-setter.js" type="text/javascript" async />
|
<script src="/theme-setter.js" type="text/javascript" async />
|
||||||
</Head>
|
</Head>
|
||||||
<Html>
|
<Html>
|
||||||
|
@ -10,23 +10,16 @@ export default function Index() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
<link rel="stylesheet" href="https://static.vega.xyz/fonts.css" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta charSet="utf-8" />
|
<meta charSet="utf-8" />
|
||||||
<link
|
|
||||||
rel="icon"
|
|
||||||
type="image/x-icon"
|
|
||||||
href="https://static.vega.xyz/favicon.ico"
|
|
||||||
/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="theme-color" content="#000000" />
|
<meta name="theme-color" content="#000000" />
|
||||||
<meta name="description" content="Vega Protocol - VEGA Console" />
|
<meta name="description" content="Vega Protocol - Console" />
|
||||||
<meta name="og:type" content="website" />
|
<meta name="og:type" content="website" />
|
||||||
<meta name="og:url" content="https://console.vega.xyz/" />
|
<meta name="og:url" content="https://console.vega.xyz/" />
|
||||||
<meta name="og:title" content="Vega Protocol - Console" />
|
<meta name="og:title" content="Vega Protocol - Console" />
|
||||||
<meta name="og:site_name" content="Vega Protocol - Console" />
|
<meta name="og:site_name" content="Vega Protocol - Console" />
|
||||||
<meta name="og:image" content="https://static.vega.xyz/favicon.ico" />
|
<meta name="og:image" content="https://static.vega.xyz/favicon.ico" />
|
||||||
|
|
||||||
<meta
|
<meta
|
||||||
name="twitter:card"
|
name="twitter:card"
|
||||||
content="https://static.vega.xyz/favicon.ico"
|
content="https://static.vega.xyz/favicon.ico"
|
||||||
@ -39,26 +32,6 @@ export default function Index() {
|
|||||||
/>
|
/>
|
||||||
<meta name="twitter:image:alt" content="VEGA logo" />
|
<meta name="twitter:image:alt" content="VEGA logo" />
|
||||||
<meta name="twitter:site" content="@vegaprotocol" />
|
<meta name="twitter:site" content="@vegaprotocol" />
|
||||||
|
|
||||||
<meta name="description" content="Vega Protocol - Console" />
|
|
||||||
<link
|
|
||||||
rel="apple-touch-icon"
|
|
||||||
content="https://static.vega.xyz/favicon.ico"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
rel="preload"
|
|
||||||
href="https://static.vega.xyz/AlphaLyrae-Medium.woff2"
|
|
||||||
as="font"
|
|
||||||
type="font/woff2"
|
|
||||||
/>
|
|
||||||
{/* eslint-disable-next-line @next/next/no-css-tags */}
|
|
||||||
<link rel="stylesheet" href="/preloader.css" media="all" />
|
|
||||||
<link
|
|
||||||
rel="icon"
|
|
||||||
type="image/x-icon"
|
|
||||||
href="https://static.vega.xyz/favicon.ico"
|
|
||||||
/>
|
|
||||||
<script src="/theme-setter.js" type="text/javascript" async />
|
|
||||||
</Head>
|
</Head>
|
||||||
<ClientRouter />
|
<ClientRouter />
|
||||||
</>
|
</>
|
||||||
|
Loading…
Reference in New Issue
Block a user