Files
zeekayandHanzo Dev 7d293212cb refactor: web/ is now console/ — bootnode/bootnode is the backend, bootnode/console the frontend
Names the two halves for what they are. The repo already holds both (12407e9 merged
bootnode/bootnode into this history); this makes the frontend directory say so, so the layout
reads the way the owner describes the system: backend and frontend separate, one repo.

git mv throughout — 187 renames, history preserved. Every path reference follows: hanzo.yml
build context and dockerfile, compose.yml, compose.prod.yml, start.sh, LLM.md,
infra/k8s/web-deployments.yaml, infra/cloud/deploy.sh, and the Dockerfile's own COPY paths.
Image and container names (bootnode-web, the -web tag suffix) are deliberately NOT renamed here:
those are a deploy contract the App CR and ingress bind to on port 3001, and breaking them is a
separate, staged change.

Console builds green after the move; the Go tree builds.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-26 17:47:51 -07:00

23 lines
1005 B
TypeScript

import { ConsoleSidebar } from "@/components/console-sidebar"
// The console shell: the one persistent sidebar plus the section's content,
// centred at lux.cloud's 1440px console width. Every /dashboard route renders
// inside this, so the console reads as one organised surface no matter which
// section is open — as opposed to each page inventing its own frame.
//
// `min-w-0` on the content column is load-bearing: without it a wide table or
// chart inside a flex child sets the column's min-content width and the whole
// page scrolls sideways instead of the table scrolling inside itself.
export function ConsoleLayout({ children }: { children: React.ReactNode }) {
return (
<div className="mx-auto flex max-w-[1440px] items-start max-lg:block">
<ConsoleSidebar />
<div className="min-w-0 flex-1">
<main className="mx-auto w-full max-w-[1100px] px-8 pb-20 pt-7 max-lg:px-4 max-lg:pb-14 max-lg:pt-6">
{children}
</main>
</div>
</div>
)
}