chore: Replace references to deprecated services

This commit is contained in:
Dries Augustyns
2025-12-31 15:08:26 +01:00
parent 289c633189
commit 7648f6e1eb
51 changed files with 163 additions and 183 deletions
+3 -9
View File
@@ -6,7 +6,7 @@ interface FooterProps {
landingUrl?: string;
}
export function Footer({projectId, landingUrl = 'https://www.useplunk.com'}: FooterProps) {
export function Footer({projectId, landingUrl = 'https://next.useplunk.com'}: FooterProps) {
return (
<Section className="border-t border-gray-100 bg-gray-50 px-8 py-8">
<Text className="mb-4 mt-0 text-center text-xs leading-relaxed text-gray-600">
@@ -22,17 +22,11 @@ export function Footer({projectId, landingUrl = 'https://www.useplunk.com'}: Foo
Plunk
</Link>
{' • '}
<Link
href={`${landingUrl}/privacy`}
className="text-gray-500 no-underline hover:text-gray-700"
>
<Link href={`${landingUrl}/privacy`} className="text-gray-500 no-underline hover:text-gray-700">
Privacy
</Link>
{' • '}
<Link
href={`${landingUrl}/terms`}
className="text-gray-500 no-underline hover:text-gray-700"
>
<Link href={`${landingUrl}/terms`} className="text-gray-500 no-underline hover:text-gray-700">
Terms
</Link>
</Text>
@@ -20,8 +20,8 @@ export function BillingLimitExceededEmail({
usage = 10000,
limit = 10000,
sourceType = 'Transactional',
dashboardUrl = 'https://app.useplunk.com',
landingUrl = 'https://www.useplunk.com',
dashboardUrl = 'https://next-app.useplunk.com',
landingUrl = 'https://next.useplunk.com',
}: BillingLimitExceededEmailProps) {
return (
<EmailLayout>
@@ -22,8 +22,8 @@ export function BillingLimitWarningEmail({
limit = 10000,
percentage = 85,
sourceType = 'Transactional',
dashboardUrl = 'https://app.useplunk.com',
landingUrl = 'https://www.useplunk.com',
dashboardUrl = 'https://next-app.useplunk.com',
landingUrl = 'https://next.useplunk.com',
}: BillingLimitWarningEmailProps) {
const percentageRounded = Math.round(percentage);
const remaining = limit - usage;
@@ -13,7 +13,7 @@ interface EmailVerificationEmailProps {
export function EmailVerificationEmail({
email = '[email protected]',
verificationUrl = 'https://api.useplunk.com/auth/verify-email?token=abc123',
landingUrl = 'https://www.useplunk.com',
landingUrl = 'https://next.useplunk.com',
}: EmailVerificationEmailProps) {
return (
<EmailLayout>
+3 -5
View File
@@ -12,17 +12,15 @@ interface PasswordResetEmailProps {
export function PasswordResetEmail({
email = '[email protected]',
resetUrl = 'https://app.useplunk.com/auth/reset-password?token=abc123',
landingUrl = 'https://www.useplunk.com',
resetUrl = 'https://next-app.useplunk.com/auth/reset-password?token=abc123',
landingUrl = 'https://next.useplunk.com',
}: PasswordResetEmailProps) {
return (
<EmailLayout>
<Header />
<Section className="px-8 pb-10 pt-10">
<Heading className="mb-2 mt-0 text-2xl font-semibold tracking-tight text-gray-900">
Reset your password
</Heading>
<Heading className="mb-2 mt-0 text-2xl font-semibold tracking-tight text-gray-900">Reset your password</Heading>
<Text className="mb-8 mt-0 text-base leading-relaxed text-gray-600">
We received a request to reset your password. Click the button below to create a new password.
@@ -16,8 +16,8 @@ export function ProjectDisabledEmail({
projectName = 'My Project',
projectId = 'proj_example123',
violations = ['Bounce rate exceeded 10% threshold', 'Complaint rate exceeded 0.5% threshold'],
dashboardUrl = 'https://app.useplunk.com',
landingUrl = 'https://www.useplunk.com',
dashboardUrl = 'https://next-app.useplunk.com',
landingUrl = 'https://next.useplunk.com',
}: ProjectDisabledEmailProps) {
return (
<EmailLayout>