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.

updated logos

Steven Teyc5536facde96
diff --git a/packages/ui/src/icons/default-domains/figma.tsx b/packages/ui/src/icons/default-domains/figma.tsx
new file mode 100644
index 0000000000..11e28664c3
--- /dev/null
+++ b/packages/ui/src/icons/default-domains/figma.tsx
@@ -0,0 +1,58 @@
+import { cn } from "@dub/utils";
+
+export function Figma({ className }: { className?: string }) {
+ return (
+ <svg
+ className={cn("h-full w-full", className)}
+ viewBox="0 0 222 222"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <circle cx="111" cy="111" r="111" fill="url(#paint0_radial_8328_50)" />
+ <g clip-path="url(#clip0_8328_50)">
+ <path
+ d="M85.0053 196C99.3544 196 111 184.352 111 170V144H85.0053C70.6562 144 59.0105 155.648 59.0105 170C59.0105 184.352 70.6562 196 85.0053 196Z"
+ fill="#0ACF83"
+ />
+ <path
+ d="M59.0105 118C59.0105 103.648 70.6562 92 85.0053 92H111V144H85.0053C70.6562 144 59.0105 132.352 59.0105 118Z"
+ fill="#A259FF"
+ />
+ <path
+ d="M59.0103 66C59.0103 51.648 70.6559 40 85.0051 40H111V92H85.0051C70.6559 92 59.0103 80.352 59.0103 66Z"
+ fill="#F24E1E"
+ />
+ <path
+ d="M111 40H136.995C151.344 40 162.99 51.648 162.99 66C162.99 80.352 151.344 92 136.995 92H111V40Z"
+ fill="#FF7262"
+ />
+ <path
+ d="M162.99 118C162.99 132.352 151.344 144 136.995 144C122.646 144 111 132.352 111 118C111 103.648 122.646 92 136.995 92C151.344 92 162.99 103.648 162.99 118Z"
+ fill="#1ABCFE"
+ />
+ </g>
+ <defs>
+ <radialGradient
+ id="paint0_radial_8328_50"
+ cx="0"
+ cy="0"
+ r="1"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(226.5 207.5) rotate(-140.591) scale(286.681)"
+ >
+ <stop stopColor="white" />
+ <stop offset="0.5" stopColor="white" />
+ <stop offset="1" stopColor="#E8E8E8" />
+ </radialGradient>
+ <clipPath id="clip0_8328_50">
+ <rect
+ width="104"
+ height="156"
+ fill="white"
+ transform="translate(59 40)"
+ />
+ </clipPath>
+ </defs>
+ </svg>
+ );
+}
diff --git a/packages/ui/src/icons/default-domains/github.tsx b/packages/ui/src/icons/default-domains/github-enhanced.tsx
similarity index 100%
rename from packages/ui/src/icons/default-domains/github.tsx
rename to packages/ui/src/icons/default-domains/github-enhanced.tsx
diff --git a/packages/ui/src/icons/default-domains/google.tsx b/packages/ui/src/icons/default-domains/google-enhanced.tsx
similarity index 61%
rename from packages/ui/src/icons/default-domains/google.tsx
rename to packages/ui/src/icons/default-domains/google-enhanced.tsx
index 4fe6a892fb..5dca4720b5 100644
--- a/packages/ui/src/icons/default-domains/google.tsx
+++ b/packages/ui/src/icons/default-domains/google-enhanced.tsx
@@ -8,79 +8,79 @@ export function GoogleEnhanced({ className }: { className?: string }) {
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
- <circle cx="111" cy="111" r="111" fill="url(#paint0_radial_8328_50)" />
+ <circle cx="111" cy="111" r="111" fill="url(#paint0_radial_8357_120)" />
<path
d="M182.248 111.875C182.248 105.853 181.76 101.458 180.702 96.9003H111.931V124.083H152.298C151.484 130.838 147.089 141.011 137.323 147.848L137.186 148.758L158.93 165.603L160.437 165.753C174.272 152.975 182.248 134.175 182.248 111.875Z"
- fill="url(#paint1_linear_8328_50)"
+ fill="url(#paint1_linear_8357_120)"
/>
<path
d="M111.931 183.495C131.707 183.495 148.31 176.984 160.437 165.753L137.323 147.848C131.138 152.161 122.836 155.172 111.931 155.172C92.561 155.172 76.1211 142.395 70.2607 124.734L69.4017 124.807L46.7918 142.305L46.4961 143.127C58.5411 167.055 83.2826 183.495 111.931 183.495Z"
- fill="url(#paint2_linear_8328_50)"
+ fill="url(#paint2_linear_8357_120)"
/>
<path
- d="M70.2607 124.734C68.7144 120.177 67.8195 115.293 67.8195 110.248C67.8195 105.201 68.7144 100.318 70.1794 95.7607L70.1384 94.7901L47.2451 77.0109L46.4961 77.3672C41.5318 87.2964 38.6832 98.4466 38.6832 110.248C38.6832 122.048 41.5318 133.198 46.4961 143.127L70.2607 124.734Z"
- fill="url(#paint3_linear_8328_50)"
+ d="M70.2606 124.734C68.7143 120.177 67.8194 115.293 67.8194 110.248C67.8194 105.201 68.7143 100.318 70.1793 95.7607L70.1383 94.7901L47.245 77.0109L46.496 77.3672C41.5317 87.2964 38.6831 98.4466 38.6831 110.248C38.6831 122.048 41.5317 133.198 46.496 143.127L70.2606 124.734Z"
+ fill="url(#paint3_linear_8357_120)"
/>
<path
d="M111.931 65.3222C125.685 65.3222 134.963 71.2633 140.253 76.2282L160.925 56.0444C148.229 44.2434 131.707 37 111.931 37C83.2826 37 58.5411 53.4399 46.4961 77.3672L70.1794 95.7607C76.1211 78.1 92.561 65.3222 111.931 65.3222Z"
- fill="url(#paint4_linear_8328_50)"
+ fill="url(#paint4_linear_8357_120)"
/>
<defs>
<radialGradient
- id="paint0_radial_8328_50"
+ id="paint0_radial_8357_120"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
- gradientTransform="translate(-26 -7.31473e-06) rotate(38.1183) scale(289.169)"
+ gradientTransform="translate(226.5 207.5) rotate(-140.591) scale(286.681)"
>
<stop stop-color="white" />
<stop offset="0.5" stop-color="white" />
- <stop offset="1" stop-color="#ECECEC" />
+ <stop offset="1" stop-color="#E8E8E8" />
</radialGradient>
<linearGradient
- id="paint1_linear_8328_50"
+ id="paint1_linear_8357_120"
x1="176.5"
y1="148.5"
x2="112"
y2="97"
gradientUnits="userSpaceOnUse"
>
- <stop stop-color="#4285F4" />
- <stop offset="1" stop-color="#76A7F9" />
+ <stop stop-color="#76A7F9" />
+ <stop offset="1" stop-color="#4285F4" />
</linearGradient>
<linearGradient
- id="paint2_linear_8328_50"
+ id="paint2_linear_8357_120"
x1="38.5"
y1="164.5"
- x2="110.5"
- y2="154"
+ x2="160"
+ y2="175"
gradientUnits="userSpaceOnUse"
>
- <stop stop-color="#8DFBAA" />
- <stop offset="1" stop-color="#34A853" />
+ <stop stop-color="#34A853" />
+ <stop offset="1" stop-color="#8DFBAA" />
</linearGradient>
<linearGradient
- id="paint3_linear_8328_50"
- x1="66.5"
- y1="119"
- x2="36"
+ id="paint3_linear_8357_120"
+ x1="81"
+ y1="115"
+ x2="35.9999"
y2="110"
gradientUnits="userSpaceOnUse"
>
- <stop stop-color="#FBBC05" />
- <stop offset="1" stop-color="#FFE28F" />
+ <stop stop-color="#FFE28F" />
+ <stop offset="1" stop-color="#FBBC05" />
</linearGradient>
<linearGradient
- id="paint4_linear_8328_50"
- x1="92.5"
- y1="66"
+ id="paint4_linear_8357_120"
+ x1="117.5"
+ y1="84"
x2="78"
y2="45.5"
gradientUnits="userSpaceOnUse"
>
- <stop stop-color="#EB4335" />
- <stop offset="1" stop-color="#FF968D" />
+ <stop stop-color="#FF968D" />
+ <stop offset="1" stop-color="#EB4335" />
</linearGradient>
</defs>
</svg>
diff --git a/packages/ui/src/icons/index.tsx b/packages/ui/src/icons/index.tsx
index c3b780a942..b69de2104e 100644
--- a/packages/ui/src/icons/index.tsx
+++ b/packages/ui/src/icons/index.tsx
@@ -37,8 +37,9 @@ export * from "./youtube";
// dub default domains logos
export * from "./default-domains/amazon";
export * from "./default-domains/chatgpt";
-export * from "./default-domains/github";
-export * from "./default-domains/google";
+export * from "./default-domains/figma";
+export * from "./default-domains/github-enhanced";
+export * from "./default-domains/google-enhanced";
export * from "./default-domains/spotify";
// Nucleo icons