Skip to content

Commit

Permalink
💄 Update navbar styling for fluidity
Browse files Browse the repository at this point in the history
Signed-off-by: Prajeen Govardhanam <[email protected]>
  • Loading branch information
rgprajeen committed Jul 20, 2024
1 parent dab78c6 commit 18a9531
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,17 @@ export default function Nav() {
justify="between"
bg="white dark:black"
p="4"
p-x="5%"
>
<div flex="~ row" place="items-center" gap="4">
<div flex="~ row" place="items-center" gap="3">
<A href="/">
<img w="32px" h="32px" src={logo} alt="Attoleap's white logo" />
</A>
<h1 font="brand bold" text="size-28px black dark:white">
AttoLeap
</h1>
</div>
<div place="items-center" gap="4" font="sans 600" text="size-sm" uppercase hidden md="flex">
<div place="items-center" gap="4" font="sans 600" text="size-md" uppercase hidden md="flex">
<NavLinks />
</div>
<div
Expand All @@ -60,7 +61,7 @@ export default function Nav() {
onClick={toggleMenu}
/>
</div>
</nav>
</nav >
<div
class={menuOpen() ? "flex md:hidden" : "hidden"}
absolute
Expand Down

0 comments on commit 18a9531

Please sign in to comment.