Files
Liu 718bd2d540 feat(doc-viewer): rebuild navigation and docs route
- split the root layout into navbar + docs shell with per-locale docs layouts
- serve docs pages under /{locale}/docs and add home/docs landing redirects
- rebuild the navbar with nova buttons, a language menu and a theme switch
- add the widgets index page and keep the sidebar in the docs layout
- include the nav/widgets-index design spec in docs/superpowers/specs/
2026-11-08 00:20:42 +08:00

15 lines
454 B
TypeScript

import { PropsWithChildren } from "@lcui/react";
import Navbar from "./components/navbar";
import "@lcui/fluent-icons/dist/icons.css";
import "@lcui/fluent-icons/dist/icons-filled.css";
import "./global.css";
export default function AppLayout({ children }: PropsWithChildren) {
return (
<div className="flex flex-col w-full h-full typeset">
<Navbar />
<div className="app-body flex-1 min-h-0 w-full">{children}</div>
</div>
);
}