feat(portal): add desktop-style filters and breadcrumbs
This commit is contained in:
parent
f5898153fe
commit
004f345d92
6 changed files with 337 additions and 43 deletions
|
|
@ -10,7 +10,6 @@ import { cn } from "@/lib/utils"
|
|||
interface SiteHeaderProps {
|
||||
title: string
|
||||
lead?: string
|
||||
breadcrumbs?: ReactNode
|
||||
primaryAction?: ReactNode
|
||||
secondaryAction?: ReactNode
|
||||
primaryAlignment?: "right" | "center"
|
||||
|
|
@ -19,7 +18,6 @@ interface SiteHeaderProps {
|
|||
function SiteHeaderBase({
|
||||
title,
|
||||
lead,
|
||||
breadcrumbs,
|
||||
primaryAction,
|
||||
secondaryAction,
|
||||
primaryAlignment = "right",
|
||||
|
|
@ -34,7 +32,6 @@ function SiteHeaderBase({
|
|||
<SidebarTrigger className="-ml-1" />
|
||||
<Separator orientation="vertical" className="mx-3 hidden h-6 sm:block" />
|
||||
<div className="flex flex-1 flex-col gap-1">
|
||||
{breadcrumbs ? <div className="text-xs text-muted-foreground">{breadcrumbs}</div> : null}
|
||||
{lead ? <span className="text-sm text-muted-foreground">{lead}</span> : null}
|
||||
<h1 className="text-lg font-semibold">{title}</h1>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue