From 5e18c1b9352829c63e8ab47fce9859862194d198 Mon Sep 17 00:00:00 2001 From: ryjiang Date: Tue, 5 Nov 2024 19:38:38 +0800 Subject: [PATCH] update homepage Signed-off-by: ryjiang --- src/components/footer/index.tsx | 6 ++ src/i18n/en/home.json | 6 +- src/i18n/en/milvus.json | 2 +- src/pages/index.tsx | 5 +- .../home/deploySection/index.module.less | 5 +- src/parts/home/deploySection/index.tsx | 4 +- src/parts/home/developSection/index.tsx | 60 ++++++++++--------- 7 files changed, 53 insertions(+), 35 deletions(-) diff --git a/src/components/footer/index.tsx b/src/components/footer/index.tsx index 32f4363ad..ffcd7eb18 100644 --- a/src/components/footer/index.tsx +++ b/src/components/footer/index.tsx @@ -121,6 +121,12 @@ const Footer = (props: Props) => { src="/images/blue-heart.png" alt="Blue Heart Emoji" />, + , ]} /> diff --git a/src/i18n/en/home.json b/src/i18n/en/home.json index 03956f909..e8a0a9282 100644 --- a/src/i18n/en/home.json +++ b/src/i18n/en/home.json @@ -102,8 +102,8 @@ ] }, "cloud": { - "title": "Zilliz Cloud", - "advantage": "Fully managed with minimal operations", + "title": "Zilliz Cloud (fully managed Milvus)", + "advantage": "Hassle-free and 10x faster than Milvus", "features": [ "Available in both serverless and dedicated cluster", "SaaS and BYOC options for different security and compliance requirements" @@ -125,7 +125,7 @@ } }, "subscribeSection": { - "title": "Join the community of developers building GenAI apps with Milvus, now with over <0>25 million downloads", + "title": "Join the community of developers building GenAI apps with Milvus, now with over <0>50 million downloads", "subscribe": { "title": "Get Milvus Updates", "desc": "Subscribe to get updates on the latest Milvus releases, tutorials and training from Zilliz, the creator and key maintainer of Milvus.", diff --git a/src/i18n/en/milvus.json b/src/i18n/en/milvus.json index 1451b4429..6e1b931c6 100644 --- a/src/i18n/en/milvus.json +++ b/src/i18n/en/milvus.json @@ -944,7 +944,7 @@ }, "footnote": { "copyright": "Copyright © Milvus. {{year}} All rights reserved.", - "maintainer": "Made with Love <0> by the Devs from Zilliz" + "maintainer": "Made with Love <0> by the Devs from <1>Zilliz" } }, "status": { diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 3a5d153b4..5e5d158ad 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -5,7 +5,7 @@ import TryFreeSection, { AIToolsSection } from '@/parts/home/tryFreeSection'; import LovedSection from '@/parts/home/lovedSection'; import VectorDatabaseSection from '@/parts/home/vdbSection'; import DeploySection from '@/parts/home/deploySection'; -import DevelopSection from '@/parts/home/developSection'; +import DevelopSection, { MeetupsSection } from '@/parts/home/developSection'; import SubscribeSection from '@/parts/home/subscribeSection'; import Layout from '@/components/layout/commonLayout'; import { getMilvusStats } from '@/http/home'; @@ -36,9 +36,10 @@ export default function Homepage(props: { {/* */} + - + diff --git a/src/parts/home/deploySection/index.module.less b/src/parts/home/deploySection/index.module.less index 5b0dd3049..7a96c9a0f 100644 --- a/src/parts/home/deploySection/index.module.less +++ b/src/parts/home/deploySection/index.module.less @@ -89,7 +89,10 @@ margin-bottom: 12px; .dbName { - max-width: 320px; + max-width: 410px; + a { + color: @color-black1; + } @media @phone { max-width: 100%; diff --git a/src/parts/home/deploySection/index.tsx b/src/parts/home/deploySection/index.tsx index bd4244b4f..6da5ea5d0 100644 --- a/src/parts/home/deploySection/index.tsx +++ b/src/parts/home/deploySection/index.tsx @@ -107,7 +107,9 @@ export default function DeploySection() { className={clsx(classes.zillizCloud, cloudConfig.class)} >
-

{cloudConfig.title}

+

+ {cloudConfig.title} +

{cloudConfig.advantage}

    diff --git a/src/parts/home/developSection/index.tsx b/src/parts/home/developSection/index.tsx index 84d23c0af..7c23a1738 100644 --- a/src/parts/home/developSection/index.tsx +++ b/src/parts/home/developSection/index.tsx @@ -122,37 +122,43 @@ export default function DevelopSection(props: { showMeetup?: boolean }) {
+ + ); +} - {showMeetup && ( -
-
-
-
- Unstructured Data Meetups -
-

{t('developSection.meetup.title')}

-

{t('developSection.meetup.desc')}

-
-
+export const MeetupsSection = () => { + const { t } = useTranslation('home'); - } - variant="contained" - classes={{ - root: classes.rsvpButton, - icon: classes.linkButtonIcon, - }} - > - {t('buttons.rsvp')} - + return ( +
+
+
+
+
+ Unstructured Data Meetups +
+

{t('developSection.meetup.title')}

+

{t('developSection.meetup.desc')}

+
+ + } + variant="contained" + classes={{ + root: classes.rsvpButton, + icon: classes.linkButtonIcon, + }} + > + {t('buttons.rsvp')} +
- )} +
); -} +};