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 icons

Tim Wilsonc994c8106bbd
diff --git a/apps/web/app/partners.dub.co/(onboarding)/onboarding/online-presence/online-presence-form.tsx b/apps/web/app/partners.dub.co/(onboarding)/onboarding/online-presence/online-presence-form.tsx
index 5e61a14c2f..8ed52bab80 100644
--- a/apps/web/app/partners.dub.co/(onboarding)/onboarding/online-presence/online-presence-form.tsx
+++ b/apps/web/app/partners.dub.co/(onboarding)/onboarding/online-presence/online-presence-form.tsx
@@ -1,7 +1,7 @@
"use client";
import { updateOnlinePresenceAction } from "@/lib/actions/partners/update-online-presence";
-import { Button, Globe } from "@dub/ui";
+import { Button, Globe, Instagram, TikTok, Twitter, YouTube } from "@dub/ui";
import { cn } from "@dub/utils/src/functions";
import { useAction } from "next-safe-action/hooks";
import { useRouter } from "next/navigation";
@@ -127,7 +127,7 @@ export function OnlinePresenceForm({
className="absolute right-1.5 top-1/2 h-7 w-fit -translate-y-1/2 px-2.5"
variant="secondary"
text="Verify"
- icon={<Globe className="size-4" />}
+ icon={<Instagram className="size-3.5" />}
onClick={() => alert("WIP")}
/>
</div>
@@ -156,7 +156,7 @@ export function OnlinePresenceForm({
className="absolute right-1.5 top-1/2 h-7 w-fit -translate-y-1/2 px-2.5"
variant="secondary"
text="Verify"
- icon={<Globe className="size-4" />}
+ icon={<TikTok className="size-3.5" />}
onClick={() => alert("WIP")}
/>
</div>
@@ -185,16 +185,14 @@ export function OnlinePresenceForm({
className="absolute right-1.5 top-1/2 h-7 w-fit -translate-y-1/2 px-2.5"
variant="secondary"
text="Verify"
- icon={<Globe className="size-4" />}
+ icon={<YouTube className="size-3.5" />}
onClick={() => alert("WIP")}
/>
</div>
</label>
<label>
- <span className="text-sm font-medium text-neutral-800">
- X (Twitter)
- </span>
+ <span className="text-sm font-medium text-neutral-800">X/Twitter</span>
<div className="relative">
<div className="mt-2 flex rounded-md">
<span className="inline-flex items-center rounded-l-md border border-r-0 border-neutral-300 bg-neutral-50 px-3 text-neutral-500 sm:text-sm">
@@ -216,7 +214,7 @@ export function OnlinePresenceForm({
className="absolute right-1.5 top-1/2 h-7 w-fit -translate-y-1/2 px-2.5"
variant="secondary"
text="Verify"
- icon={<Globe className="size-4" />}
+ icon={<Twitter className="size-3.5" />}
onClick={() => alert("WIP")}
/>
</div>
diff --git a/packages/ui/src/icons/index.tsx b/packages/ui/src/icons/index.tsx
index 8e7aee1c43..457d298e17 100644
--- a/packages/ui/src/icons/index.tsx
+++ b/packages/ui/src/icons/index.tsx
@@ -24,10 +24,12 @@ export * from "./loading-spinner";
export * from "./facebook";
export * from "./github";
export * from "./google";
+export * from "./instagram";
export * from "./linkedin";
export * from "./prisma";
export * from "./product-hunt";
export * from "./raycast";
+export * from "./tiktok";
export * from "./tinybird";
export * from "./twitter";
export * from "./unsplash";
diff --git a/packages/ui/src/icons/instagram.tsx b/packages/ui/src/icons/instagram.tsx
new file mode 100644
index 0000000000..7b652c479b
--- /dev/null
+++ b/packages/ui/src/icons/instagram.tsx
@@ -0,0 +1,21 @@
+import { SVGProps } from "react";
+
+export function Instagram(props: SVGProps<SVGSVGElement>) {
+ return (
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="18"
+ height="18"
+ fill="none"
+ viewBox="0 0 18 18"
+ {...props}
+ >
+ <g>
+ <path
+ fill="currentColor"
+ d="M9 1.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.95.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.95.043-1.234.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.95-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.95-.043 1.234-.052 3.637-.052M9 0C6.556 0 6.25.01 5.29.054 4.33.098 3.676.25 3.104.473A4.4 4.4 0 0 0 1.51 1.51c-.5.5-.809 1.002-1.038 1.594C.25 3.677.097 4.33.053 5.289.01 6.25 0 6.556 0 9s.01 2.75.054 3.71c.044.959.196 1.613.419 2.185.23.592.537 1.094 1.038 1.595.5.5 1.002.808 1.594 1.038.572.222 1.226.374 2.184.418C6.25 17.99 6.556 18 9 18s2.75-.01 3.71-.054c.959-.044 1.613-.196 2.185-.419a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.223-.572.375-1.226.419-2.184C17.99 11.75 18 11.444 18 9s-.01-2.75-.054-3.71c-.044-.959-.196-1.613-.419-2.185A4.4 4.4 0 0 0 16.49 1.51 4.4 4.4 0 0 0 14.895.473C14.323.25 13.67.097 12.711.053 11.75.01 11.444 0 9 0m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M9 12a3 3 0 1 1 0-6 3 3 0 0 1 0 6m5.884-7.804a1.08 1.08 0 1 1-2.16 0 1.08 1.08 0 0 1 2.16 0"
+ />
+ </g>
+ </svg>
+ );
+}
diff --git a/packages/ui/src/icons/tiktok.tsx b/packages/ui/src/icons/tiktok.tsx
new file mode 100644
index 0000000000..2e016fba7c
--- /dev/null
+++ b/packages/ui/src/icons/tiktok.tsx
@@ -0,0 +1,27 @@
+import { SVGProps } from "react";
+
+export function TikTok(props: SVGProps<SVGSVGElement>) {
+ return (
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="17"
+ height="19"
+ fill="none"
+ viewBox="0 0 17 19"
+ {...props}
+ >
+ <path
+ fill="#FF004F"
+ d="M12.581 6.841a7.56 7.56 0 0 0 4.382 1.389V5.116q-.465 0-.92-.096v2.452a7.56 7.56 0 0 1-4.382-1.389v6.355c0 3.179-2.602 5.756-5.812 5.756a5.82 5.82 0 0 1-3.236-.974 5.82 5.82 0 0 0 4.156 1.732c3.21 0 5.812-2.577 5.812-5.756zM13.717 3.7a4.32 4.32 0 0 1-1.136-2.54V.757h-.872c.22 1.24.968 2.3 2.008 2.941M4.643 14.781a2.6 2.6 0 0 1-.543-1.594c0-1.454 1.19-2.633 2.659-2.633.274 0 .546.041.806.123V7.494a6 6 0 0 0-.92-.053V9.92a2.7 2.7 0 0 0-.806-.123c-1.469 0-2.659 1.179-2.659 2.633a2.63 2.63 0 0 0 1.463 2.352"
+ ></path>
+ <path
+ fill="#171717"
+ d="M11.66 6.083a7.56 7.56 0 0 0 4.382 1.389V5.02a4.4 4.4 0 0 1-2.326-1.32A4.36 4.36 0 0 1 11.709.757H9.418v12.438c-.005 1.45-1.194 2.624-2.659 2.624-.863 0-1.63-.408-2.116-1.04A2.63 2.63 0 0 1 3.18 12.43c0-1.454 1.19-2.633 2.659-2.633q.423.001.807.123V7.441c-3.154.065-5.69 2.616-5.69 5.755 0 1.566.632 2.987 1.657 4.025a5.83 5.83 0 0 0 3.235.973c3.21 0 5.812-2.577 5.812-5.756z"
+ ></path>
+ <path
+ fill="#00F2EA"
+ d="M16.043 5.02v-.662a4.4 4.4 0 0 1-2.327-.658 4.4 4.4 0 0 0 2.327 1.32M11.709.759a4 4 0 0 1-.048-.357V0H8.498v12.438c-.005 1.45-1.193 2.624-2.659 2.624a2.7 2.7 0 0 1-1.196-.28 2.66 2.66 0 0 0 2.116 1.038c1.466 0 2.654-1.174 2.659-2.624V.758zM6.646 7.442v-.706a6 6 0 0 0-.797-.054c-3.21 0-5.813 2.577-5.813 5.756a5.74 5.74 0 0 0 2.577 4.783 5.7 5.7 0 0 1-1.657-4.025c0-3.138 2.536-5.69 5.69-5.754"
+ ></path>
+ </svg>
+ );
+}