Skip to content

Commit

Permalink
update homepage
Browse files Browse the repository at this point in the history
Signed-off-by: ryjiang <[email protected]>
  • Loading branch information
shanghaikid committed Nov 5, 2024
1 parent 1043c66 commit 5e18c1b
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 35 deletions.
6 changes: 6 additions & 0 deletions src/components/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ const Footer = (props: Props) => {
src="/images/blue-heart.png"
alt="Blue Heart Emoji"
/>,
<a
href="https://zilliz.com/"
target="_blank"
rel="noreferrer"
className="text-black2 hover:text-black2"
></a>,
]}
/>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/i18n/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -125,7 +125,7 @@
}
},
"subscribeSection": {
"title": "Join the community of developers building GenAI apps with Milvus, now with over <0>25 million downloads</0>",
"title": "Join the community of developers building GenAI apps with Milvus, now with over <0>50 million downloads</0>",
"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.",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en/milvus.json
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@
},
"footnote": {
"copyright": "Copyright © Milvus. {{year}} All rights reserved.",
"maintainer": "Made with Love <0></0> by the Devs from Zilliz"
"maintainer": "Made with Love <0></0> by the Devs from <1>Zilliz</1>"
}
},
"status": {
Expand Down
5 changes: 3 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -36,9 +36,10 @@ export default function Homepage(props: {
{/* <TryFreeSection /> */}
<DeploySection />
<AIToolsSection />
<DevelopSection />
<LovedSection />
<ProductionSection />
<DevelopSection />
<MeetupsSection />
<VectorDatabaseSection />
<SubscribeSection />
</main>
Expand Down
5 changes: 4 additions & 1 deletion src/parts/home/deploySection/index.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@
margin-bottom: 12px;

.dbName {
max-width: 320px;
max-width: 410px;
a {
color: @color-black1;
}

@media @phone {
max-width: 100%;
Expand Down
4 changes: 3 additions & 1 deletion src/parts/home/deploySection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ export default function DeploySection() {
className={clsx(classes.zillizCloud, cloudConfig.class)}
>
<div className="">
<h3 className={clsx(classes.dbName)}>{cloudConfig.title}</h3>
<h3 className={clsx(classes.dbName)}>
<a href="https://zilliz.com/cloud/">{cloudConfig.title}</a>
</h3>
<div className={classes.dbContent}>
<p className={classes.dbAdvantage}>{cloudConfig.advantage}</p>
<ol className={classes.dbFeatures}>
Expand Down
60 changes: 33 additions & 27 deletions src/parts/home/developSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,37 +122,43 @@ export default function DevelopSection(props: { showMeetup?: boolean }) {
<RightArrow />
</button>
</div>
</section>
);
}

{showMeetup && (
<div className={clsx(pageClasses.homeContainer)}>
<div className={classes.meetupBgContainer}>
<div className={classes.meetupWrapper}>
<div className={classes.contentWrapper}>
<img
src="/images/home/meetup-logo.png"
alt="Unstructured Data Meetups"
/>
<div>
<h3>{t('developSection.meetup.title')}</h3>
<p>{t('developSection.meetup.desc')}</p>
</div>
</div>
export const MeetupsSection = () => {
const { t } = useTranslation('home');

<CustomButton
href={MEETUP_UNSTRUCTURED_DATA_URL}
endIcon={<RightWholeArrow color="#fff" />}
variant="contained"
classes={{
root: classes.rsvpButton,
icon: classes.linkButtonIcon,
}}
>
{t('buttons.rsvp')}
</CustomButton>
return (
<section className={clsx(classes.sectionContainer)}>
<div className={clsx(pageClasses.homeContainer)}>
<div className={classes.meetupBgContainer}>
<div className={classes.meetupWrapper}>
<div className={classes.contentWrapper}>
<img
src="/images/home/meetup-logo.png"
alt="Unstructured Data Meetups"
/>
<div>
<h3>{t('developSection.meetup.title')}</h3>
<p>{t('developSection.meetup.desc')}</p>
</div>
</div>

<CustomButton
href={MEETUP_UNSTRUCTURED_DATA_URL}
endIcon={<RightWholeArrow color="#fff" />}
variant="contained"
classes={{
root: classes.rsvpButton,
icon: classes.linkButtonIcon,
}}
>
{t('buttons.rsvp')}
</CustomButton>
</div>
</div>
)}
</div>
</section>
);
}
};

0 comments on commit 5e18c1b

Please sign in to comment.