fix : forget nav page

This commit is contained in:
2026-09-04 20:53:06 +07:00 Unverified
parent ba3e81e9cc
commit 13a95d20c6
5 changed files with 28 additions and 4 deletions
+3 -1
View File
@@ -8,6 +8,7 @@ import {
} from "@/components/public/block-renderer";
import { SectionDrawer } from "@/components/public/section-drawer";
import { ScrollableNav } from "@/components/public/scrollable-nav";
import { SiteFooter } from "@/components/public/site-footer";
import { SiteHeader } from "@/components/public/site-header";
import { LiveRefresh } from "@/components/live-refresh";
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
@@ -21,7 +22,7 @@ export function GuideShell({ snapshot }: { snapshot: PageSnapshot }) {
const sections = collectGuideSections(snapshot.blocks);
return (
<div className="min-h-svh bg-background">
<div className="flex min-h-svh flex-col bg-background">
{process.env.BUZZ_DEMO_MODE === "true" ? null : (
<LiveRefresh endpoint={`/api/events/page/${snapshot.page.id}`} />
)}
@@ -109,6 +110,7 @@ export function GuideShell({ snapshot }: { snapshot: PageSnapshot }) {
<PublicBlockRenderer snapshot={snapshot} />
</main>
</div>
<SiteFooter />
</div>
);
}