mirror of
https://github.com/Dokploy/website
synced 2025-06-26 18:16:01 +00:00
feat(website): update stats values and improve DockerHub downloads description
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user