Skip to content

Commit

Permalink
console error resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
sanidhyy committed Oct 8, 2023
1 parent 83eb0d6 commit 9387acd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/components/Nav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,27 +53,27 @@ const Nav = () => {
</button>

{/* START: NAVBAR (SMALL DEVICES) */}
<div class={`navbar-menu relative z-50 ${!isMenu && "hidden"}`}>
<div class="navbar-backdrop fixed inset-0 bg-gray-800 opacity-25"></div>
<nav class="fixed top-0 left-0 bottom-0 flex flex-col w-5/6 max-w-sm py-6 px-6 bg-white border-r overflow-y-auto">
<div class="flex items-center mb-8">
<div className={`navbar-menu relative z-50 ${!isMenu && "hidden"}`}>
<div className="navbar-backdrop fixed inset-0 bg-gray-800 opacity-25"></div>
<nav className="fixed top-0 left-0 bottom-0 flex flex-col w-5/6 max-w-sm py-6 px-6 bg-white border-r overflow-y-auto">
<div className="flex items-center mb-8">
{/* header brand logo (mobile) */}
<a class="mr-auto text-3xl font-bold leading-none" href="/">
<a className="mr-auto text-3xl font-bold leading-none" href="/">
<img src={headerLogo} alt="logo" width={90} height={20} />
</a>
{/* close navbar btn */}
<button class="navbar-close" onClick={() => setIsMenu(false)}>
<button className="navbar-close" onClick={() => setIsMenu(false)}>
<svg
class="h-6 w-6 text-gray-400 cursor-pointer hover:text-gray-500"
className="h-6 w-6 text-gray-400 cursor-pointer hover:text-gray-500"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M6 18L18 6M6 6l12 12"
></path>
</svg>
Expand All @@ -93,7 +93,7 @@ const Nav = () => {
))}
</ul>
{/* source code */}
<div class="mt-auto pt-6">
<div className="mt-auto pt-6">
<a
href="https://github.com/sanidhyy/nike"
target="_blank"
Expand Down

0 comments on commit 9387acd

Please sign in to comment.