fix(admin): sidebar invisible (CSS specificity) + /admin lands on dashboard

- AdminShell: the rtl:/ltr: translate variants ([dir] selector) out-specified
  lg:translate-x-0, so the sidebar stayed off-screen on desktop and the mobile
  drawer couldn't open. Pin physically right + plain translate-x-full/0; content
  uses lg:mr-60.
- /admin now redirects to /admin/stats (overview) instead of /admin/nodes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-03 08:20:46 +03:30
parent 43780f94f6
commit b270ef438d
2 changed files with 9 additions and 5 deletions
+2 -1
View File
@@ -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");
}