mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-26 15:38:45 -07:00
4edf25b2d5
Targets Rec Room 2020.12.18 client.
Re-import after adding:
- DorkNet.ClientMod/dorknet-clientmod.json.template — config schema
the launcher's manifest-driven patcher renders into UserData/.
- tools/build-patcher-zip.ps1 — produces the dorknet-clientpatch-{key}.zip
Release asset the launcher fetches.
- .github/workflows/release.yml — auto-publishes both Release assets
on v1-december-* tag push.
Scrubbed via maintainer-side scrub-for-public.ps1: same drop rules as
the prior import, plus build-patcher-zip.ps1 added to the tools/
allow-list so it survives the scrub.
20 lines
734 B
TypeScript
20 lines
734 B
TypeScript
interface Props {
|
|
title: string;
|
|
blurb?: string;
|
|
actions?: React.ReactNode;
|
|
}
|
|
|
|
// Consistent page header: title + optional one-line blurb + a slot
|
|
// for primary actions (refresh, new, etc.) aligned to the right.
|
|
export function PageHeader({ title, blurb, actions }: Props) {
|
|
return (
|
|
<div className="flex flex-wrap items-start justify-between gap-3 sm:gap-4 mb-4 sm:mb-5">
|
|
<div className="min-w-0 flex-1">
|
|
<h1 className="text-xl sm:text-2xl font-semibold tracking-tight text-ink-50">{title}</h1>
|
|
{blurb && <p className="text-xs sm:text-sm text-ink-400 mt-0.5">{blurb}</p>}
|
|
</div>
|
|
{actions && <div className="flex flex-wrap items-center gap-2 shrink-0">{actions}</div>}
|
|
</div>
|
|
);
|
|
}
|