|
| 1 | +'use client'; |
| 2 | + |
| 3 | +import Title from 'apps/web/src/components/base-org/typography/Title'; |
| 4 | +import { TitleLevel } from 'apps/web/src/components/base-org/typography/Title/types'; |
| 5 | +import Image, { type StaticImageData } from 'next/image'; |
| 6 | +import Link from 'next/link'; |
| 7 | +import agentKit from 'apps/web/src/components/Developers/Tools/agentKit.svg'; |
| 8 | +import baseNet from 'apps/web/src/components/Developers/Tools/baseNet.svg'; |
| 9 | +import miniKit from 'apps/web/src/components/Developers/Tools/miniKit.svg'; |
| 10 | +import baseWallet from 'apps/web/src/components/Developers/Tools/baseWallet.svg'; |
| 11 | +import onchainKit from 'apps/web/src/components/Developers/Tools/onchainKit.svg'; |
| 12 | +import verification from 'apps/web/src/components/Developers/Tools/verification.svg'; |
| 13 | + |
| 14 | +type CardProps = { |
| 15 | + title: string; |
| 16 | + description: string; |
| 17 | + icon: StaticImageData; |
| 18 | + href: string; |
| 19 | +}; |
| 20 | + |
| 21 | +export function Tools() { |
| 22 | + return ( |
| 23 | + <section className="h-full w-full"> |
| 24 | + <Title level={TitleLevel.Title1} as="h2" className="mb-9 mt-32"> |
| 25 | + The easiest and most rewarding way to build world-class onchain products. |
| 26 | + </Title> |
| 27 | + <div className="grid grid-cols-2 gap-4"> |
| 28 | + <Card |
| 29 | + title="AgentKit" |
| 30 | + description="Build and deploy AI agents that can interact with blockchain data and smart contracts." |
| 31 | + icon={agentKit as StaticImageData} |
| 32 | + href="https://docs.cdp.coinbase.com/agentkit/docs/welcome" |
| 33 | + /> |
| 34 | + <Card |
| 35 | + title="Base Nets" |
| 36 | + description="Unlock fast and cheap transactions at scale with dedicated blockspace." |
| 37 | + icon={baseNet as StaticImageData} |
| 38 | + href="/coming-soon" |
| 39 | + /> |
| 40 | + <Card |
| 41 | + title="MiniKit" |
| 42 | + description="Build once. Deploy anywhere. A tool to help you easily deploy your app on Warpcast and Base App." |
| 43 | + icon={miniKit as StaticImageData} |
| 44 | + href="/coming-soon" |
| 45 | + /> |
| 46 | + <Card |
| 47 | + title="Smart Wallet" |
| 48 | + description="A passkey-based, self-custodial, global wallet for seamless experiences." |
| 49 | + icon={baseWallet as StaticImageData} |
| 50 | + href="https://www.smartwallet.dev/why" |
| 51 | + /> |
| 52 | + <Card |
| 53 | + title="OnchainKit" |
| 54 | + description="An all-in-one toolkit to make building onchain faster, easier, and more profitable." |
| 55 | + icon={onchainKit as StaticImageData} |
| 56 | + href="https://onchainkit.xyz/" |
| 57 | + /> |
| 58 | + <Card |
| 59 | + title="Verifications" |
| 60 | + description="Add identity verification and compliance features to your applications." |
| 61 | + icon={verification as StaticImageData} |
| 62 | + href="https://vocs-migration-mvp-one.vercel.app/dev-tools/identity/verifications/quickstart" |
| 63 | + /> |
| 64 | + </div> |
| 65 | + </section> |
| 66 | + ); |
| 67 | +} |
| 68 | + |
| 69 | +function Card({ title, description, icon, href }: CardProps) { |
| 70 | + return ( |
| 71 | + <Link |
| 72 | + href={href} |
| 73 | + className="flex cursor-pointer flex-col gap-4 rounded-xl bg-dark-palette-backgroundAlternate p-6 transition-all duration-200 hover:bg-dark-gray-10" |
| 74 | + > |
| 75 | + <div className="flex items-center gap-6"> |
| 76 | + <Image src={icon} alt={title} width={64} height={64} className="h-16 w-16" /> |
| 77 | + <div> |
| 78 | + <Title level={TitleLevel.Title3} as="h3" className="text-white"> |
| 79 | + {title} |
| 80 | + </Title> |
| 81 | + <Title level={TitleLevel.Title4} as="p" className="text-dark-palette-foregroundMuted"> |
| 82 | + {description} |
| 83 | + </Title> |
| 84 | + </div> |
| 85 | + </div> |
| 86 | + </Link> |
| 87 | + ); |
| 88 | +} |
0 commit comments