import { adminNavigationConfig } from '@kit/shared/config';
import {
  Sidebar,
  SidebarContent,
  SidebarHeader,
  SidebarNavigation,
} from '@kit/ui/shadcn-sidebar';

export function AdminSidebar() {
  const collapsible = adminNavigationConfig.sidebarCollapsedStyle;

  return (
    <Sidebar collapsible={collapsible}>
      <SidebarHeader className="h-24 justify-center">
        <div className="mt-24 flex items-center">
          <h5>Superadmin</h5>
        </div>
      </SidebarHeader>

      <SidebarContent>
        <SidebarNavigation config={adminNavigationConfig} />
      </SidebarContent>
    </Sidebar>
  );
}
