This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
learningpulse/web-client/components/navbar.tsx

48 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-09-05 17:07:07 +02:00
import {
Navbar as NextUINavbar,
NavbarContent,
NavbarMenu,
NavbarMenuToggle,
NavbarBrand,
NavbarItem,
NavbarMenuItem,
} from "@nextui-org/navbar";
import { Button } from "@nextui-org/button";
import { Kbd } from "@nextui-org/kbd";
import { Link } from "@nextui-org/link";
import { Input } from "@nextui-org/input";
import { link as linkStyles } from "@nextui-org/theme";
import NextLink from "next/link";
import clsx from "clsx";
import { siteConfig } from "@/config/site";
import { ThemeSwitch } from "@/components/theme-switch";
import {
TwitterIcon,
GithubIcon,
DiscordIcon,
HeartFilledIcon,
SearchIcon,
Logo,
} from "@/components/icons";
export const Navbar = () => {
return (
<NextUINavbar maxWidth="xl" position="sticky">
<NavbarContent className="basis-1/5 sm:basis-full" justify="start">
<ul className="hidden lg:flex gap-4 justify-start ml-2">
<NavbarItem>
<NextLink href={"/"}>Home</NextLink>
</NavbarItem>
<NavbarItem>
<NextLink href={"/dashboard"}>Dashboard</NextLink>
</NavbarItem>
</ul>
</NavbarContent>
</NextUINavbar>
);
};