/* PageHeader — bordered page-title block. * * Sits below at the top of any page. Owns the page * title, description, breadcrumbs, and a right-side actions slot. * * Two brand props: * • accent — replaces the bottom border with a 2px Wulf-blue rule, * echoing the standards-guide blue header band. * • watermark — renders the W mark behind the title at very low * opacity, giving the page a quiet brand signature. * * Re-exported from components/navigation/app-navigation.tsx for * back-compat; new code can import from here directly. */ import Link from 'next/link'; import { cn } from '@/lib/utils'; import { WulfMark } from '@/components/branding/wulf-mark'; export interface BreadcrumbItem { label: string; href?: string; } export interface PageHeaderProps { title: string; description?: string; breadcrumbs?: BreadcrumbItem[]; actions?: React.ReactNode; /** Replace the standard border-b with a 2px Wulf-blue rule. */ accent?: boolean; /** Render the W mark watermark behind the title at ~4% opacity. */ watermark?: boolean; } export function PageHeader({ title, description, breadcrumbs, actions, accent = false, watermark = false, }: PageHeaderProps) { return (
{watermark && ( )} {breadcrumbs && breadcrumbs.length > 0 && ( )}

{title}

{description && (

{description}

)}
{actions && (
{actions}
)}
); }