import * as React from "react"; import { cn } from "@/lib/utils"; type NavbarPosition = "static" | "sticky"; type MaxWidth = "sm" | "md" | "lg" | "xl" | "2xl" | "full"; export interface NavbarProps extends React.ComponentProps<"nav"> { height?: string; maxWidth?: MaxWidth; position?: NavbarPosition; } function maxWidthClass(maxWidth: MaxWidth | undefined) { if (maxWidth === "sm") { return "max-w-screen-sm"; } if (maxWidth === "md") { return "max-w-screen-md"; } if (maxWidth === "lg") { return "max-w-screen-lg"; } if (maxWidth === "xl") { return "max-w-screen-xl"; } if (maxWidth === "2xl") { return "max-w-screen-2xl"; } if (maxWidth === "full") { return "max-w-none"; } return "max-w-screen-xl"; } export function Navbar({ children, className, height, maxWidth = "xl", position = "static", ...props }: NavbarProps) { return ( ); } export interface NavbarContentProps extends React.ComponentProps<"div"> { justify?: "start" | "center" | "end"; } export function NavbarContent({ children, className, justify = "start", ...props }: NavbarContentProps) { return (
{children}
); } export function NavbarBrand({ className, ...props }: React.ComponentProps<"div">) { return
; }