feat : buzz feedback

This commit is contained in:
2026-08-30 23:48:03 +07:00 Unverified
parent b92348f589
commit fd841057c1
32 changed files with 3932 additions and 265 deletions
+2 -3
View File
@@ -26,7 +26,7 @@ export function GuideShell({ snapshot }: { snapshot: PageSnapshot }) {
<LiveRefresh endpoint={`/api/events/page/${snapshot.page.id}`} />
)}
<SiteHeader />
<div className="sticky top-0 z-30 border-b bg-background/95 supports-backdrop-filter:backdrop-blur">
<div className="sticky top-0 z-30 bg-background/95 supports-backdrop-filter:backdrop-blur">
<div className="mx-auto w-full max-w-7xl px-4 sm:px-6">
<div className="flex min-h-14 items-center gap-3 py-2">
<Link
@@ -60,8 +60,7 @@ export function GuideShell({ snapshot }: { snapshot: PageSnapshot }) {
aria-current={page.id === snapshot.page.id ? "page" : undefined}
className={cn(
"relative flex min-h-11 shrink-0 items-center gap-2 rounded-md px-3 text-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
page.id === snapshot.page.id &&
"font-medium text-foreground after:absolute after:inset-x-3 after:bottom-0 after:h-0.5 after:bg-primary",
page.id === snapshot.page.id && "font-medium text-foreground",
)}
>
{navigationIconPath(page.slug) ? <Image src={navigationIconPath(page.slug)!} alt="" width={20} height={20} className="size-5 object-contain" /> : null}