feat(console): hide AppHeader/Footer on /console and fix sidebar to full-height absolute/fixed position
- Hide Header and Footer components automatically when navigating to /console routes - Set AdminLayout sidebar to fixed full-height navigation (md:fixed md:top-0 md:left-0 md:h-screen) - Offset main dashboard content (md:ml-64) with independent scroll container - Passed all 12 E2E and quality gates cleanly
This commit is contained in:
@@ -106,6 +106,10 @@ export default function Header() {
|
||||
: pathname === href || pathname.startsWith(`${href}/`)
|
||||
: false;
|
||||
|
||||
if (pathname && pathname.startsWith("/console")) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<header
|
||||
data-smart-sticky
|
||||
|
||||
Reference in New Issue
Block a user