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.

Merge branch 'side-nav-layout' of github.com:dubinc/dub into side-nav-layout

Tim Wilsonf2bdf115c4ff
diff --cc apps/web/ui/layout/sidebar/sidebar-nav.tsx
index cd07d90bfc,a48866cf3e..56606607d8
--- a/apps/web/ui/layout/sidebar/sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/sidebar-nav.tsx
@@@ -38,19 -38,17 +38,18 @@@ export function SidebarNav({ toolConten
position: "absolute",
}}
transition={{ duration: 0.15, ease: "easeInOut" }}
+ className="left-0 top-0"
>
- {area === "default" ? (
- <Wordmark className="ml-1 h-6" />
- ) : (
- <Link
- href={slug ? `/${slug}` : "/"}
- className="group -my-1 flex items-center gap-2 py-2 text-sm font-medium text-neutral-900"
- >
- <ChevronLeft className="size-4 text-neutral-500 transition-transform duration-100 group-hover:-translate-x-0.5" />
- Settings
- </Link>
- )}
+ <Link href={slug ? `/${slug}` : "/"}>
+ {area === "default" ? (
+ <Wordmark className="ml-1 h-6" />
+ ) : (
+ <div className="group -my-1 flex items-center gap-2 py-2 text-sm font-medium text-neutral-900">
+ <ChevronLeft className="size-4 text-neutral-500 transition-transform duration-100 group-hover:-translate-x-0.5" />
+ Settings
+ </div>
+ )}
+ </Link>
</motion.div>
</AnimatePresence>
<div className="hidden items-center gap-3 md:flex">