The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Remove background from unscrolled nav
Tim Wilson3b807fd606c9
diff --git a/packages/ui/src/nav.tsx b/packages/ui/src/nav.tsxindex 3c6bb4602f..0a7af2d746 100644--- a/packages/ui/src/nav.tsx+++ b/packages/ui/src/nav.tsx@@ -64,7 +64,7 @@ export function Nav({ theme = "light" }: { theme?: NavTheme }) {><divclassName={cn(- "-z-1 absolute inset-0 border-transparent transition-all dark:bg-black",+ "-z-1 absolute inset-0 border-transparent transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg dark:border-white/10 dark:bg-black/75":scrolled,