Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added src/components/MobileMenu.tsx
Empty file.
6 changes: 3 additions & 3 deletions src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import {

export default function Nav() {
return (
<NavigationMenu className="bg-blue-500 h-full w-full">
<NavigationMenu className="w-full h-16">

<NavigationMenuList className="space-x-4 bg-red-500 h-full">
<NavigationMenuList>

{NAV_LINKS.map((link: Link) => (
<NavigationMenuLink href={link.href} key={link.href} className="h-full">
<NavigationMenuLink href={link.href} key={link.href} className="h-full text-base">
{link.name}
</NavigationMenuLink>
))}
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/MobileMenu.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { NAV_LINKS } from "~/consts";
import { isNavLinkActive } from "~/lib/utils";
import { isNavLinkActive } from "~/lib/blog";
import NavLink from "~/components/navigation/NavLink.astro";
import DropDown from "~/components/navigation/DropDown.astro";
const pathname = new URL(Astro.request.url).pathname;
Expand Down
2 changes: 1 addition & 1 deletion src/components/site/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function Page(props: Props) {
<SidebarProvider>
<SiteSidebar />
<SidebarInset>
<header className="flex h-16 shrink-0 items-center gap-2 border-b px-4">
<header className="flex h-16 shrink-0 items-center gap-2 border-b px-4 w-full ">

<Nav />
<Toggle x-on:click="darkMode = !darkMode">
Expand Down
Loading