()
| 4 | import { ModeSwitcher } from "./mode-switcher"; |
| 5 | |
| 6 | export function SiteHeader() { |
| 7 | return ( |
| 8 | <header className="flex h-(--header-height) shrink-0 items-center gap-2 border-b transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-(--header-height)"> |
| 9 | <div className="flex w-full items-center gap-1 px-4 lg:gap-2 lg:px-6"> |
| 10 | <SidebarTrigger className="-ml-1" /> |
| 11 | <Separator |
| 12 | orientation="vertical" |
| 13 | className="mx-2 data-[orientation=vertical]:h-4" |
| 14 | /> |
| 15 | <h1 className="text-base font-medium">Documents</h1> |
| 16 | <div className="ml-auto flex items-center gap-2"> |
| 17 | <Button variant="ghost" asChild size="sm" className="hidden sm:flex"> |
| 18 | <a |
| 19 | href="https://github.com/Codehagen/Badget" |
| 20 | rel="noopener noreferrer" |
| 21 | target="_blank" |
| 22 | className="text-foreground" |
| 23 | > |
| 24 | GitHub |
| 25 | </a> |
| 26 | </Button> |
| 27 | <Separator |
| 28 | orientation="vertical" |
| 29 | className="mx-2 data-[orientation=vertical]:h-4" |
| 30 | /> |
| 31 | <ModeSwitcher /> |
| 32 | </div> |
| 33 | </div> |
| 34 | </header> |
| 35 | ); |
| 36 | } |
nothing calls this directly
no outgoing calls
no test coverage detected