Skip to content

Commit 0ff46ca

Browse files
Remove animation from hamburger menu
1 parent 945163a commit 0ff46ca

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/navigation/HamburgerMenu.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ import React from "react";
33
function HamburgerMenu(props) {
44
const { navLinks, onLinkClick } = props;
55
return (
6-
<div className="flex flex-col py-2 bg-gray-50 border-y-2 absolute left-0 right-0 z-40 animate-fadeIn">
6+
<div className="flex flex-col py-2 bg-gray-50 border-y-2 absolute left-0 right-0 z-40">
77
{navLinks.map((navLink, index) => {
88
return (
99
<a
1010
key={index}
1111
onClick={() => onLinkClick()}
12-
className="py-3 px-4 text-gray-800 hover:text-blue-700 hover:bg-gray-100 animate-fadeInSlow"
12+
className="py-3 px-4 text-gray-800 hover:text-blue-700 hover:bg-gray-100"
1313
href={navLink.href}
1414
target={navLink.target}
15-
style={{ animationDelay: `${index * 50}ms` }}
1615
>
1716
{navLink.linkText}
1817
</a>

0 commit comments

Comments
 (0)