Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
feat: update homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangtaofeng committed Nov 24, 2023
1 parent 33542ae commit 4ef8b2f
Show file tree
Hide file tree
Showing 139 changed files with 3,014 additions and 3,941 deletions.
58 changes: 29 additions & 29 deletions public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://www.illacloud.com</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/"/></url>
<url><loc>https://www.illacloud.com/hacktoberfest2023</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/hacktoberfest2023"/></url>
<url><loc>https://www.illacloud.com/illa-self-host</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/illa-self-host"/></url>
<url><loc>https://www.illacloud.com/illacloud</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/illacloud"/></url>
<url><loc>https://www.illacloud.com/illadrive</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/illadrive"/></url>
<url><loc>https://www.illacloud.com/pricing</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/pricing"/></url>
<url><loc>https://www.illacloud.com/integrations</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations"/></url>
<url><loc>https://www.illacloud.com/components</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components"/></url>
<url><loc>https://www.illacloud.com/integrations/MySQL</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/MySQL"/></url>
<url><loc>https://www.illacloud.com/integrations/PostgreSQL</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/PostgreSQL"/></url>
<url><loc>https://www.illacloud.com/integrations/MariaDB</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/MariaDB"/></url>
<url><loc>https://www.illacloud.com/integrations/TiDB</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/TiDB"/></url>
<url><loc>https://www.illacloud.com/integrations/Redis</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Redis"/></url>
<url><loc>https://www.illacloud.com/integrations/MongoDB</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/MongoDB"/></url>
<url><loc>https://www.illacloud.com/integrations/Elastic%20Search</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Elastic%20Search"/></url>
<url><loc>https://www.illacloud.com/integrations/Firebase</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Firebase"/></url>
<url><loc>https://www.illacloud.com/integrations/Supabase%20DB</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Supabase%20DB"/></url>
<url><loc>https://www.illacloud.com/integrations/Clickhouse</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Clickhouse"/></url>
<url><loc>https://www.illacloud.com/integrations/Amazon%20DynamoDB</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Amazon%20DynamoDB"/></url>
<url><loc>https://www.illacloud.com/integrations/Snowflake</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Snowflake"/></url>
<url><loc>https://www.illacloud.com/components/Upload</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Upload"/></url>
<url><loc>https://www.illacloud.com/components/Switch</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Switch"/></url>
<url><loc>https://www.illacloud.com/components/Select</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Select"/></url>
<url><loc>https://www.illacloud.com/components/Radio%20group</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Radio%20group"/></url>
<url><loc>https://www.illacloud.com/components/Checkbox%20Group</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Checkbox%20Group"/></url>
<url><loc>https://www.illacloud.com/components/Chart</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Chart"/></url>
<url><loc>https://www.illacloud.com/components/Tables</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Tables"/></url>
<url><loc>https://www.illacloud.com/components/PDF</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/PDF"/></url>
<url><loc>https://www.illacloud.com/components/Video</loc><lastmod>2023-10-30T09:15:50.761Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Video"/></url>
<url><loc>https://www.illacloud.com</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/"/></url>
<url><loc>https://www.illacloud.com/hacktoberfest2023</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/hacktoberfest2023"/></url>
<url><loc>https://www.illacloud.com/illa-self-host</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/illa-self-host"/></url>
<url><loc>https://www.illacloud.com/illacloud</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/illacloud"/></url>
<url><loc>https://www.illacloud.com/illadrive</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/illadrive"/></url>
<url><loc>https://www.illacloud.com/pricing</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/pricing"/></url>
<url><loc>https://www.illacloud.com/integrations</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations"/></url>
<url><loc>https://www.illacloud.com/components</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components"/></url>
<url><loc>https://www.illacloud.com/integrations/MySQL</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/MySQL"/></url>
<url><loc>https://www.illacloud.com/integrations/PostgreSQL</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/PostgreSQL"/></url>
<url><loc>https://www.illacloud.com/integrations/MariaDB</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/MariaDB"/></url>
<url><loc>https://www.illacloud.com/integrations/TiDB</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/TiDB"/></url>
<url><loc>https://www.illacloud.com/integrations/Redis</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Redis"/></url>
<url><loc>https://www.illacloud.com/integrations/MongoDB</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/MongoDB"/></url>
<url><loc>https://www.illacloud.com/integrations/Elastic%20Search</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Elastic%20Search"/></url>
<url><loc>https://www.illacloud.com/integrations/Firebase</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Firebase"/></url>
<url><loc>https://www.illacloud.com/integrations/Supabase%20DB</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Supabase%20DB"/></url>
<url><loc>https://www.illacloud.com/integrations/Clickhouse</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Clickhouse"/></url>
<url><loc>https://www.illacloud.com/integrations/Amazon%20DynamoDB</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Amazon%20DynamoDB"/></url>
<url><loc>https://www.illacloud.com/integrations/Snowflake</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/integrations/Snowflake"/></url>
<url><loc>https://www.illacloud.com/components/Upload</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Upload"/></url>
<url><loc>https://www.illacloud.com/components/Switch</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Switch"/></url>
<url><loc>https://www.illacloud.com/components/Select</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Select"/></url>
<url><loc>https://www.illacloud.com/components/Radio%20group</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Radio%20group"/></url>
<url><loc>https://www.illacloud.com/components/Checkbox%20Group</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Checkbox%20Group"/></url>
<url><loc>https://www.illacloud.com/components/Chart</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Chart"/></url>
<url><loc>https://www.illacloud.com/components/Tables</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Tables"/></url>
<url><loc>https://www.illacloud.com/components/PDF</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/PDF"/></url>
<url><loc>https://www.illacloud.com/components/Video</loc><lastmod>2023-11-22T09:26:27.738Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="en" href="https://www.illacloud.com/components/Video"/></url>
</urlset>
38 changes: 23 additions & 15 deletions src/components/cloud/cloudFeature.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,41 @@
import { useTranslation } from 'next-i18next'
import style from './index.module.css'
import clsx from 'clsx'
import { ProductContentTitle } from '@/components/comm/productContentTitle'
import ProductContentTitle from '@/components/common/ProductContentTitle'
import { usePlatform } from '@/hooks/usePlatform'


export const CloudFeature = ({ feature }) => {

const { t } = useTranslation('cloud')
const isInMobile = usePlatform()
return (
<div className={style.mainContent}>
<ProductContentTitle title={t(feature.title)} />
<div className='flex flex-col items-center w-full gap-[40px] xl:gap-[72px]'>
<div className={clsx(style.mainTextContainer, 'w-full xl:w-[580px] text-center')}>
<div className="flex flex-col items-center w-full gap-[40px] xl:gap-[72px]">
<div
className={clsx(
style.mainTextContainer,
'w-full xl:w-[580px] text-center',
)}
>
<h2 className={style.mainLabel}>{t(feature.label)}</h2>
<p className={style.mainDesc}>{t(feature.desc)}</p>
</div>
<div className='flex flex-col gap-[40px] xl:grid grid-cols-2 gap-x-[40px] xl:gap-y-[72px] w-full'>
{
feature.items.map(({ label, image, imageAlt, mobileImg }) => (
<div className='flex flex-col items-center gap-[20px] xl:gap-[32px] w-full' key={label}>
<h2 className={style.mainLabel}>{t(label)}</h2>
<img src={isInMobile ? mobileImg : image} alt={imageAlt} className='w-full' />
</div>
))
}
<div className="flex flex-col gap-[40px] xl:grid grid-cols-2 gap-x-[40px] xl:gap-y-[72px] w-full">
{feature.items.map(({ label, image, imageAlt, mobileImg }) => (
<div
className="flex flex-col items-center gap-[20px] xl:gap-[32px] w-full"
key={label}
>
<h2 className={style.mainLabel}>{t(label)}</h2>
<img
src={isInMobile ? mobileImg : image}
alt={imageAlt}
className="w-full"
/>
</div>
))}
</div>
</div>
</div>
)
}
}
Loading

0 comments on commit 4ef8b2f

Please sign in to comment.