The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update generate-lander.ts
Tim Wilson95cc34a804f5
diff --git a/apps/web/lib/actions/partners/generate-lander.ts b/apps/web/lib/actions/partners/generate-lander.tsindex 94c126ee56..f1d632d99f 100644--- a/apps/web/lib/actions/partners/generate-lander.ts+++ b/apps/web/lib/actions/partners/generate-lander.ts@@ -78,7 +78,7 @@ export const generateLanderAction = authActionClient(scrapeResult.metadata?.ogImage? `You may include an image block in the landing page, only using the OG image here: ${scrapeResult.metadata?.ogImage}. `: "") +- `If you have product pricing information, include an earnings calculator block, using the highest non-enterprise tier for the average price. ` ++ `If you have product pricing information, include an earnings calculator block, using the highest non-enterprise tier for the product price. ` +`Markdown is supported in "text" blocks, but use it sparingly. ` +`Avoid using links. Relevant CTA links are already on the landing page. ` +// Program details@@ -107,7 +107,7 @@ function cleanMarkdown(markdown: string) {// Remove imagesmarkdown = markdown.replaceAll(/!\[[^\]]+\]\([^\)]+\)/g, "");- // Truncate+ // Truncate to 10k charactersmarkdown = markdown.substring(0, 10_000);return markdown;