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
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export function QuickStartSection({
</div>
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
<FeatureCard
title="Create Payment Links"
description="Create shareable URLs to receive any token in seconds."
title="Create Payments"
description="Create hosted payment UIs to receive any token in seconds."
icon={LinkIcon}
id="payment_links"
color="violet"
Expand Down Expand Up @@ -59,7 +59,7 @@ export function QuickStartSection({
/>
<FeatureCard
title="UI Components"
description="Instantly add payments to your React app with prebuild components."
description="Instantly add payments to your React app with prebuilt components."
icon={CodeIcon}
id="components"
color="violet"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function RecentPaymentsSection(props: {
<Link
href={`/team/${props.teamSlug}/${props.projectSlug}/payments/links`}
>
Create Payment Link
Create Payment
<ArrowRightIcon className="size-4" />
</Link>
</Button>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default async function Layout(props: {
},
{
exactMatch: true,
name: "Links",
name: "Create",
path: `${payLayoutPath}/links`,
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function CreatePaymentLinkButton(
return result;
},
onSuccess: () => {
toast.success("Payment link created successfully.");
toast.success("Payment created successfully.");
return queryClient.invalidateQueries({
queryKey: ["payment-links", props.clientId, props.teamId],
});
Expand Down Expand Up @@ -169,7 +169,7 @@ export function CreatePaymentLinkButton(
)}
>
<DialogHeader>
<DialogTitle>Create a Payment Link</DialogTitle>
<DialogTitle>Create a Payment</DialogTitle>
<DialogDescription>
Get paid in any token on any chain.
</DialogDescription>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ export function PaymentLinksTable(props: { clientId: string; teamId: string }) {
return (
<EmptyState
icon={LinkIcon}
title="No payment links configured yet"
description="Create a payment link to receive any token in seconds."
title="No payments configured yet"
description="Create a payment to receive any token in seconds."
buttons={[
<CreatePaymentLinkButton
key="create-payment-link"
Expand All @@ -111,7 +111,7 @@ export function PaymentLinksTable(props: { clientId: string; teamId: string }) {
>
<Button className="gap-1" variant="default" size="sm">
<PlusIcon className="size-4" />
Create Payment Link
Create Payment
</Button>
</CreatePaymentLinkButton>,
]}
Expand All @@ -125,7 +125,7 @@ export function PaymentLinksTable(props: { clientId: string; teamId: string }) {
<Table>
<TableHeader>
<TableRow>
<TableHead>Payment Link</TableHead>
<TableHead>Payment</TableHead>
<TableHead>Recipient</TableHead>
<TableHead>Amount</TableHead>
<TableHead>Usages</TableHead>
Expand Down Expand Up @@ -274,7 +274,7 @@ function DeletePaymentLinkButton(
<DialogTitle>Are you sure?</DialogTitle>
<DialogDescription>
This action cannot be undone. This will permanently delete the
payment link.
payment.
</DialogDescription>
</DialogHeader>

Expand All @@ -290,7 +290,7 @@ function DeletePaymentLinkButton(
});
},
onSuccess: () => {
toast.success("Payment link deleted successfully.");
toast.success("Payment deleted successfully.");
setOpen(false);
return queryClient.invalidateQueries({
queryKey: ["payment-links", props.clientId, props.teamId],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export default async function Page(props: {
<div className="w-full flex flex-col md:flex-row justify-between gap-4 items-start">
<div>
<h2 className="mb-0.5 font-semibold text-xl tracking-tight">
Payment Links
Create a Payment
</h2>
<p className="text-muted-foreground text-sm">
Make money in any token instantly with hosted payment links
Make money in any token instantly with a hosted payments UI.
</p>
</div>
<CreatePaymentLinkButton
Expand All @@ -36,7 +36,7 @@ export default async function Page(props: {
>
<Button className="gap-1" variant="default" size="sm">
<PlusIcon className="size-4" />
Create Payment Link
Create Payment
</Button>
</CreatePaymentLinkButton>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function PaymentLinkForm() {

const url = `${window.location.origin}/pay?${params.toString()}`;
setPaymentUrl(url);
toast.success("Payment link created!");
toast.success("Payment created!");
} catch (err) {
toast.error(err instanceof Error ? err.message : "An error occurred");
} finally {
Expand Down Expand Up @@ -188,7 +188,7 @@ export function PaymentLinkForm() {
<CreditCardIcon className="size-5 sm:size-6" />
</div>
<CardTitle className="text-center sm:text-left">
Create a Payment Link
Create a Payment
</CardTitle>
</div>
</CardHeader>
Expand Down
Loading