Files
co-lite/solvway-admin-portal/app/page.tsx
T
ngqileandClaude Opus 5.5 1071ddaa2a feat(admin-portal): cut babyboo portal down to Co-Lite login, users and roles
Removes every other screen, API route, component, test and the dependencies only
they used. Cookie colite_admin, Co-Lite branding, BO_USERS/BO_ROLES modules only.
The user form no longer loads branches, events or country scope.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 21:24:30 +08:00

18 lines
480 B
TypeScript

"use client";
import { useAdminAuth } from "@/app/lib/AdminAuthContext";
import { useT } from "@/app/lib/i18n/MessagesProvider";
export default function HomePage() {
const t = useT();
const { name } = useAdminAuth();
return (
<div className="space-y-2">
<h1 className="text-xl">{t("BackOfficeTitle")}</h1>
<p className="text-sm text-muted-foreground">
{t("DashWelcome", { name: name ?? t("DashWelcomeFallbackName") })}
</p>
</div>
);
}