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.

update empty states

Steven Teya84e89aaa116
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/library-empty-state.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/library-empty-state.tsx
index 7931c9b023..5a58b6eea5 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/library-empty-state.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/library-empty-state.tsx
@@ -28,7 +28,7 @@ export function LibraryEmptyState({
))}
</div>
</div>
- <div className="text-center">
+ <div className="max-w-sm text-pretty text-center">
<span className="text-base font-medium text-neutral-900">{title}</span>
<p className="mt-2 text-sm text-neutral-500">{description}</p>
</div>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/page-client.tsx
index 2c9bc7c1e9..8beea7c646 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/page-client.tsx
@@ -120,7 +120,7 @@ export default function WorkspaceTagsClient() {
</>
) : (
<LibraryEmptyState
- title="No tags"
+ title="No tags found"
description="Create tags to organize your links"
cardContent={
<>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/page-client.tsx
index c081f47b9b..1a86ffdb6b 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/page-client.tsx
@@ -80,8 +80,8 @@ export default function WorkspaceUtmTemplatesClient() {
</>
) : (
<LibraryEmptyState
- title="No UTM Templates"
- description="Create templates for quicker link tracking"
+ title="No UTM Templates Found"
+ description="Create shared templates to streamline UTM campaign management across your team"
cardContent={
<>
<DiamondTurnRight className="size-4 text-neutral-700" />
@@ -93,7 +93,7 @@ export default function WorkspaceUtmTemplatesClient() {
</>
}
addButton={<AddUtmTemplateButton />}
- learnMoreHref="https://dub.co/help/article/utm-builder" // TODO: Update with template-specific link
+ learnMoreHref="https://dub.co/help/article/how-to-create-utm-templates" //
/>
)}
</div>