mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
- 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/
15 lines
454 B
TypeScript
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>
|
|
);
|
|
}
|