Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

MarkdownIcon

Steven Tey9efbb0e5d8e4
diff --git a/apps/web/lib/zod/schemas/workspaces.ts b/apps/web/lib/zod/schemas/workspaces.ts
index 5e20e7fbca..9fa05b2396 100644
--- a/apps/web/lib/zod/schemas/workspaces.ts
+++ b/apps/web/lib/zod/schemas/workspaces.ts
@@ -60,7 +60,9 @@ export const WorkspaceSchema = z
),
payoutFee: z
.number()
- .describe("The payout fee Dub Partners takes for direct debit payments."),
+ .describe(
+ "The processing fee (in decimals) for partner payouts. For card payments, an additional 0.03 is added to the fee. Learn more: https://d.to/payouts",
+ ),
domainsLimit: z.number().describe("The domains limit of the workspace."),
tagsLimit: z.number().describe("The tags limit of the workspace."),
foldersUsage: z.number().describe("The folders usage of the workspace."),
diff --git a/apps/web/ui/partners/design/modals/text-block-modal.tsx b/apps/web/ui/partners/design/modals/text-block-modal.tsx
index 05d8b68799..18bfd2f773 100644
--- a/apps/web/ui/partners/design/modals/text-block-modal.tsx
+++ b/apps/web/ui/partners/design/modals/text-block-modal.tsx
@@ -3,7 +3,7 @@
import { programLanderTextBlockSchema } from "@/lib/zod/schemas/program-lander";
import {
Button,
- Markdown,
+ MarkdownIcon,
Modal,
useEnterSubmit,
useMediaQuery,
@@ -112,8 +112,8 @@ function TextBlockModalInner({
rel="noopener noreferrer"
className="text-content-subtle mt-1 flex items-center justify-end gap-1 text-xs"
>
- <Markdown role="presentation" className="h-3 w-auto" />
- <span className="sr-only">Markdown</span> supported
+ <MarkdownIcon role="presentation" className="h-3 w-auto" />
+ <span className="sr-only">MarkdownIcon</span> supported
</a>
</div>
diff --git a/packages/prisma/schema/workspace.prisma b/packages/prisma/schema/workspace.prisma
index e89cd8dbee..78ae32bb7a 100644
--- a/packages/prisma/schema/workspace.prisma
+++ b/packages/prisma/schema/workspace.prisma
@@ -24,7 +24,7 @@ model Project {
linksLimit Int @default(25)
payoutsUsage Int @default(0)
payoutsLimit Int @default(0)
- payoutFee Float @default(0.05) // payout fee for direct debit payments
+ payoutFee Float @default(0.05) // processing fee (in decimals) for partner payouts
domainsLimit Int @default(3)
tagsLimit Int @default(5)
diff --git a/packages/ui/src/icons/index.tsx b/packages/ui/src/icons/index.tsx
index 42de9c7801..6bfc775b10 100644
--- a/packages/ui/src/icons/index.tsx
+++ b/packages/ui/src/icons/index.tsx
@@ -13,7 +13,7 @@ export * from "./dub-links";
export * from "./dub-partners";
export { default as ExpandingArrow } from "./expanding-arrow";
export { default as Magic } from "./magic";
-export * from "./markdown";
+export * from "./markdown-icon";
export * from "./matrix-lines";
export { default as Photo } from "./photo";
export { default as SortOrder } from "./sort-order";
diff --git a/packages/ui/src/icons/markdown.tsx b/packages/ui/src/icons/markdown-icon.tsx
similarity index 90%
rename from packages/ui/src/icons/markdown.tsx
rename to packages/ui/src/icons/markdown-icon.tsx
index aec10a00e0..a2c29d972c 100644
--- a/packages/ui/src/icons/markdown.tsx
+++ b/packages/ui/src/icons/markdown-icon.tsx
@@ -1,6 +1,6 @@
import { SVGProps } from "react";
-export function Markdown(props: SVGProps<SVGSVGElement>) {
+export function MarkdownIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg fill="none" viewBox="0 0 22 14" {...props}>
<path