fix: replace statistics with real ones

This commit is contained in:
Dorian Niemiec 2024-09-07 11:28:16 +02:00
parent 37cf30272b
commit 33fe5bcb37
3 changed files with 12 additions and 10 deletions

View file

@ -8,7 +8,7 @@ const Statistics = () => {
{stats.map(({ title, count }) => (
<div key={title} className="space-y-2 text-center">
<h2 className="text-3xl sm:text-4xl font-bold">
<NumberTicker value={count} />
<NumberTicker value={count} />+
</h2>
<p className="text-xl text-muted-foreground">{title}</p>
</div>

View file

@ -50,6 +50,8 @@ export default function NumberTicker({
className
)}
ref={ref}
/>
>
0
</span>
);
}

View file

@ -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
}
];