style : Less H for page progress and vistor less width
CI / Verify (push) Successful in 1m17s
CI / Build immutable images and deploy (push) Successful in 2m14s

This commit is contained in:
2026-09-11 19:44:08 +07:00 Unverified
parent 1164715d64
commit 6cc0945e2c
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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 }}
>
<Progress value={progress} className="h-0.75 w-full rounded-none bg-transparent" />
<Progress value={progress} className="h-0.5 w-full rounded-none bg-transparent" />
</div>
)
}
+4 -4
View File
@@ -11,19 +11,19 @@ export function VisitorPresence({ guideId }: { guideId?: string }) {
<div className="flex items-center gap-1" aria-live="polite">
<Badge
variant="secondary"
className="min-w-24 tabular-nums"
className=" tabular-nums"
title="ผู้เข้าชมทั้งหมดที่กำลังออนไลน์"
>
<UsersIcon data-icon="inline-start" />
ทั้งหมด {counts?.global ?? "–"}
ทั้งหมด {counts?.global ?? "-"}
</Badge>
{guideId ? (
<Badge
variant="outline"
className="min-w-24 tabular-nums"
className=" tabular-nums"
title="ผู้เข้าชม Guide นี้ที่กำลังออนไลน์"
>
Guide นี้ {counts?.guide ?? "–"}
Guide นี้ {counts?.guide ?? "-"}
</Badge>
) : null}
</div>