Rename to Cross Events Hub; add logo and favicon

Hope Events is now Cross Events. Protocol identifiers (hel1. tokens, CEH- keys)
are unchanged so existing installs keep working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 13:38:52 +02:00
co-authored by Claude Opus 5.5
parent dcaa0b1dcf
commit a1e3f9214b
20 changed files with 76 additions and 36 deletions
+17
View File
@@ -12,6 +12,23 @@ const STATUS_TONE: Record<string, string> = {
};
const STATUS_LABEL: Record<string, string> = { ok: "Healthy", warning: "Warning", critical: "Critical", info: "Info" };
/** The Cross Events Hub mark (same artwork as app/icon.svg), with the name beside it unless markOnly. */
export function Logo({ className = "h-8 w-8", markOnly }: { className?: string; markOnly?: boolean }) {
const mark = (
<svg viewBox="0 0 64 64" className={`${className} shrink-0`} aria-hidden="true">
<rect width="64" height="64" rx="14" fill="#4f46e5" />
<path d="M28 12h8v10h10v8H36v22h-8V30H18v-8h10z" fill="#fff" />
</svg>
);
if (markOnly) return mark;
return (
<span className="flex items-center gap-2.5">
{mark}
<span className="font-semibold leading-tight">Cross Events Hub</span>
</span>
);
}
export function Badge({ value, label }: { value: Problem["level"] | "ok" | LicenceStatus; label?: string }) {
return (
<span className={`inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium ring-1 ring-inset ${STATUS_TONE[value] || STATUS_TONE.info}`}>