Skip to content

Commit 39a1436

Browse files
committed
Update CTA
Set CTA for Engine Playground to "Deploy an Instance"
1 parent b4eed8a commit 39a1436

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

apps/playground-web/src/app/engine/airdrop/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default function Page() {
1515
address!
1616
</>
1717
}
18+
deployLink="https://thirdweb.com/team/~/~/engine/create?utm_source=playground"
1819
docsLink="https://thirdweb-engine.apidocumentation.com/reference#tag/erc20/POST/contract/{chain}/{contractAddress}/erc20/mint-batch-to?utm_source=playground"
1920
heroLink="/airdrop.avif"
2021
/>

apps/playground-web/src/app/engine/minting/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default function Page() {
1414
sponsor the gas so your users only need a wallet address!
1515
</>
1616
}
17+
deployLink="https://thirdweb.com/team/~/~/engine/create?utm_source=playground"
1718
docsLink="https://thirdweb-engine.apidocumentation.com/reference#tag/erc1155/POST/contract/{chain}/{contractAddress}/erc1155/mint-to?utm_source=playground"
1819
heroLink="/minting.avif"
1920
/>

apps/playground-web/src/app/engine/webhooks/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default function Page() {
1414
transaction or backend wallet events.
1515
</>
1616
}
17+
deployLink="https://thirdweb.com/team/~/~/engine/create?utm_source=playground"
1718
docsLink="https://portal.thirdweb.com/engine/features/webhooks?utm_source=playground"
1819
heroLink="/webhooks.avif"
1920
/>

apps/playground-web/src/components/blocks/EngineAPIHeader.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Button } from "../ui/button";
55
export function EngineAPIHeader(props: {
66
title: string;
77
description: React.ReactNode;
8+
deployLink: string;
89
docsLink: string;
910
heroLink: string;
1011
}) {
@@ -27,6 +28,11 @@ export function EngineAPIHeader(props: {
2728

2829
<div className="flex flex-col gap-3 md:flex-row">
2930
<Button asChild size="lg">
31+
<Link target="_blank" href={props.deployLink}>
32+
Deploy an Instance
33+
</Link>
34+
</Button>
35+
<Button asChild variant="outline" size="lg">
3036
<Link target="_blank" href={props.docsLink}>
3137
View docs
3238
</Link>
@@ -39,14 +45,6 @@ export function EngineAPIHeader(props: {
3945
Book a Demo
4046
</Link>
4147
</Button>
42-
<Button asChild variant="outline" size="lg">
43-
<Link
44-
target="_blank"
45-
href="https://thirdweb.com/team/~/~/engine/create?utm_source=playground"
46-
>
47-
Deploy an Instance
48-
</Link>
49-
</Button>
5048
</div>
5149
</div>
5250

0 commit comments

Comments
 (0)