Skip to content

Commit

Permalink
Merge branch 'armando/grwth-4045-enable-zora-minting-through-warp-iap…
Browse files Browse the repository at this point in the history
…' into dev
  • Loading branch information
r3lays committed Feb 8, 2024
2 parents d2854c3 + 5427b82 commit b5ff2c9
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 14 deletions.
33 changes: 19 additions & 14 deletions components/Head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,25 @@ export const Head: FC<Props> = ({
<meta name="twitter:description" content={description} />
<meta name="twitter:image" content={ogImage} />

{/* Open Graph */}
<meta property="og:type" content="website" />
<meta property="og:determiner" content="the" />
<meta property="og:locale" content="en" />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={ogImage} />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Reservoir NFT Explorer Banner" />

{/* Child Meta tags */}
{metatags && metatags}
{metatags ? (
metatags
) : (
<>
<meta property="og:type" content="website" />
<meta property="og:determiner" content="the" />
<meta property="og:locale" content="en" />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={ogImage} />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta
property="og:image:alt"
content="Reservoir NFT Explorer Banner"
/>
</>
)}
</NextHead>
)
}
20 changes: 20 additions & 0 deletions pages/[chain]/asset/[assetId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,26 @@ const IndexPage: NextPage<Props> = ({ assetId, ssr }) => {
property="og:title"
content={`Farcaster: ${token?.token?.name}`}
/>
<meta property="og:image" content={token?.token?.image} />

<meta
property="eth:nft:collection"
content={`Farcaster: ${token?.token?.name}`}
/>
<meta
property="eth:nft:contract_address"
content={token?.token?.contract}
/>
<meta
property="eth:nft:creator_address"
content={token?.token?.collection?.creator}
/>
<meta
property="eth:nft:schema"
content={token?.token?.kind?.toUpperCase()}
/>
<meta property="eth:nft:media_url" content={token?.token?.image} />

<meta property="fc:frame" content="vNext" />
<meta
property="fc:frame:image"
Expand Down

0 comments on commit b5ff2c9

Please sign in to comment.