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.

Add affiliate terms generator link to program Resources

Cursor Agent959bc56ee6e0
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/program-settings-row.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/program-settings-row.tsx
index 9b59b95a66..020eb2109a 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/program-settings-row.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/program-settings-row.tsx
@@ -1,3 +1,4 @@
+import { MarkdownDescription } from "@/ui/shared/markdown-description";
import { PropsWithChildren } from "react";
export function SettingsRow({
@@ -17,7 +18,9 @@ export function SettingsRow({
{heading} {required && <span className="text-red-700">*</span>}
</h3>
{description && (
- <p className="text-sm text-neutral-600">{description}</p>
+ <MarkdownDescription className="text-sm text-neutral-600">
+ {description}
+ </MarkdownDescription>
)}
</div>
<div>{children}</div>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/resources/program-help-and-support.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/resources/program-help-and-support.tsx
index 7a0127f2fb..f30822f72e 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/resources/program-help-and-support.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/resources/program-help-and-support.tsx
@@ -183,7 +183,7 @@ export function ProgramHelpAndSupportContent({
<SettingsRow
heading="Terms of Service"
- description="Program terms of service and legal information"
+ description="Program terms of service and legal information. [Generate terms for free.](https://dub.co/tools/affiliate-terms-generator)"
>
<div className="flex items-center justify-end">
<div className="w-full max-w-md">