mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-08 00:51:39 +00:00
50c520e1ff
Complete frontend visual redesign using certctl logo color palette: - Deep teal sidebar (#0c2e25) with prominent centered logo (64px in white pill) - Light content area (#f0f4f8) with white cards and visible borders - Brand colors from logo: teal (#2ea88f), blue (#3b7dd8), orange (#e8873a), green (#4ebe6e) - Inter + JetBrains Mono typography, colored stat card top borders - All 17 pages + 7 components updated (25 files, ~700 lines changed) - 15 new dashboard screenshots replacing old dark theme screenshots - Prometheus metrics e2e test added, integration test mock fixes - Docs updated: architecture.md theme description, testing-guide.md DNS-PERSIST-01 coverage Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
507 B
TypeScript
18 lines
507 B
TypeScript
interface PageHeaderProps {
|
|
title: string;
|
|
subtitle?: string;
|
|
action?: React.ReactNode;
|
|
}
|
|
|
|
export default function PageHeader({ title, subtitle, action }: PageHeaderProps) {
|
|
return (
|
|
<div className="flex items-center justify-between px-6 py-4 border-b border-surface-border bg-surface">
|
|
<div>
|
|
<h2 className="text-lg font-semibold text-ink">{title}</h2>
|
|
{subtitle && <p className="text-sm text-ink-muted mt-0.5">{subtitle}</p>}
|
|
</div>
|
|
{action}
|
|
</div>
|
|
);
|
|
}
|