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 tooltip to Monthly Traffic label in PartnerAbout (#3364)

Marcus Farrell783f59497b44
diff --git a/apps/web/ui/partners/partner-about.tsx b/apps/web/ui/partners/partner-about.tsx
index ceda5f5da7..60fc419cc4 100644
--- a/apps/web/ui/partners/partner-about.tsx
+++ b/apps/web/ui/partners/partner-about.tsx
@@ -8,7 +8,7 @@ import {
} from "@/lib/partners/partner-profile";
import { EnrolledPartnerExtendedProps } from "@/lib/types";
import { OnlinePresenceSummary } from "@/ui/partners/online-presence-summary";
-import { Icon } from "@dub/ui";
+import { Icon, InfoTooltip } from "@dub/ui";
export function PartnerAbout({
partner,
@@ -98,9 +98,12 @@ export function PartnerAbout({
{Boolean(partner.monthlyTraffic) && (
<div className="flex flex-col gap-2">
- <h3 className="text-content-emphasis text-xs font-semibold">
- Monthly traffic
- </h3>
+ <div className="flex items-center gap-1">
+ <h3 className="text-content-emphasis text-xs font-semibold">
+ Monthly traffic
+ </h3>
+ <InfoTooltip content="Shared by the partner, not verified by Dub." />
+ </div>
<span className="text-content-default text-xs">
{monthlyTrafficAmountsMap[partner.monthlyTraffic!]?.label ?? "-"}
</span>