fix: remove debug console.log from root layout

This commit is contained in:
openhands committed 2026-07-03 15:51:33 +02:00
1 parent 7e5813bd97
commit e5b0649bf1
9 files changed
+380209 -71

No files matched your search

+25 -7
View File
@@ -97,10 +97,19 @@ export default function ClientPage() {
return (
<div className="flex min-h-screen flex-col" style={{ backgroundColor: "var(--color-background)" }}>
<header
className="flex h-14 items-center border-b px-4"
style={{ backgroundColor: "var(--color-navbar)", borderColor: "color-mix(in srgb, var(--color-text-muted) 15%, transparent)" }}
className="flex h-14 items-center justify-between border-b px-6 shrink-0"
style={{ backgroundColor: "var(--color-navbar)", borderColor: "var(--color-primary, #eeb425)" }}
>
<span className="font-bold text-lg">{hotelName || "Atom"}</span>
<span className="font-bold text-lg" style={{ color: "var(--color-navbar-text, var(--color-text))" }}>{hotelName || "Atom"}</span>
<div className="flex items-center gap-2">
<span className="relative flex h-2.5 w-2.5">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75" />
<span className="relative inline-flex rounded-full h-2.5 w-2.5 bg-green-500" />
</span>
<span className="text-sm font-bold" style={{ color: "var(--color-navbar-text, var(--color-text-muted))" }}>
{onlineCount} Online
</span>
</div>
</header>
<main className="flex-1 flex items-center justify-center">
<ContentCard icon="🔒" title={t("title")} subtitle={t("errors.unauthorized")}>
@@ -119,10 +128,19 @@ export default function ClientPage() {
return (
<div className="flex min-h-screen flex-col" style={{ backgroundColor: "var(--color-background)" }}>
<header
className="flex h-14 items-center border-b px-4"
style={{ backgroundColor: "var(--color-navbar)", borderColor: "color-mix(in srgb, var(--color-text-muted) 15%, transparent)" }}
className="flex h-14 items-center justify-between border-b px-6 shrink-0"
style={{ backgroundColor: "var(--color-navbar)", borderColor: "var(--color-primary, #eeb425)" }}
>
<span className="font-bold text-lg">{hotelName || "Atom"}</span>
<span className="font-bold text-lg" style={{ color: "var(--color-navbar-text, var(--color-text))" }}>{hotelName || "Atom"}</span>
<div className="flex items-center gap-2">
<span className="relative flex h-2.5 w-2.5">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75" />
<span className="relative inline-flex rounded-full h-2.5 w-2.5 bg-green-500" />
</span>
<span className="text-sm font-bold" style={{ color: "var(--color-navbar-text, var(--color-text-muted))" }}>
{onlineCount} Online
</span>
</div>
</header>
<main className="flex-1 flex items-center justify-center">
<p className="text-center" style={{ color: "var(--color-text-muted)" }}>
@@ -136,7 +154,7 @@ export default function ClientPage() {
const clientSrc = getClientSrc();
return (
<div className="relative w-screen h-screen overflow-hidden site-bg" style={{ backgroundColor: "var(--color-background)" }}>
<div className="relative w-screen h-screen overflow-hidden" style={{ backgroundColor: "var(--color-background)" }}>
{/* Floating Toolbar */}
<div className="fixed top-4 left-4 z-50 flex items-center gap-2">
{/* Home Button */}