fix(page): wrap with AppLayout to restore Sidebar + Header, use calc(100vh-64px)
Some checks failed
E2E Health Check / e2e-health (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
OG T
2026-04-01 20:30:58 +08:00
parent 249ecdeb25
commit 44e2244781

View File

@@ -14,6 +14,7 @@ import { useIncidents } from '@/hooks/useIncidents'
import { IncidentCard } from '@/components/incident'
import { OpenClawPanel } from '@/components/ai/openclaw-panel'
import { HostGrid } from '@/components/infra/host-grid'
import { AppLayout } from '@/components/layout'
// =============================================================================
// Main Page
@@ -43,13 +44,15 @@ export default function Home({ params }: { params: { locale: string } }) {
})
return (
<AppLayout locale={locale} showBackground={false}>
<div style={{
display: 'flex',
flexDirection: 'column',
height: '100vh',
height: 'calc(100vh - 64px)',
background: '#f5f4ed',
fontFamily: 'Inter, system-ui, sans-serif',
overflow: 'hidden',
margin: '-24px',
}}>
{/* ── Metrics Strip (50px) ────────────────────────────────────── */}
<div style={{
@@ -195,5 +198,6 @@ export default function Home({ params }: { params: { locale: string } }) {
</div>
</div>
</div>
</AppLayout>
)
}