From 33fe5bcb37df9ee0dedf37d8203571120a003533 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sat, 7 Sep 2024 11:28:16 +0200 Subject: [PATCH] fix: replace statistics with real ones --- components/shared/Statistics.tsx | 2 +- components/widgets/num-tick.tsx | 4 +++- constants/index.tsx | 16 ++++++++-------- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/components/shared/Statistics.tsx b/components/shared/Statistics.tsx index 44a2c70..58f7600 100644 --- a/components/shared/Statistics.tsx +++ b/components/shared/Statistics.tsx @@ -8,7 +8,7 @@ const Statistics = () => { {stats.map(({ title, count }) => (

- + +

{title}

diff --git a/components/widgets/num-tick.tsx b/components/widgets/num-tick.tsx index ee60d51..921eb40 100644 --- a/components/widgets/num-tick.tsx +++ b/components/widgets/num-tick.tsx @@ -50,6 +50,8 @@ export default function NumberTicker({ className )} ref={ref} - /> + > + 0 + ); } diff --git a/constants/index.tsx b/constants/index.tsx index 91ec6e5..26d61dd 100644 --- a/constants/index.tsx +++ b/constants/index.tsx @@ -48,20 +48,20 @@ export const NAVBAR = { // About section Stats export const stats = [ { - title: "Downloads", - count: 69 + title: "Docker pulls", + count: 18 }, { - title: "Users", - count: 42 + title: "GitHub stars", + count: 8 }, { - title: "Stars", - count: 6 + title: "Powered servers", + count: 1 }, { - title: "Products", - count: 2 + title: "Contributors", + count: 1 } ];