chore: update homepage integration section
This commit is contained in:
parent
9b0e19049d
commit
a950bc36c3
@ -606,7 +606,8 @@
|
||||
"title": "Your favorite companies are our partners"
|
||||
},
|
||||
"integration": {
|
||||
"title": "Integrate with your favorite tools",
|
||||
"title": "Integrations",
|
||||
"subtitle": "Integrate with your favorite tools",
|
||||
"description": "Connect seamlessly with popular platforms and services to enhance your workflow.",
|
||||
"learnMore": "Learn More",
|
||||
"items": {
|
||||
|
@ -607,7 +607,8 @@
|
||||
"title": "您最爱公司都是我们的合作伙伴"
|
||||
},
|
||||
"integration": {
|
||||
"title": "与您最喜欢的工具集成",
|
||||
"title": "集成",
|
||||
"subtitle": "与您最喜欢的工具集成",
|
||||
"description": "无缝连接流行的平台和服务,以增强您的工作流程。",
|
||||
"learnMore": "了解更多",
|
||||
"items": {
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { HeaderSection } from '@/components/layout/header-section';
|
||||
import {
|
||||
Gemini,
|
||||
GooglePaLM,
|
||||
@ -17,59 +18,58 @@ export default function IntegrationSection() {
|
||||
const t = useTranslations('HomePage.integration');
|
||||
|
||||
return (
|
||||
<section>
|
||||
<div className="py-16">
|
||||
<div className="mx-auto max-w-5xl px-6">
|
||||
<div className="text-center">
|
||||
<h2 className="text-balance text-3xl font-semibold md:text-4xl">
|
||||
{t('title')}
|
||||
</h2>
|
||||
<p className="text-muted-foreground mt-6">{t('description')}</p>
|
||||
</div>
|
||||
<section id="integration" className="px-4 py-16">
|
||||
<div className="mx-auto max-w-5xl">
|
||||
<HeaderSection
|
||||
title={t('title')}
|
||||
subtitle={t('subtitle')}
|
||||
description={t('description')}
|
||||
subtitleAs="h2"
|
||||
descriptionAs="p"
|
||||
/>
|
||||
|
||||
<div className="mt-12 grid gap-3 sm:grid-cols-2 lg:grid-cols-3">
|
||||
<IntegrationCard
|
||||
title={t('items.item-1.title')}
|
||||
description={t('items.item-1.description')}
|
||||
>
|
||||
<Gemini />
|
||||
</IntegrationCard>
|
||||
<div className="mt-12 grid gap-3 sm:grid-cols-2 lg:grid-cols-3">
|
||||
<IntegrationCard
|
||||
title={t('items.item-1.title')}
|
||||
description={t('items.item-1.description')}
|
||||
>
|
||||
<Gemini />
|
||||
</IntegrationCard>
|
||||
|
||||
<IntegrationCard
|
||||
title={t('items.item-2.title')}
|
||||
description={t('items.item-2.description')}
|
||||
>
|
||||
<Replit />
|
||||
</IntegrationCard>
|
||||
<IntegrationCard
|
||||
title={t('items.item-2.title')}
|
||||
description={t('items.item-2.description')}
|
||||
>
|
||||
<Replit />
|
||||
</IntegrationCard>
|
||||
|
||||
<IntegrationCard
|
||||
title={t('items.item-3.title')}
|
||||
description={t('items.item-3.description')}
|
||||
>
|
||||
<MagicUI />
|
||||
</IntegrationCard>
|
||||
<IntegrationCard
|
||||
title={t('items.item-3.title')}
|
||||
description={t('items.item-3.description')}
|
||||
>
|
||||
<MagicUI />
|
||||
</IntegrationCard>
|
||||
|
||||
<IntegrationCard
|
||||
title={t('items.item-4.title')}
|
||||
description={t('items.item-4.description')}
|
||||
>
|
||||
<VSCodium />
|
||||
</IntegrationCard>
|
||||
<IntegrationCard
|
||||
title={t('items.item-4.title')}
|
||||
description={t('items.item-4.description')}
|
||||
>
|
||||
<VSCodium />
|
||||
</IntegrationCard>
|
||||
|
||||
<IntegrationCard
|
||||
title={t('items.item-5.title')}
|
||||
description={t('items.item-5.description')}
|
||||
>
|
||||
<MediaWiki />
|
||||
</IntegrationCard>
|
||||
<IntegrationCard
|
||||
title={t('items.item-5.title')}
|
||||
description={t('items.item-5.description')}
|
||||
>
|
||||
<MediaWiki />
|
||||
</IntegrationCard>
|
||||
|
||||
<IntegrationCard
|
||||
title={t('items.item-6.title')}
|
||||
description={t('items.item-6.description')}
|
||||
>
|
||||
<GooglePaLM />
|
||||
</IntegrationCard>
|
||||
</div>
|
||||
<IntegrationCard
|
||||
title={t('items.item-6.title')}
|
||||
description={t('items.item-6.description')}
|
||||
>
|
||||
<GooglePaLM />
|
||||
</IntegrationCard>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@ -104,7 +104,7 @@ const IntegrationCard = ({
|
||||
<div className="flex gap-3 border-t border-dashed pt-6">
|
||||
<Button
|
||||
asChild
|
||||
variant="secondary"
|
||||
variant="outline"
|
||||
size="sm"
|
||||
className="gap-1 pr-2 shadow-none"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user