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
@@ -13,6 +13,7 @@ import {
CardTitle,
} from "@/components/ui/card";
import { Separator } from "@/components/ui/separator";
import { SiteFooter } from "@/components/public/site-footer";
import { SiteHeader } from "@/components/public/site-header";
import { ScrollableNav } from "@/components/public/scrollable-nav";
import { TeamSearch } from "@/components/public/team-search";
@@ -82,7 +83,7 @@ export function StructuredGuideShell({
? (sections.find((item) => item.slug === section)?.title ?? section)
: "Overview";
return (
<div className="min-h-svh bg-background">
<div className="flex min-h-svh flex-col bg-background">
<LiveRefresh endpoint={`/api/events/page/${guide.id}`} />
<SiteHeader editHref={`/admin/${guide.characterKey}`} />
<div className="sticky top-0 z-10 bg-background/95 supports-backdrop-filter:backdrop-blur">
@@ -172,6 +173,7 @@ export function StructuredGuideShell({
<GuideOverview guide={guide} sections={sections} />
)}
</main>
<SiteFooter />
</div>
);
}