Publish the current application, design, and Phase 1 deployment updates. Excludes ignored personal notes, local MCP config, and generated TypeScript build info.
20 lines
615 B
TypeScript
20 lines
615 B
TypeScript
import React from 'react';
|
|
|
|
interface AdminPageHeaderProps {
|
|
title: string;
|
|
subtitle?: string;
|
|
actions?: React.ReactNode;
|
|
}
|
|
|
|
export function AdminPageHeader({ title, subtitle, actions }: AdminPageHeaderProps) {
|
|
return (
|
|
<header className="mb-4 flex flex-wrap items-center justify-between gap-3">
|
|
<div>
|
|
<h1 className="text-base font-medium tracking-tight text-[var(--text)]">{title}</h1>
|
|
{subtitle && <p className="mt-0.5 text-xs text-[var(--text-muted)]">{subtitle}</p>}
|
|
</div>
|
|
{actions && <div className="flex items-center gap-2">{actions}</div>}
|
|
</header>
|
|
);
|
|
}
|