Skip to content

Commit

Permalink
fix: navbar menu position
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed Jun 28, 2024
1 parent 76ce0ff commit 7f8d725
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions apps/web/src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,11 @@ export async function Navbar() {
</Alert>
)}
<div className="flex h-16 items-center justify-between px-4 sm:px-8">
<Link href="/">
<Logo
className={cn("hidden h-7 sm:h-9 md:block", {
invisible: isAdmin,
block: !isAdmin,
})}
/>
</Link>
{!isAdmin && (
<Link href="/">
<Logo className="hidden h-7 sm:h-9 md:block" />
</Link>
)}
<SidebarButton user={session?.user} />
<div className="flex gap-3">
<ThemeToggle />
Expand Down

0 comments on commit 7f8d725

Please sign in to comment.