Merge pull request #6614 from menloresearch/enhancement/jan-web
enhancement: update statistic number jan web
This commit is contained in:
commit
ea124f7fd4
@ -95,7 +95,7 @@ const Home = () => {
|
|||||||
<div className="container mx-auto relative z-10">
|
<div className="container mx-auto relative z-10">
|
||||||
<div className="flex justify-center items-center mt-14 lg:mt-20 px-4">
|
<div className="flex justify-center items-center mt-14 lg:mt-20 px-4">
|
||||||
<a
|
<a
|
||||||
href=""
|
href={`https://github.com/menloresearch/jan/releases/tag/${lastVersion}`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="bg-black/40 px-3 lg:px-4 rounded-full h-10 inline-flex items-center max-w-full animate-fade-in delay-100"
|
className="bg-black/40 px-3 lg:px-4 rounded-full h-10 inline-flex items-center max-w-full animate-fade-in delay-100"
|
||||||
@ -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">
|
||||||
|
<div>
|
||||||
<DropdownButton
|
<DropdownButton
|
||||||
size="xxl"
|
size="xxl"
|
||||||
className="w-full !rounded-[20px] lg:w-auto"
|
className="w-full !rounded-[20px] lg:w-auto"
|
||||||
lastRelease={lastRelease}
|
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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user