diff --git a/src/app/[locale]/admin/page.tsx b/src/app/[locale]/admin/page.tsx index edb4649..aafccf5 100644 --- a/src/app/[locale]/admin/page.tsx +++ b/src/app/[locale]/admin/page.tsx @@ -1,5 +1,6 @@ import { redirect } from "next/navigation"; export default function AdminRootPage() { - redirect("/admin/nodes"); + // Land on the dashboard overview, not an arbitrary section. + redirect("/admin/stats"); } diff --git a/src/components/admin/AdminShell.tsx b/src/components/admin/AdminShell.tsx index 95ef663..dc29dfb 100644 --- a/src/components/admin/AdminShell.tsx +++ b/src/components/admin/AdminShell.tsx @@ -28,10 +28,13 @@ export function AdminShell({ return (
- {/* Sidebar */} + {/* Sidebar — pinned to the right (admin is RTL-primary). lg:translate-x-0 + keeps it visible on desktop; on mobile it slides off the right edge. + (Avoid rtl:/ltr: translate variants — their [dir] selector out-specifies + lg: and would keep the panel off-screen.) */}