Stage all layout updates

This commit is contained in:
2025-11-19 17:38:45 +08:00
parent 7ca7655e40
commit a249a120a5
15 changed files with 424 additions and 194 deletions

View File

@@ -1,6 +1,6 @@
import { SiteHeader } from './site-header';
import { SiteFooter } from './site-footer';
import { RightSidebar } from './right-sidebar';
import { BackToTop } from './back-to-top';
export function LayoutShell({ children }: { children: React.ReactNode }) {
@@ -8,10 +8,7 @@ export function LayoutShell({ children }: { children: React.ReactNode }) {
<div className="flex min-h-screen flex-col">
<SiteHeader />
<main className="flex-1 container mx-auto px-4 py-6">
<div className="grid gap-8 lg:grid-cols-[minmax(0,3fr)_minmax(0,1.4fr)]">
<div>{children}</div>
<RightSidebar />
</div>
{children}
</main>
<SiteFooter />
<BackToTop />