import { ReactNode, useState } from "react"; import { Link } from "react-router-dom"; import { IconPatch } from "@/components/buttons/IconPatch"; import { Icons } from "@/components/Icon"; import { useBannerSize } from "@/hooks/useBanner"; import { conf } from "@/setup/config"; import SettingsModal from "@/views/SettingsModal"; import { BrandPill } from "./BrandPill"; export interface NavigationProps { children?: ReactNode; bg?: boolean; } export function Navigation(props: NavigationProps) { const bannerHeight = useBannerSize(); const [showModal, setShowModal] = useState(false); return (
{props.children}
{ setShowModal(true); }} />
setShowModal(false)} />
); }