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 more titleInfo

Steven Teyfd1c0e4f9144
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/customers/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/customers/page.tsx
index 6741ec24f0..5f7a3e5e32 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/customers/page.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/customers/page.tsx
@@ -1,10 +1,25 @@
import { PageContent } from "@/ui/layout/page-content";
import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";
+import { InfoTooltip, TooltipContent } from "@dub/ui";
import { CustomersPageClient } from "./page-client";
export default function CustomersPage() {
return (
- <PageContent title="Customers">
+ <PageContent
+ title="Customers"
+ titleInfo={
+ <InfoTooltip
+ content={
+ <TooltipContent
+ title="Get deeper, real-time insights about your customers' demographics, purchasing behavior, and lifetime value (LTV)."
+ href="https://dub.co/help/article/customer-insights"
+ target="_blank"
+ cta="Learn more"
+ />
+ }
+ />
+ }
+ >
<PageWidthWrapper>
<CustomersPageClient />
</PageWidthWrapper>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/links/folders/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/links/folders/page.tsx
index 57b9b74da4..9028912fcb 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/links/folders/page.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/links/folders/page.tsx
@@ -1,10 +1,26 @@
import { PageContent } from "@/ui/layout/page-content";
import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";
+import { InfoTooltip, TooltipContent } from "@dub/ui";
import { FoldersPageClient, FoldersPageControls } from "./page-client";
export default async function FoldersPage() {
return (
- <PageContent title="Folders" controls={<FoldersPageControls />}>
+ <PageContent
+ title="Folders"
+ titleInfo={
+ <InfoTooltip
+ content={
+ <TooltipContent
+ title="Learn how to use folders to organize and manage access to your links with fine-grained role-based access controls."
+ href="https://dub.co/help/article/link-folders"
+ target="_blank"
+ cta="Learn more"
+ />
+ }
+ />
+ }
+ controls={<FoldersPageControls />}
+ >
<PageWidthWrapper>
<FoldersPageClient />
</PageWidthWrapper>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/links/tags/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/links/tags/page.tsx
index 2e1218d860..ee6d3cebe8 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/links/tags/page.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/links/tags/page.tsx
@@ -1,11 +1,27 @@
import { PageContent } from "@/ui/layout/page-content";
import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";
+import { InfoTooltip, TooltipContent } from "@dub/ui";
import { Suspense } from "react";
import WorkspaceTagsClient, { TagsPageControls } from "./page-client";
export default function TagsPage() {
return (
- <PageContent title="Tags" controls={<TagsPageControls />}>
+ <PageContent
+ title="Tags"
+ titleInfo={
+ <InfoTooltip
+ content={
+ <TooltipContent
+ title="Learn how to use tags to organize your links and retrieve analytics for them."
+ href="https://dub.co/help/article/how-to-use-tags"
+ target="_blank"
+ cta="Learn more"
+ />
+ }
+ />
+ }
+ controls={<TagsPageControls />}
+ >
<PageWidthWrapper>
<Suspense>
<WorkspaceTagsClient />
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/links/utm/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/links/utm/page.tsx
index d0a043439c..adffa1d1f6 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/links/utm/page.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/links/utm/page.tsx
@@ -1,11 +1,27 @@
import { PageContent } from "@/ui/layout/page-content";
import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";
+import { InfoTooltip, TooltipContent } from "@dub/ui";
import { Suspense } from "react";
import WorkspaceUtmTemplatesClient, { UTMPageControls } from "./page-client";
export default function WorkspaceUtmTemplates() {
return (
- <PageContent title="UTM Templates" controls={<UTMPageControls />}>
+ <PageContent
+ title="UTM Templates"
+ titleInfo={
+ <InfoTooltip
+ content={
+ <TooltipContent
+ title="Learn how to create UTM templates on Dub to streamline UTM campaign management across your team."
+ href="https://dub.co/help/article/how-to-create-utm-templates"
+ target="_blank"
+ cta="Learn more"
+ />
+ }
+ />
+ }
+ controls={<UTMPageControls />}
+ >
<PageWidthWrapper>
<Suspense>
<WorkspaceUtmTemplatesClient />