This commit is contained in:
2026-06-30 17:09:52 +02:00
commit 0806be135d
54 changed files with 10482 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import { ReactNode } from 'react'
export default function PageHeader({
title,
subtitle,
children
}: {
title: string
subtitle?: string
children?: ReactNode
}): JSX.Element {
return (
<header className="flex items-center justify-between border-b border-border px-6 py-4">
<div>
<h1 className="text-lg font-semibold text-white">{title}</h1>
{subtitle && <p className="text-sm text-gray-400">{subtitle}</p>}
</div>
<div className="flex items-center gap-2">{children}</div>
</header>
)
}