docs: update preview images

This commit is contained in:
moonrailgun 2024-04-10 01:04:05 +08:00
parent b009bb528e
commit 4f9cff747d
7 changed files with 25 additions and 23 deletions

View File

@ -13,21 +13,21 @@ function HomepageHeader() {
const { siteConfig } = useDocusaurusContext(); const { siteConfig } = useDocusaurusContext();
return ( return (
<header className="container"> <header className="container">
<div className="text-center mt-10"> <div className="mt-10 text-center">
<LogoSvg className="w-40 h-40" /> <LogoSvg className="h-40 w-40" />
<h1 className="text-5xl"> <h1 className="text-5xl">
<span className="text-gradient font-bold">Tianji</span> <span className="text-gradient font-bold">Tianji</span>
</h1> </h1>
<p className="opacity-60 text-2xl">All-in-One Insight Hub</p> <p className="text-2xl opacity-60">All-in-One Insight Hub</p>
<div className="text-xl"> <div className="text-xl">
<span className="text-gradient font-bold">Tianji</span> ={' '} <span className="text-gradient font-bold">Tianji</span> ={' '}
<span className="underline font-semibold">Website Analytics</span> +{' '} <span className="font-semibold underline">Website Analytics</span> +{' '}
<span className="underline font-semibold">Uptime Monitor</span> +{' '} <span className="font-semibold underline">Uptime Monitor</span> +{' '}
<span className="underline font-semibold">Server Status</span> <span className="font-semibold underline">Server Status</span>
</div> </div>
</div> </div>
<div className="text-center my-6"> <div className="my-6 text-center">
{/* <Link {/* <Link
className="button button--primary button--lg" className="button button--primary button--lg"
to="mailto:moonrailgun@gmail.com?subject=I want to apply for Tianji early access account&body=Here is my account: <Here place your username>" to="mailto:moonrailgun@gmail.com?subject=I want to apply for Tianji early access account&body=Here is my account: <Here place your username>"
@ -41,13 +41,13 @@ function HomepageHeader() {
Visit Demo Visit Demo
</Link> */} </Link> */}
<div className="w-min m-auto text-left bg-neutral-100 dark:bg-neutral-800 p-2 rounded-lg overflow-auto max-w-full"> <div className="m-auto w-min max-w-full overflow-auto rounded-lg bg-neutral-100 p-2 text-left dark:bg-neutral-800">
<div className="whitespace-nowrap"> <div className="whitespace-nowrap">
<span className="select-none opacity-50 mr-1">$</span>wget <span className="mr-1 select-none opacity-50">$</span>wget
https://raw.githubusercontent.com/msgbyte/tianji/master/docker-compose.yml https://raw.githubusercontent.com/msgbyte/tianji/master/docker-compose.yml
</div> </div>
<div> <div>
<span className="select-none opacity-50 mr-1">$</span>docker compose <span className="mr-1 select-none opacity-50">$</span>docker compose
up -d up -d
</div> </div>
</div> </div>
@ -63,26 +63,26 @@ function HomepageHeader() {
function HomepageMain() { function HomepageMain() {
return ( return (
<main className="container pb-8"> <main className="container pb-8">
<div className="flex flex-wrap gap-2 justify-around mt-4 mb-8"> <div className="mb-8 mt-4 flex flex-wrap justify-around gap-2">
<div className="px-4 py-2 border rounded border-solid border-gray-300 checked-item"> <div className="checked-item rounded border border-solid border-gray-300 px-4 py-2">
No cookies No cookies
</div> </div>
<div className="px-4 py-2 border rounded border-solid border-gray-300 checked-item"> <div className="checked-item rounded border border-solid border-gray-300 px-4 py-2">
International support International support
</div> </div>
<div className="px-4 py-2 border rounded border-solid border-gray-300 checked-item"> <div className="checked-item rounded border border-solid border-gray-300 px-4 py-2">
GDPR & CCPA compliant GDPR & CCPA compliant
</div> </div>
<div className="px-4 py-2 border rounded border-solid border-gray-300 checked-item"> <div className="checked-item rounded border border-solid border-gray-300 px-4 py-2">
Open API Open API
</div> </div>
<div className="px-4 py-2 border rounded border-solid border-gray-300 checked-item"> <div className="checked-item rounded border border-solid border-gray-300 px-4 py-2">
Open Source Open Source
</div> </div>
</div> </div>
<div className="text-center"> <div className="text-center">
<div className="border-8 border-solid border-gray-200 rounded-lg shadow-lg"> <div className="rounded-lg border-8 border-solid border-gray-200 shadow-lg">
<Carousel <Carousel
className="cursor-move" className="cursor-move"
showThumbs={false} showThumbs={false}
@ -95,10 +95,12 @@ function HomepageMain() {
emulateTouch={true} emulateTouch={true}
infiniteLoop={true} infiniteLoop={true}
> >
<img src="/img/preview1.png" /> <img src="/img/preview/1.png" />
<img src="/img/preview2.png" /> <img src="/img/preview/2.png" />
<img src="/img/preview3.png" /> <img src="/img/preview/3.png" />
<img src="/img/preview4.png" /> <img src="/img/preview/4.png" />
<img src="/img/preview/5.png" />
<img src="/img/preview/6.png" />
</Carousel> </Carousel>
</div> </div>
</div> </div>
@ -108,8 +110,8 @@ function HomepageMain() {
function HomepageFooter() { function HomepageFooter() {
return ( return (
<div className="text-center py-8"> <div className="py-8 text-center">
<div className="text-2xl font-bold mb-8">Join Our Community</div> <div className="mb-8 text-2xl font-bold">Join Our Community</div>
<div className="flex justify-center gap-4"> <div className="flex justify-center gap-4">
<Popover <Popover

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB