Skip to content

Commit d2f4f83

Browse files
authored
Merge pull request #1796 from milvus-io/mark-1711
update community page
2 parents 1343c3a + 552619f commit d2f4f83

File tree

6 files changed

+114
-186
lines changed

6 files changed

+114
-186
lines changed

public/images/community/office-hours.svg public/images/community/office-hour.svg

+16-16
Loading
Loading
Loading

src/i18n/en/community.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"title": "Join the Community",
3+
"ctaLabel": "Join now",
34
"officeHours": {
4-
"title": "Join the Milvus Discord Community",
5-
"content": "Find help, discover solutions, share ideas, and follow discussions. Get notified of upcoming Zilliz events!",
6-
"button": "Join the Milvus Discord Server! "
5+
"title": "Get Expert Help at Milvus Office Hours",
6+
"content": "Book a free 1:1 session to get help with your production deployment from Zilliz, the experts on Milvus.",
7+
"button": "Book Your Session"
78
},
89
"community": {
910
"title": "Welcome to the Milvus Community",

src/pages/community.jsx src/pages/community.tsx

+22-29
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import pageClasses from '@/styles/responsive.module.less';
1010
import clsx from 'clsx';
1111
import { ABSOLUTE_BASE_URL } from '@/consts';
1212
import CustomButton from '@/components/customButton';
13+
import { RightTopArrowIcon } from '@/components/icons/RightTopArrow';
1314

1415
const OFFICE_HOUR_REGISTER_LINK = 'https://discord.com/invite/8uyFbECzPX';
1516

@@ -32,11 +33,21 @@ export default function Community() {
3233
imgUrl: '/images/community/socialMedia/reddit.svg',
3334
href: 'https://www.reddit.com/r/vectordatabase/',
3435
},
36+
{
37+
label: 'Youtube',
38+
imgUrl: '/images/community/socialMedia/youtube.svg',
39+
href: 'https://www.youtube.com/@MilvusVectorDatabase/playlists',
40+
},
3541
{
3642
label: 'Twitter',
3743
imgUrl: '/images/community/socialMedia/twitter.svg',
3844
href: 'https://twitter.com/milvusio',
3945
},
46+
{
47+
label: 'LinkedIn',
48+
imgUrl: '/images/community/socialMedia/linkedin.svg',
49+
href: 'https://www.linkedin.com/company/the-milvus-project/',
50+
},
4051
];
4152

4253
const featureList = [
@@ -120,26 +131,29 @@ export default function Community() {
120131
<li key={v.label}>
121132
<img src={v.imgUrl} alt={v.label} />
122133
<p className="">{v.label}</p>
123-
<CustomButton variant="outlined" href={v.href}>
124-
Join now
134+
<CustomButton
135+
variant="outlined"
136+
href={v.href}
137+
className={classes.linkBtn}
138+
>
139+
{t('ctaLabel')}
140+
<RightTopArrowIcon />
125141
</CustomButton>
126142
</li>
127143
))}
128144
</ul>
129145

130146
<div className={classes.officeHoursContainer}>
131-
<div className={classes.imgWrapper}>
132-
<img src="/images/community/event-discord.png" alt="Discord" />
133-
</div>
147+
<div className={classes.imgWrapper}></div>
134148
<div className={classes.contentWrapper}>
135149
<h2 className={classes.title}>{t('officeHours.title')}</h2>
136150
<p className={classes.desc}>{t('officeHours.content')}</p>
137151

138152
<CustomButton
139153
variant="contained"
140154
className={classes.linkBtn}
141-
href={OFFICE_HOUR_REGISTER_LINK}
142-
target="_blank"
155+
href="/blog/join-milvus-office-hours-to-get-support-from-vectordb-experts.md"
156+
endIcon={<RightTopArrowIcon />}
143157
>
144158
{t('officeHours.button')}
145159
</CustomButton>
@@ -164,35 +178,14 @@ export default function Community() {
164178
</ul>
165179
</section>
166180

167-
<section className={classes.resourceSection}>
168-
<div className={clsx(pageClasses.container, classes.innerSection)}>
169-
<h2>{t('resource')}</h2>
170-
<ul className={classes.resourceList}>
171-
{resourceList.map(v => (
172-
<li key={v.label}>
173-
<div className={classes.topContent}>
174-
<img src={v.icon} alt={v.label} />
175-
<p className={classes.label}>{v.label}</p>
176-
<p className={classes.desc}>{v.desc}</p>
177-
</div>
178-
179-
<CustomButton variant="outlined" href={v.href}>
180-
{v.btnLabel} <ArrowRightAltIcon />
181-
</CustomButton>
182-
</li>
183-
))}
184-
</ul>
185-
</div>
186-
</section>
187-
188181
<section
189182
className={clsx(pageClasses.container, classes.mailListSection)}
190183
>
191184
<h2>{t('mail.title')}</h2>
192185
<div className={classes.mailListWrapper}>
193186
{mailList.map(v => (
194187
<Link className={classes.linkBtn} href={v.href}>
195-
<MailOutlineIcon fontSize="14" />
188+
<MailOutlineIcon />
196189
<span>{v.label}</span>
197190
</Link>
198191
))}

0 commit comments

Comments
 (0)