Skip to content

Commit

Permalink
Merge pull request #66 from AbdulSnk/comment-button
Browse files Browse the repository at this point in the history
fix: comment the connect wallet
  • Loading branch information
PeterOche authored Jan 21, 2025
2 parents 13cd694 + 73ab66f commit 1e7dd6e
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions frontend/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ const Header = () => {
<header className="">
<nav
aria-label="Global"
className="flex items-center justify-between p-3 lg:px-8"
>
className="flex items-center justify-between p-3 lg:px-8">
<div className="flex lg:flex-1">
<Link href="#" className="-m-1.5 p-1.5">
<span className="sr-only">LyricsFlip</span>
Expand All @@ -51,8 +50,7 @@ const Header = () => {
<button
type="button"
onClick={() => setMobileMenuOpen(true)}
className="-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700"
>
className="-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700">
<span className="sr-only">Open main menu</span>
<MdOutlineMenu aria-hidden="true" className="size-6" />
</button>
Expand All @@ -63,26 +61,24 @@ const Header = () => {
key={item.name}
href={item.href}
onClick={(e) => handleScroll(e, item.isScroll)}
className="text-sm/6 font-semibold text-white"
>
className="text-sm/6 font-semibold text-white">
{item.name}
</a>
))}
</div>
<div className="hidden lg:flex lg:flex-1 lg:justify-end">
{/* <div className="hidden lg:flex lg:flex-1 lg:justify-end">
<Link
href="#"
className="text-sm/6 font-semibold text-[#490878] px-3 py-1.5 text-center rounded-lg bg-[#70E3C7]"
>
Connect Wallet
</Link>
</div>
</div> */}
</nav>
<Dialog
open={mobileMenuOpen}
onClose={setMobileMenuOpen}
className="lg:hidden"
>
className="lg:hidden">
<div className="fixed inset-0 z-50" />
<DialogPanel className="fixed inset-y-0 right-0 z-50 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10">
<div className="flex items-center justify-between">
Expand All @@ -97,8 +93,7 @@ const Header = () => {
<button
type="button"
onClick={() => setMobileMenuOpen(false)}
className="-m-2.5 rounded-md p-2.5 text-gray-700"
>
className="-m-2.5 rounded-md p-2.5 text-gray-700">
<span className="sr-only">Close menu</span>
<IoMdClose aria-hidden="true" className="size-6" />
</button>
Expand All @@ -110,17 +105,15 @@ const Header = () => {
<Link
key={item.name}
href={item.href}
className="-mx-3 block rounded-lg px-3 py-2 text-base/7 font-semibold text-gray-900 hover:bg-gray-50"
>
className="-mx-3 block rounded-lg px-3 py-2 text-base/7 font-semibold text-gray-900 hover:bg-gray-50">
{item.name}
</Link>
))}
</div>
<div className="py-6">
<Link
href="#"
className="-mx-3 block rounded-lg px-3 py-2.5 text-base/7 font-semibold text-gray-900 hover:bg-gray-50"
>
className="-mx-3 block rounded-lg px-3 py-2.5 text-base/7 font-semibold text-gray-900 hover:bg-gray-50">
Log in
</Link>
</div>
Expand Down

0 comments on commit 1e7dd6e

Please sign in to comment.