Skip to content

Commit

Permalink
rm market, rm underline, padding tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor committed Oct 5, 2023
1 parent cf628f4 commit a86ecfc
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions src/app/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import Link from "next/link";

export function Navbar() {
return (
<div className="col-span-12 !py-0 navbar">
<div className="flex-none px-2 mx-2">
<div className="col-span-12 !py-0 px-3 navbar h-20">
<div className="flex-none">
<Link
href="/"
className="btn btn-ghost hover:bg-transparent no-underline text-xl p-0 join-item"
className="btn btn-ghost hover:bg-transparent no-underline hover:!no-underline text-xl join-item px-3"
>
<Image
src="/logo_icon.svg"
Expand All @@ -19,26 +19,19 @@ export function Navbar() {
height={40}
className="!my-0"
/>
<span className="xs:invisible sm:visible uppercase">DeXter</span>
<span className="ml-6 pt-1 xs:invisible sm:visible hover:text-accent uppercase">DeXter</span>
</Link>
</div>
<div className="flex-1 px-2 mx-2">
<div className="items-stretch hidden lg:flex">
<Link
className="btn btn-lg btn-ghost hover:!no-underline pt-2 border-t-0 border-x-0 border-b-4 border-transparent hover:border-accent hover:text-accent uppercase"
className="btn btn-lg h-20 btn-ghost hover:!no-underline pt-2 border-t-0 border-x-0 border-b-4 border-transparent hover:border-accent hover:text-accent uppercase"
href="/"
>
Trade
</Link>
<Link
className="btn btn-lg btn-ghost hover:!no-underline pt-2 border-t-0 border-x-0 border-b-4 border-transparent hover:border-accent hover:text-accent uppercase"
href="/markets"
>
Markets
</Link>
</div>
</div>

<div className="navbar-end">
<radix-connect-button></radix-connect-button>
</div>
Expand Down

0 comments on commit a86ecfc

Please sign in to comment.