The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
import { DUB_WORDMARK } from "@dub/utils";
import {
Body,
Container,
Head,
Heading,
Html,
Img,
Link,
Preview,
Section,
Tailwind,
Text,
} from "@react-email/components";
import { Footer } from "../components/footer";
export default function DomainDeleted({
email = "[email protected]",
domain = "dub.sh",
workspaceSlug = "dub",
}: {
email: string;
domain: string;
workspaceSlug: string;
}) {
return (
<Html>
<Head />
<Preview>Domain Deleted</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Domain Deleted
</Heading>
<Text className="text-sm leading-6 text-black">
Your domain <code className="text-purple-600">{domain}</code> for
your Dub workspace{" "}
<Link
href={`https://app.dub.co/${workspaceSlug}`}
className="font-medium text-blue-600 no-underline"
>
{workspaceSlug}↗
</Link>{" "}
has been invalid for 30 days. As a result, it has been deleted
from Dub.
</Text>
<Text className="text-sm leading-6 text-black">
If you would like to restore the domain, you can easily create it
again on Dub with the link below.
</Text>
<Section className="my-8">
<Link
className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspaceSlug}/settings/domains`}
>
Add a domain
</Link>
</Section>
<Text className="text-sm leading-6 text-black">
If you don’t plan to keep using this domain on Dub, feel free to
ignore this email.
</Text>
<Footer
email={email}
notificationSettingsUrl={`https://app.dub.co/${workspaceSlug}/settings/notifications`}
/>
</Container>
</Body>
</Tailwind>
</Html>
);
}