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 { useBannerSize } from "@/hooks/useBanner"; import { conf } from "@/setup/config"; 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}
); }