mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
feat: add favicon
This commit is contained in:
parent
d504f047ab
commit
9d3f51972d
3 changed files with 7 additions and 1 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 1.1 KiB |
|
|
@ -43,7 +43,7 @@ export const PageMetadata: React.FC<Props> = ({ title, description, image }) =>
|
|||
<meta name='twitter:description' content={description} />
|
||||
{/* patch to force a cache invalidation of twitter's card bot */}
|
||||
<meta name='twitter:image' content={`${ogImage}/#`} />
|
||||
<link rel='icon' href='/images/favicon.png' />
|
||||
<link rel='icon' href='/favicon.ico' />
|
||||
</Head>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { ChakraProvider } from '@chakra-ui/react';
|
||||
import { AppProps } from 'next/app';
|
||||
import Head from 'next/head';
|
||||
|
||||
import { Layout } from '../components/layouts';
|
||||
|
||||
|
|
@ -15,6 +16,11 @@ export default function App({ Component, pageProps }: AppProps) {
|
|||
<ChakraProvider theme={theme}>
|
||||
<MDXProvider components={MDXComponents}>
|
||||
<Layout>
|
||||
<Head>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1' />
|
||||
<link rel='icon' type='image/x-icon' href='/favicon.ico' />
|
||||
</Head>
|
||||
|
||||
<Component {...pageProps} />
|
||||
</Layout>
|
||||
</MDXProvider>
|
||||
|
|
|
|||
Loading…
Reference in a new issue