From 6da0e6f415e863448cd36246eb16e1f09dcd8a79 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Fri, 4 Oct 2024 21:22:36 +0800 Subject: [PATCH] feat: add ping animation in website realtime visitor --- src/client/components/website/WebsiteOnlineCount.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/components/website/WebsiteOnlineCount.tsx b/src/client/components/website/WebsiteOnlineCount.tsx index 54d481ba..23a178b1 100644 --- a/src/client/components/website/WebsiteOnlineCount.tsx +++ b/src/client/components/website/WebsiteOnlineCount.tsx @@ -17,7 +17,10 @@ export const WebsiteOnlineCount: React.FC<{ if (typeof count === 'number' && count > 0) { return (
-
+
+
+
+
{count} {t('current visitor')}