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.

improve prompt

Steven Tey9f0c397c8b11
diff --git a/apps/web/lib/actions/partners/generate-lander.ts b/apps/web/lib/actions/partners/generate-lander.ts
index 64a9a441a6..39722811b2 100644
--- a/apps/web/lib/actions/partners/generate-lander.ts
+++ b/apps/web/lib/actions/partners/generate-lander.ts
@@ -78,6 +78,7 @@ export const generateLanderAction = authActionClient
prompt:
// Instructions
`Generate a basic landing page for an affiliate program powered by Dub Partners based on a company website. ` +
+ `For context, Dub Partners is a next-gen affiliate management platform with 1-click global payouts + white-labeling functionality. ` +
`Do not include any initial header/hero content because the landing page will already have an initial title and subtitle. ` +
`Do not make any assumptions about the terms or rewards associated with the program. ` +
(scrapeResult.metadata?.ogImage
@@ -98,11 +99,6 @@ export const generateLanderAction = authActionClient
(program.discounts?.length
? `\nDiscounts for referred users: ${formatDiscountDescription({ discount: program.discounts[0] })}`
: "") +
- // Dub Partners
- `\n\nMore about Dub Partners:\n\n` +
- `Dub Partners enables businesses to create scalable referral and affiliate programs to drive revenue through incentivized user and partner networks. ` +
- `With Dub Partners, you can build powerful, scalable referral and affiliate programs with 1-click global payouts and white-labeling functionality. ` +
- `You may reference Dub Partners in the landing page, but do not focus on it or devote any full section of the page to it.` +
// Existing page
(landerData
? `\n\nThis landing page already has existing content. DO NOT update the existing content, only add new content (unless otherwise directed). ` +