Skip to content

Commit

Permalink
improve MobileNav
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Jun 6, 2023
1 parent 792993c commit 6cc9455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/ui/home/nav-mobile.tsx
Expand Up @@ -17,7 +17,6 @@ const sidebar = {
closed: {
clipPath: "circle(0px at 100% 0)",
transition: {
delay: 0.5,
type: "spring",
stiffness: 400,
damping: 40,
Expand Down Expand Up @@ -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={
Expand Down Expand Up @@ -170,6 +169,7 @@ const MenuItemVariants = {
opacity: 0,
transition: {
y: { stiffness: 1000 },
duration: 0.04,
},
},
};
Expand Down

0 comments on commit 6cc9455

Please sign in to comment.