Skip to content

Commit

Permalink
feat: add metadata (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdy authored Sep 10, 2024
1 parent 4031984 commit 0561e6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Binary file added public/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import type { DocumentHeadTagsProps } from '@mui/material-nextjs/v13-pagesRouter
import { DocumentContext, DocumentProps, Head, Html, Main, NextScript } from 'next/document';

export default function MyDocument(props: DocumentProps & DocumentHeadTagsProps) {
const descriptionText = 'Web3 Boilerplate by Wonderland.';
const bannerImage = '';
const descriptionText = 'ZKsync ecosystem live L1 & L2 metrics.';
const bannerImage = 'https://mainnet-zkchainhub.vercel.app/banner.png';

return (
<Html lang='en'>
Expand All @@ -13,14 +13,14 @@ export default function MyDocument(props: DocumentProps & DocumentHeadTagsProps)
<link rel='icon' href='/favicon.png' type='image/x-icon' sizes='48x48' />
<meta name='description' content={descriptionText} />

<meta property='og:title' content='Web3 Boilerplate' />
<meta property='og:title' content='ZK Chain Hub' />
<meta property='og:description' content={descriptionText} />
<meta name='twitter:image' content={bannerImage} />

<meta name='twitter:card' content='summary_large_image' />
<meta name='twitter:site' content='@DeFi_Wonderland' />
<meta name='twitter:creator' content='@DeFi_Wonderland' />
<meta name='twitter:title' content='Web3 Boilerplate' />
<meta name='twitter:site' content='@zksync' />
<meta name='twitter:creator' content='@zksync' />
<meta name='twitter:title' content='ZK Chain Hub' />
<meta name='twitter:description' content={descriptionText} />

<meta name='twitter:image' content={bannerImage} />
Expand Down

0 comments on commit 0561e6b

Please sign in to comment.