feat(website): update stats values and improve DockerHub downloads description
Some checks failed
Build Docker images / build-and-push-image-docs (push) Has been cancelled
Build Docker images / build-and-push-image-website (push) Has been cancelled

This commit is contained in:
Mauricio Siu
2025-05-05 03:16:06 -06:00
parent 9d97ee52e5
commit ebb1e0d53d

View File

@@ -4,10 +4,10 @@ import { useId } from "react";
import NumberTicker from "./ui/number-ticker"; import NumberTicker from "./ui/number-ticker";
const statsValues = { const statsValues = {
githubStars: 18100, githubStars: 20000,
dockerDownloads: 1000000, dockerDownloads: 1500000,
contributors: 135, contributors: 170,
sponsors: 45, sponsors: 50,
}; };
export function StatsSection() { export function StatsSection() {
@@ -62,7 +62,7 @@ const grid = [
}, },
{ {
title: "DockerHub Downloads", title: "DockerHub Downloads",
description: `Downloaded over ${(statsValues.dockerDownloads / 1000).toFixed(0)}k times, Dokploy has become a go-to solution for seamless deployments. Discover our presence on DockerHub.`, description: `Downloaded over ${(statsValues.dockerDownloads / 1000000).toFixed(2).split(".")[0]}M times, Dokploy has become a go-to solution for seamless deployments. Discover our presence on DockerHub.`,
icon: ( icon: (
<svg <svg
stroke="currentColor" stroke="currentColor"
@@ -158,10 +158,10 @@ export function GridPattern({ width, height, x, y, squares, ...props }: any) {
/> />
{squares && ( {squares && (
<svg x={x} y={y} className="overflow-visible"> <svg x={x} y={y} className="overflow-visible">
{squares.map(([x, y]: any, i: number) => ( {squares.map(([x, y]: any) => (
<rect <rect
strokeWidth="0" strokeWidth="0"
key={`${x}-${y}-${i}`} key={`${x}-${y}`}
width={width + 1} width={width + 1}
height={height + 1} height={height + 1}
x={x * width} x={x * width}