fix(navigation) : restore overview top navigation
CI / Verify (push) Successful in 1m1s
CI / Build immutable images and deploy (push) Successful in 1m58s

This commit is contained in:
2026-09-03 12:20:32 +07:00 Unverified
parent cfc6f0c146
commit c0ab204d06
+6 -3
View File
@@ -114,14 +114,18 @@ export function StructuredGuideShell({
</p>
</div>
</div>
{section ? (
<ScrollableNav
ariaLabel={`เมนูคู่มือ ${guide.name}`}
className="mx-auto min-h-11 w-full max-w-7xl rounded-xl border bg-card p-2"
>
<Link
href={`/${guide.slug}`}
className="flex min-h-8 shrink-0 items-center gap-2 whitespace-nowrap rounded-md px-3 text-sm text-muted-foreground outline-none hover:bg-muted hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"
className={cn(
"flex min-h-8 shrink-0 items-center gap-2 whitespace-nowrap rounded-md px-3 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring",
!section
? "bg-muted text-foreground"
: "text-muted-foreground hover:bg-muted hover:text-foreground",
)}
prefetch
>
<Image
@@ -158,7 +162,6 @@ export function StructuredGuideShell({
</Link>
))}
</ScrollableNav>
) : null}
</div>
<main className="mx-auto w-full max-w-7xl p-4 sm:p-6 lg:p-10">
{section ? (