Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SEO to show up cards on Twitter & other platforms #338

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pages/tezos/cryptobot/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ function BotView({ location }) {
<div className="grid grid-cols-2 gap-1 justify-end grid-flow-col auto-cols-max">
{/* twitter icon */}
<a
href={`https://twitter.com/intent/tweet?text=Take a look at Cryptobot-${bot.tokenId}, a super cool one-of-a-kind collectible, you can collect and build on Cryptoverse Wars. Create your own Cryptobot army today! https://cryptocodeschool.in/tezos/cryptobot/${bot.tokenId}&related=twitter%3ABUIDLabs&via=buidllabs&hashtags=NFTs`}
href={`https://twitter.com/intent/tweet?text=Take a look at Cryptobot-${bot.tokenId}, a super cool one-of-a-kind collectible, you can collect and build on Cryptoverse Wars. Create your own Cryptobot army today! https://nextjs-sharable-harsh242.vercel.app/cryptobot/${bot.tokenId}&related=twitter%3ABUIDLabs&via=buidllabs&hashtags=NFTs`}
target="_blank"
rel="noopener noreferrer"
className="w-12 h-12 inline-flex items-center justify-center rounded-full bg-primary-600 text-white focus:outline-none"
Expand All @@ -592,7 +592,7 @@ function BotView({ location }) {
}
>
<Clipboard
data-clipboard-text={`https://cryptocodeschool.in/tezos/cryptobot/${bot.tokenId}`}
data-clipboard-text={`https://nextjs-sharable-harsh242.vercel.app/cryptobot/${bot.tokenId}`}
onClick={() => {
setCopyLink(true);
}}
Expand Down