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.

improve MobileNav

Steven Tey6cc94557a449
diff --git a/app/ui/home/nav-mobile.tsx b/app/ui/home/nav-mobile.tsx
index cafa91ab3e..67cafa8aa0 100644
--- a/app/ui/home/nav-mobile.tsx
+++ b/app/ui/home/nav-mobile.tsx
@@ -17,7 +17,6 @@ const sidebar = {
closed: {
clipPath: "circle(0px at 100% 0)",
transition: {
- delay: 0.5,
type: "spring",
stiffness: 400,
damping: 40,
@@ -53,7 +52,7 @@ export default function MobileNav() {
className="absolute grid w-full gap-3 px-10 py-16"
>
{navItems.map((item) => (
- <div key={item}>
+ <div key={item} className="grid gap-3">
<MenuItem>
<Link
href={
@@ -170,6 +169,7 @@ const MenuItemVariants = {
opacity: 0,
transition: {
y: { stiffness: 1000 },
+ duration: 0.04,
},
},
};