update all deps
This commit is contained in:
@@ -9,41 +9,38 @@ export default function TopNav() {
|
||||
<div className="fixed lg:w-full right-0 z-50 lg:bg-background">
|
||||
<nav className="flex flex-col-reverse lg:flex-row flex-wrap w-20 lg:w-full outline-1 lg:h-10 h-full">
|
||||
<div className="flex flex-wrap lg:h-full w-20 lg:w-fit lg:flex-row">
|
||||
<Button className="flex h-fit lg:h-full w-full lg:w-20" asChild variant="outline">
|
||||
<Button className="flex h-10 lg:h-full w-full lg:w-20" asChild variant="outline">
|
||||
<Link href={"/blog"}> Blog </Link>
|
||||
</Button>
|
||||
<Button asChild className="flex h-full w-full lg:w-20" variant="outline">
|
||||
<Button asChild className="flex h-10 lg:h-full w-full lg:w-20" variant="outline">
|
||||
<Link href={"/cv"}> CV </Link>
|
||||
</Button>
|
||||
<Button asChild className="flex h-full w-full lg:w-20" variant="outline">
|
||||
<Button asChild className="flex h-10 lg:h-full w-full lg:w-20" variant="outline">
|
||||
<Link href={"/projects"}> Projects </Link>
|
||||
</Button>
|
||||
<Button asChild className="flex h-full w-full lg:w-20" variant="outline">
|
||||
<Link href={"/fun"}> Fun </Link>
|
||||
</Button>
|
||||
</div>
|
||||
<div className="flex flex-col-reverse flex-wrap lg:h-full w-20 lg:w-fit lg:flex-row lg:ml-auto">
|
||||
<AdminWrap>
|
||||
<Button className="flex h-full w-full lg:w-20" variant="outline">
|
||||
<Button className="flex h-10 lg:h-full w-full lg:w-20" variant="outline">
|
||||
<Link className="" href={"/admin"}> Admin </Link>
|
||||
</Button>
|
||||
</AdminWrap>
|
||||
<Show when="signed-in">
|
||||
<Button asChild className="flex h-full w-full lg:w-20" variant={"outline"}>
|
||||
<Button asChild className="flex h-10 lg:h-full w-full lg:w-20" variant={"outline"}>
|
||||
<SignOutButton />
|
||||
</Button>
|
||||
</Show>
|
||||
<Show when="signed-out">
|
||||
<Button asChild className="flex h-full cursor-pointer lg:w-20" variant={"outline"}>
|
||||
<Button asChild className="flex h-10 lg:h-full cursor-pointer lg:w-20" variant={"outline"}>
|
||||
<SignInButton mode="modal" />
|
||||
</Button>
|
||||
<Button asChild className="flex h-full cursor-pointer lg:w-20" variant={"outline"}>
|
||||
<Button asChild className="flex h-10 lg:h-full cursor-pointer lg:w-20" variant={"outline"}>
|
||||
<SignUpButton mode="modal" />
|
||||
</Button>
|
||||
</Show>
|
||||
<ThemeSwitch />
|
||||
<Show when="signed-in">
|
||||
<Button asChild className="flex h-full cursor-pointer lg:w-20 content-center" variant={"outline"}>
|
||||
<Button asChild className="flex h-10 lg:h-full cursor-pointer lg:w-20 content-center" variant={"outline"}>
|
||||
<div>
|
||||
<UserButton />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user