- Show only search icon on mobile (< 768px) in navbar - Refactor Anchor component with better type safety and link handling - Adjust spacing in Table of Contents and main content - Improve responsive layout and consistency
17 lines
326 B
TypeScript
17 lines
326 B
TypeScript
import { Leftbar } from "@/components/leftbar";
|
|
|
|
export default function DocsLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<div className="flex items-start gap-8">
|
|
<Leftbar key="leftbar" />
|
|
<div className="flex-[5.25] px-1">
|
|
{children}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|