Skip to content

Commit

Permalink
feat: remove old tags
Browse files Browse the repository at this point in the history
  • Loading branch information
r3lays committed Feb 23, 2024
1 parent 7c2d47a commit b7a374a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
19 changes: 1 addition & 18 deletions pages/[chain]/asset/[assetId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,23 +242,6 @@ const IndexPage: NextPage<Props> = ({ assetId, ssr }) => {
property="og:title"
content={`Farcaster: ${token?.token?.name}`}
/>

<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="fc:frame:button:1" content="Mint" />
<meta property="fc:frame:button:1:action" content="mint" />
<meta
Expand All @@ -277,7 +260,7 @@ const IndexPage: NextPage<Props> = ({ assetId, ssr }) => {
<meta property="fc:frame:button:2:action" content="link" />
<meta
property="fc:frame:button:2:target"
content={`${process.env.PUBLIC_NEXT_HOST_URL}${router.asPath}`}
content={`${process.env.NEXT_PUBLIC_HOST_URL}${router.asPath}`}
/>
</>
)}
Expand Down
24 changes: 1 addition & 23 deletions pages/[chain]/collection/[contract].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -362,28 +362,6 @@ const CollectionPage: NextPage<Props> = ({ id, ssr }) => {
description={ssr?.collection?.collections?.[0]?.description as string}
metatags={
<>
<meta property="eth:nft:collection" content={collection.name} />
<meta
property="eth:nft:contract_address"
content={collection.primaryContract}
/>
<meta
property="eth:nft:creator_address"
content={collection.primaryContract}
/>
<meta
property="eth:nft:schema"
content={collection.contractKind?.toLowerCase()}
/>
<meta
property="eth:nft:mint_status"
content={collection.isMinting ? 'live' : 'closed'}
/>
<meta
property="eth:nft:chain"
content={client?.currentChain()?.name}
/>
<meta property="nft:chain" content={client?.currentChain()?.name} />
<meta property="fc:frame" content="vNext" />
<meta
property="fc:frame:image"
Expand All @@ -408,7 +386,7 @@ const CollectionPage: NextPage<Props> = ({ id, ssr }) => {
<meta property="fc:frame:button:2:action" content="link" />
<meta
property="fc:frame:button:2:target"
content={`${process.env.PUBLIC_NEXT_HOST_URL}${router.asPath}`}
content={`${process.env.NEXT_PUBLIC_HOST_URL}${router.asPath}`}
/>
</>
)}
Expand Down

0 comments on commit b7a374a

Please sign in to comment.