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.

add email domain placeholder

Kiran Kc83b491616ca
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/email/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/email/page-client.tsx
index 6971b6117a..36c3b0b08c 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/email/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/email/page-client.tsx
@@ -1,3 +1,30 @@
+"use client";
+
+import { AnimatedEmptyState } from "@/ui/shared/animated-empty-state";
+import { ArrowTurnRight2 } from "@dub/ui";
+import { Mail } from "lucide-react";
+
export function EmailDomains() {
- return <div>EmailDomains</div>;
+ return (
+ <>
+ <div className="grid gap-5">
+ <div className="animate-fade-in">
+ <AnimatedEmptyState
+ title="No email domains found"
+ description="Add email domains for branded partner communications"
+ cardContent={
+ <>
+ <Mail className="size-4 text-neutral-700" />
+ <div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />
+ <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-neutral-500">
+ <ArrowTurnRight2 className="size-3.5" />
+ </div>
+ </>
+ }
+ pillContent="Coming soon"
+ />
+ </div>
+ </div>
+ </>
+ );
}
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/header.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/header.tsx
index e987ce8ee1..ae783a1536 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/header.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/header.tsx
@@ -35,7 +35,7 @@ export function DomainsHeader() {
variant="accent"
options={[
{ id: "custom", label: "Custom domains" },
- // ...(partnersEnabled ? [{ id: "email", label: "Email domains" }] : []),
+ ...(partnersEnabled ? [{ id: "email", label: "Email domains" }] : []),
{ id: "default", label: "Default domains" },
]}
selected={page}