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
+5 -3
View File
@@ -5,6 +5,7 @@ import Link from "next/link";
import { usePathname, useRouter } from "next/navigation";
import { LayoutDashboard, Building2, BellRing, Settings, LogOut } from "lucide-react";
import { api, getToken, setToken } from "@/lib/api";
import { Logo } from "@/components/ui";
type Me = { id: string; name: string; email: string };
@@ -34,8 +35,8 @@ export default function HubLayout({ children }: { children: React.ReactNode }) {
<div className="flex min-h-screen">
<aside className="hidden w-56 shrink-0 border-r border-slate-200 bg-white p-4 md:flex md:flex-col">
<div className="mb-6 px-2">
<div className="text-base font-semibold">Hope Events Hub</div>
<div className="text-xs text-slate-500">{me.name}</div>
<Logo />
<div className="mt-1 pl-[2.625rem] text-xs text-slate-500">{me.name}</div>
</div>
<nav className="space-y-1">
{NAV.map(n => {
@@ -52,7 +53,8 @@ export default function HubLayout({ children }: { children: React.ReactNode }) {
</button>
</aside>
<div className="flex-1 min-w-0">
<nav className="flex gap-1 overflow-x-auto border-b border-slate-200 bg-white px-3 py-2 md:hidden">
<nav className="flex items-center gap-1 overflow-x-auto border-b border-slate-200 bg-white px-3 py-2 md:hidden">
<Logo markOnly className="mr-1 h-7 w-7" />
{NAV.map(n => (
<Link key={n.href} href={n.href} className={`whitespace-nowrap rounded-lg px-3 py-1.5 text-sm ${active(n.href) ? "bg-indigo-50 font-medium text-indigo-700" : "text-slate-600"}`}>{n.label}</Link>
))}