Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -0,0 +1,27 @@
import type { ReactNode } from "react";
export type AdminPageHeaderProps = {
title: ReactNode;
description?: ReactNode;
actions?: ReactNode;
};
/**
* AK-P19 — shared AD-28 interim page header for the platform-admin pages,
* matching the /health and /jobs screens: full-bleed bar with title,
* description and an optional action slot.
*/
export function AdminPageHeader({ title, description, actions }: AdminPageHeaderProps): React.JSX.Element {
return (
<header
data-ui-id="ui.admin.pageHeader"
className="border-border-default bg-surface-neutral-secondary mobile:px-4 flex w-full flex-wrap items-start gap-4 border-b border-solid px-6 py-5"
>
<div className="flex min-w-0 shrink-0 grow basis-0 flex-col items-start">
<h1 className="text-subtitle font-subtitle text-text-neutral-primary truncate">{title}</h1>
{description ? <p className="text-body-small-regular-150 font-body-small-regular-150 text-text-neutral-tertiary">{description}</p> : null}
</div>
{actions ? <div className="flex flex-wrap items-center gap-2">{actions}</div> : null}
</header>
);
}