import { ReactNode } from "react"; import { Link } from "react-router-dom"; import { IconPatch } from "@/components/buttons/IconPatch"; import { Icons } from "@/components/Icon"; import { Lightbar } from "@/components/utils/Lightbar"; import { conf } from "@/setup/config"; import { useBannerSize } from "@/stores/banner"; import { BrandPill } from "./BrandPill"; export interface NavigationProps { children?: ReactNode; bg?: boolean; noLightbar?: boolean; } export function Navigation(props: NavigationProps) { const bannerHeight = useBannerSize(); return ( <> {!props.noLightbar ? (
) : null}
{props.children}
); }