Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions apps/playground-web/src/app/data/pages-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
BotIcon,
BoxIcon,
BringToFrontIcon,
CircleDollarSignIcon,
CircleUserIcon,
CreditCardIcon,
DollarSignIcon,
Expand Down Expand Up @@ -186,6 +187,13 @@ export const paymentsFeatureCards: FeatureCardMetadata[] = [
description:
"Enable users to pay for onchain transactions with fiat or crypto",
},
{
icon: CircleDollarSignIcon,
title: "x402",
link: "/payments/x402",
description:
"Use the x402 payment protocol to pay for API calls using any web3 wallet",
},
];

export const accountAbstractionsFeatureCards: FeatureCardMetadata[] = [
Expand Down
14 changes: 14 additions & 0 deletions apps/playground-web/src/app/payments/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { OverviewPage } from "@/components/blocks/OverviewPage";
import { PayIcon } from "@/icons/PayIcon";
import { paymentsFeatureCards } from "../data/pages-metadata";

export default function Page() {
return (
<OverviewPage
title="Payments"
description="thirdweb Payments allow developers to create advanced payment flows to monetize their apps through product sales, peer to peer payments, token sales, and more"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick

Minor grammar fix in description.

Subject-verb agreement.

-      description="thirdweb Payments allow developers to create advanced payment flows to monetize their apps through product sales, peer to peer payments, token sales, and more"
+      description="thirdweb Payments allows developers to create advanced payment flows to monetize their apps through product sales, peer to peer payments, token sales, and more"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
description="thirdweb Payments allow developers to create advanced payment flows to monetize their apps through product sales, peer to peer payments, token sales, and more"
description="thirdweb Payments allows developers to create advanced payment flows to monetize their apps through product sales, peer to peer payments, token sales, and more"
🤖 Prompt for AI Agents
In apps/playground-web/src/app/payments/page.tsx around line 9, the description
string has incorrect subject-verb agreement ("thirdweb Payments allow...");
update it to use the correct verb form by changing "allow" to "allows" so the
sentence reads "thirdweb Payments allows developers to create advanced payment
flows to monetize their apps through product sales, peer to peer payments, token
sales, and more".

featureCards={paymentsFeatureCards}
icon={PayIcon}
/>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function OverviewPage(props: {
<h1 className="mb-2 font-bold text-5xl tracking-tight">
{props.title}
</h1>
<p className="text-base text-muted-foreground leading-normal text-pretty">
<p className="text-base text-muted-foreground leading-normal text-pretty max-w-[80%]">
{props.description}
</p>
</div>
Expand Down
Loading