The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
small tweaks
Steven Tey5f47aa46001e
diff --git a/apps/web/app/api/stripe/webhook/checkout-session-completed.ts b/apps/web/app/api/stripe/webhook/checkout-session-completed.tsindex 001869666c..b6b565c079 100644--- a/apps/web/app/api/stripe/webhook/checkout-session-completed.ts+++ b/apps/web/app/api/stripe/webhook/checkout-session-completed.ts@@ -100,6 +100,7 @@ export async function checkoutSessionCompleted(event: Stripe.Event) {limiter.schedule(() =>sendEmail({email: user.email as string,+ replyTo: "[email protected]",subject: `Thank you for upgrading to Dub.co ${plan.name}!`,react: UpgradeEmail({name: user.name,diff --git a/apps/web/emails/upgrade-email.tsx b/apps/web/emails/upgrade-email.tsxindex d023fd5f89..9f03f17866 100644--- a/apps/web/emails/upgrade-email.tsx+++ b/apps/web/emails/upgrade-email.tsx@@ -17,7 +17,7 @@ import Footer from "./components/footer";export default function UpgradeEmail({name = "Brendon Urie",email = "[email protected]",- plan = "Pro",+ plan = "Business",}: {name: string | null;email: string;@@ -31,15 +31,10 @@ export default function UpgradeEmail({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">- <Section className="mt-8">- <Img- src={DUB_WORDMARK}- height="40"- alt="Dub"- className="mx-auto my-0"- />+ <Section className="my-8">+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section>- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">+ <Heading className="mx-0 p-0 text-lg font-medium text-black">Thank you for upgrading to Dub.co {plan}!</Heading><Section className="my-8">@@ -88,8 +83,8 @@ export default function UpgradeEmail({</Text>))}<Text className="text-sm leading-6 text-black">- Let me know if you have any questions or feedback. I'm always- happy to help!+ If you have any questions or feedback about Dub, please don't+ hesitate to reach out – I'm always happy to help!</Text><Text className="text-sm font-light leading-6 text-gray-400">Steven from Dubdiff --git a/apps/web/ui/modals/link-builder/conversion-tracking-toggle.tsx b/apps/web/ui/modals/link-builder/conversion-tracking-toggle.tsxindex cf58630304..605bb176bf 100644--- a/apps/web/ui/modals/link-builder/conversion-tracking-toggle.tsx+++ b/apps/web/ui/modals/link-builder/conversion-tracking-toggle.tsx@@ -38,7 +38,7 @@ export function ConversionTrackingToggle() {</div>)}<span className="flex select-none items-center gap-1 text-sm font-medium text-gray-700">- Enable Conversion Tracking+ Conversion Tracking<InfoTooltipcontent={<SimpleTooltipContent