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.

reorder importers

Steven Tey1e549e7c03f9
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
index 99cc546f79..b404f9cb02 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
@@ -109,11 +109,11 @@ const AddLinkOptions = () => {
>
<div className="flex w-full cursor-not-allowed items-center justify-between space-x-2 rounded-md p-2 text-sm text-gray-400">
<IconMenu
- text="Import from Short.io"
+ text="Import from Rebrandly"
icon={
<img
- src="/_static/icons/short.svg"
- alt="Short.io logo"
+ src="/_static/icons/rebrandly.svg"
+ alt="Rebrandly logo"
className="h-4 w-4 grayscale"
/>
}
@@ -124,17 +124,17 @@ const AddLinkOptions = () => {
<button
onClick={() => {
setOpenPopover(false);
- router.push(`/${slug}?import=short`);
+ router.push(`/${slug}?import=rebrandly`);
}}
className="w-full rounded-md p-2 hover:bg-gray-100 active:bg-gray-200"
>
<IconMenu
- text="Import from Short.io"
+ text="Import from Rebrandly"
icon={
<img
- src="/_static/icons/short.svg"
- alt="Short.io logo"
- className="h-4 w-4"
+ src="/_static/icons/rebrandly.svg"
+ alt="Rebrandly logo"
+ className="h-5 w-5"
/>
}
/>
@@ -155,11 +155,11 @@ const AddLinkOptions = () => {
>
<div className="flex w-full cursor-not-allowed items-center justify-between space-x-2 rounded-md p-2 text-sm text-gray-400">
<IconMenu
- text="Import from Rebrandly"
+ text="Import from Short.io"
icon={
<img
- src="/_static/icons/rebrandly.svg"
- alt="Rebrandly logo"
+ src="/_static/icons/short.svg"
+ alt="Short.io logo"
className="h-4 w-4 grayscale"
/>
}
@@ -170,17 +170,17 @@ const AddLinkOptions = () => {
<button
onClick={() => {
setOpenPopover(false);
- router.push(`/${slug}?import=rebrandly`);
+ router.push(`/${slug}?import=short`);
}}
className="w-full rounded-md p-2 hover:bg-gray-100 active:bg-gray-200"
>
<IconMenu
- text="Import from Rebrandly"
+ text="Import from Short.io"
icon={
<img
- src="/_static/icons/rebrandly.svg"
- alt="Rebrandly logo"
- className="h-5 w-5"
+ src="/_static/icons/short.svg"
+ alt="Short.io logo"
+ className="h-4 w-4"
/>
}
/>
diff --git a/apps/web/public/_static/icons/rebrandly.svg b/apps/web/public/_static/icons/rebrandly.svg
index 0cefcb6394..d27495d4ae 100644
--- a/apps/web/public/_static/icons/rebrandly.svg
+++ b/apps/web/public/_static/icons/rebrandly.svg
@@ -68,20 +68,6 @@
Q 199.98 239.49 200.15 239.30"
/>
</g>
-<path fill="#ffffff" d="
- M 0.00 0.00
- L 400.00 0.00
- L 400.00 400.00
- L 0.00 400.00
- L 0.00 0.00
- Z
- M 368.05 202.00
- A 168.05 168.05 0.0 0 0 200.00 33.95
- A 168.05 168.05 0.0 0 0 31.95 202.00
- A 168.05 168.05 0.0 0 0 200.00 370.05
- A 168.05 168.05 0.0 0 0 368.05 202.00
- Z"
-/>
<path fill="#2394e2" d="
M 368.05 202.00
A 168.05 168.05 0.0 0 1 200.00 370.05