import type { FC } from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faMagnifyingGlass } from "@fortawesome/pro-duotone-svg-icons"; const SearchLg: FC<{ className?: string }> = ({ className }) => ; import { Input } from "@/components/base/input/input"; import { UntitledLogo } from "@/components/foundations/logo/untitledui-logo"; import { MobileNavigationHeader } from "../base-components/mobile-header"; import { NavAccountCard } from "../base-components/nav-account-card"; import { NavList } from "../base-components/nav-list"; import type { NavItemDividerType, NavItemType } from "../config"; interface SidebarNavigationSectionDividersProps { /** URL of the currently active item. */ activeUrl?: string; /** List of items to display. */ items: (NavItemType | NavItemDividerType)[]; } export const SidebarNavigationSectionDividers = ({ activeUrl, items }: SidebarNavigationSectionDividersProps) => { const MAIN_SIDEBAR_WIDTH = 292; const content = ( ); return ( <> {/* Mobile header navigation */} {content} {/* Desktop sidebar navigation */}
{content}
{/* Placeholder to take up physical space because the real sidebar has `fixed` position. */}
); };