From 6cc0945e2c1c013b3d8269e604076b9af5c75538 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Fri, 11 Sep 2026 19:44:08 +0700 Subject: [PATCH] style : Less H for page progress and vistor less width --- components/page-progress.tsx | 4 ++-- components/public/visitor-presence.tsx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/page-progress.tsx b/components/page-progress.tsx index a420e3f..3e95cbb 100644 --- a/components/page-progress.tsx +++ b/components/page-progress.tsx @@ -79,7 +79,7 @@ function PageProgressContent() { const finishTimeout = setTimeout(() => setProgress(100), 0) const timeout = setTimeout(() => { setIsVisible(false) - setTimeout(() => setProgress(0), 300) // Reset after hiding + setTimeout(() => setProgress(0), 900) // Reset after hiding navigationUrlRef.current = null }, 400) return () => { @@ -97,7 +97,7 @@ function PageProgressContent() { className="fixed top-0 left-0 w-full z-50 pointer-events-none transition-opacity duration-300" style={{ opacity: isVisible ? 1 : 0 }} > - + ) } diff --git a/components/public/visitor-presence.tsx b/components/public/visitor-presence.tsx index a8fb567..83441e3 100644 --- a/components/public/visitor-presence.tsx +++ b/components/public/visitor-presence.tsx @@ -11,19 +11,19 @@ export function VisitorPresence({ guideId }: { guideId?: string }) {
- ทั้งหมด {counts?.global ?? "–"} + ทั้งหมด {counts?.global ?? "-"} {guideId ? ( - Guide นี้ {counts?.guide ?? "–"} + Guide นี้ {counts?.guide ?? "-"} ) : null}