The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
replace Crosshairs with UserCheck
Steven Tey2afb12129388
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/referrals/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/referrals/page.tsxindex 20a716cc27..433703f787 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/referrals/page.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/referrals/page.tsx@@ -1,11 +1,6 @@import { dub } from "@/lib/dub";import { Button, CopyButton, Wordmark } from "@dub/ui";-import {- Crosshairs,- CursorRays,- Globe,- InvoiceDollar,-} from "@dub/ui/src/icons";+import { CursorRays, Globe, InvoiceDollar, UserCheck } from "@dub/ui/src/icons";import { COUNTRIES, getPrettyUrl, timeAgo } from "@dub/utils";import { Mail } from "lucide-react";import ReferralsPageClient from "./page-client";@@ -31,7 +26,7 @@ export default function ReferralsPage({<div className="flex gap-3 lg:col-span-2 lg:flex-col"><p className="font-medium text-gray-700">Why refer someone?</p><div className="flex items-center gap-x-2">- <Crosshairs className="size-4 text-gray-500" />+ <UserCheck className="size-4 text-gray-500" /><p className="text-sm text-gray-500">Earn 500 extra clicks quota per month per signup (up to 16,000total)diff --git a/apps/web/ui/analytics/analytics-card.tsx b/apps/web/ui/analytics/analytics-card.tsxindex 0af3939115..a2c246fd5e 100644--- a/apps/web/ui/analytics/analytics-card.tsx+++ b/apps/web/ui/analytics/analytics-card.tsx@@ -1,6 +1,6 @@import { EventType } from "@/lib/analytics/types";import { Modal, TabSelect } from "@dub/ui";-import { Crosshairs, CursorRays, InvoiceDollar } from "@dub/ui/src/icons";+import { CursorRays, InvoiceDollar, UserCheck } from "@dub/ui/src/icons";import { cn } from "@dub/utils";import {Dispatch,@@ -68,7 +68,7 @@ export function AnalyticsCard<T extends string>({{event === "sales" ? (<InvoiceDollar className="h-4 w-4" />) : event === "leads" ? (- <Crosshairs className="h-4 w-4" />+ <UserCheck className="h-4 w-4" />) : (<CursorRays className="h-4 w-4" />)}diff --git a/apps/web/ui/links/link-details-column.tsx b/apps/web/ui/links/link-details-column.tsxindex 77d5ff1f34..b9559e169e 100644--- a/apps/web/ui/links/link-details-column.tsx+++ b/apps/web/ui/links/link-details-column.tsx@@ -3,13 +3,12 @@ import { TagProps } from "@/lib/types";import {AnimatedSizeContainer,CardList,- Crosshairs,Tooltip,useInViewport,useMediaQuery,useRouterStuff,} from "@dub/ui";-import { CursorRays, InvoiceDollar } from "@dub/ui/src/icons";+import { CursorRays, InvoiceDollar, UserCheck } from "@dub/ui/src/icons";import { cn, nFormatter, timeAgo } from "@dub/utils";import Link from "next/link";import { useSearchParams } from "next/navigation";@@ -187,7 +186,7 @@ function AnalyticsBadge({ link }: { link: ResponseLink }) {? [{id: "leads",- icon: Crosshairs,+ icon: UserCheck,value: link.leads,className: "hidden sm:flex",},diff --git a/packages/ui/src/icons/nucleo/crosshairs.tsx b/packages/ui/src/icons/nucleo/crosshairs.tsxdeleted file mode 100644index b253ce4662..0000000000--- a/packages/ui/src/icons/nucleo/crosshairs.tsx+++ /dev/null@@ -1,80 +0,0 @@-import { SVGProps } from "react";--export function Crosshairs(props: SVGProps<SVGSVGElement>) {- return (- <svg- height="18"- width="18"- viewBox="0 0 18 18"- xmlns="http://www.w3.org/2000/svg"- {...props}- >- <g fill="currentColor">- <circle- cx="9"- cy="9"- fill="none"- r="6.5"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="1.5"- />- <circle- cx="9"- cy="9"- fill="none"- r="2.25"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="1.5"- />- <line- fill="none"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="1.5"- x1="9"- x2="9"- y1="1"- y2="2.5"- />- <line- fill="none"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="1.5"- x1="17"- x2="15.5"- y1="9"- y2="9"- />- <line- fill="none"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="1.5"- x1="9"- x2="9"- y1="17"- y2="15.5"- />- <line- fill="none"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="1.5"- x1="1"- x2="2.5"- y1="9"- y2="9"- />- </g>- </svg>- );-}diff --git a/packages/ui/src/icons/nucleo/index.ts b/packages/ui/src/icons/nucleo/index.tsindex 1bb892ab81..11f448892d 100644--- a/packages/ui/src/icons/nucleo/index.ts+++ b/packages/ui/src/icons/nucleo/index.ts@@ -20,7 +20,6 @@ export * from "./circles3";export * from "./cloud-upload";export * from "./code";export * from "./connected-dots";-export * from "./crosshairs";export * from "./cube";export * from "./cube-settings";export * from "./cursor-rays";@@ -74,6 +73,7 @@ export * from "./tag";export * from "./trash";export * from "./tv";export * from "./user";+export * from "./user-check";export * from "./users";export * from "./users6";export * from "./watch";diff --git a/packages/ui/src/icons/nucleo/user-check.tsx b/packages/ui/src/icons/nucleo/user-check.tsxnew file mode 100644index 0000000000..3410662064--- /dev/null+++ b/packages/ui/src/icons/nucleo/user-check.tsx@@ -0,0 +1,42 @@+import { SVGProps } from "react";++export function UserCheck(props: SVGProps<SVGSVGElement>) {+ return (+ <svg+ height="18"+ width="18"+ viewBox="0 0 18 18"+ xmlns="http://www.w3.org/2000/svg"+ {...props}+ >+ <g fill="currentColor">+ <circle+ cx="9"+ cy="4.5"+ fill="none"+ r="2.75"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ />+ <path+ d="M13.314,11.5c-1.121-1.078-2.635-1.75-4.313-1.75-2.551,0-4.739,1.53-5.709,3.72-.365,.825,.087,1.774,.947,2.045,1.225,.386,2.846,.734,4.762,.734"+ fill="none"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ />+ <polyline+ fill="none"+ points="11.25 14.75 12.859 16.25 16.256 11.75"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ />+ </g>+ </svg>+ );+}