enhancement: update statistic number jan web

This commit is contained in:
Faisal Amir 2025-09-26 14:00:31 +07:00
parent 75396dbd06
commit c12bef55e9

View File

@ -109,7 +109,7 @@ const Home = () => {
</span> </span>
</a> </a>
</div> </div>
<div className="mt-10"> <div className="mt-4">
<div className="text-center relative lg:w-1/2 mx-auto"> <div className="text-center relative lg:w-1/2 mx-auto">
<div className="flex flex-col lg:flex-row items-center justify-center gap-4 animate-fade-in-up delay-300"> <div className="flex flex-col lg:flex-row items-center justify-center gap-4 animate-fade-in-up delay-300">
<span> <span>
@ -127,12 +127,17 @@ const Home = () => {
The best of open-source AI in an easy-to-use product. The best of open-source AI in an easy-to-use product.
</p> </p>
</div> </div>
<div className="flex px-4 flex-col lg:flex-row items-center gap-4 w-full justify-center text-center animate-fade-in-up delay-600 mt-8 lg:mt-10"> <div className="flex px-4 flex-col lg:flex-row items-start gap-4 w-full justify-center text-center animate-fade-in-up delay-600 mt-8 lg:mt-10">
<DropdownButton <div>
size="xxl" <DropdownButton
className="w-full !rounded-[20px] lg:w-auto" size="xxl"
lastRelease={lastRelease} className="w-full !rounded-[20px] lg:w-auto"
/> lastRelease={lastRelease}
/>
<div className="font-medium text-center mt-2 text-white">
+{totalDownload(release)} downloads
</div>
</div>
<a <a
href="https://discord.com/invite/FTk2MvZwJH" href="https://discord.com/invite/FTk2MvZwJH"
target="_blank" target="_blank"
@ -189,7 +194,8 @@ const Home = () => {
</defs> </defs>
</svg> </svg>
<span className="text-sm"> <span className="text-sm">
{formatCompactNumber(discordWidget.presence_count)} 15k+
{/* {formatCompactNumber(discordWidget.presence_count)} */}
</span> </span>
</div> </div>
</Button> </Button>
@ -198,7 +204,7 @@ const Home = () => {
</div> </div>
</div> </div>
<div className="absolute w-full bottom-0 left-0 flex justify-center"> <div className="absolute w-full -bottom-10 left-0 flex justify-center">
<img <img
className="abs animate-float scale-[175%] md:scale-100" className="abs animate-float scale-[175%] md:scale-100"
src={CuteRobotFlyingPNG.src} src={CuteRobotFlyingPNG.src}
@ -448,9 +454,10 @@ const Home = () => {
<div className="flex items-center gap-1 ml-3"> <div className="flex items-center gap-1 ml-3">
<IoMdPeople className="size-5" /> <IoMdPeople className="size-5" />
<span className="text-sm"> <span className="text-sm">
{formatCompactNumber( 15k+
{/* {formatCompactNumber(
discordWidget.presence_count discordWidget.presence_count
)} )} */}
</span> </span>
</div> </div>
</Button> </Button>
@ -483,9 +490,10 @@ const Home = () => {
<div className="flex items-center gap-1 ml-3"> <div className="flex items-center gap-1 ml-3">
<IoMdPeople className="size-5" /> <IoMdPeople className="size-5" />
<span className="text-sm"> <span className="text-sm">
{formatCompactNumber( 15k+
{/* {formatCompactNumber(
discordWidget.presence_count discordWidget.presence_count
)} )} */}
</span> </span>
</div> </div>
</Button> </Button>