diff --git a/src/components/footer/index.jsx b/src/components/footer/index.jsx index a2f4e8df3..e496d4b9f 100644 --- a/src/components/footer/index.jsx +++ b/src/components/footer/index.jsx @@ -3,10 +3,9 @@ import clsx from 'clsx'; import { Link } from 'gatsby-plugin-react-i18next'; import { faGithub, - faTwitter, faYoutube, faDiscord, - faXTwitter + faXTwitter, } from '@fortawesome/free-brands-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import * as styles from './index.module.less'; diff --git a/src/images/community/lunch-learn.svg b/src/images/community/lunch-learn.svg new file mode 100644 index 000000000..56d78bbce --- /dev/null +++ b/src/images/community/lunch-learn.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/pages/community/index.jsx b/src/pages/community/index.jsx index d8b339f93..22d1fb3ba 100644 --- a/src/pages/community/index.jsx +++ b/src/pages/community/index.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Layout from '../../components/layout'; -import SEO from '../../components/seo'; +import Seo from '../../components/seo'; import * as classes from './index.module.less'; import { graphql } from 'gatsby'; import { useI18next } from 'gatsby-plugin-react-i18next'; @@ -21,8 +21,7 @@ import videoIcon from '../../images/community/icons/video.svg'; import CustomLink from '../../components/customLink'; import { DISCORD_INVITE_URL } from '../../consts'; -const OFFICE_HOUR_REGISTER_LINK = - 'https://us02web.zoom.us/meeting/register/tZ0pcO6vrzsuEtVAuGTpNdb6lGnsPBzGfQ1T#/registration'; +const OFFICE_HOUR_REGISTER_LINK = 'https://discord.gg/RjNbk8RR4f'; const CalendarIcon = () => ( -
-

Milvus Community Office Hours

+

Milvus Community Lunch and Learn

Share your latest Milvus project with the community, hosted by the Zilliz team.

- Every Tuesday 1:30 Pacific Time + Every Tuesday from 12-12:30 PM PST

- Register now + Join now
diff --git a/src/pages/community/index.module.less b/src/pages/community/index.module.less index 28e531248..1566de3eb 100644 --- a/src/pages/community/index.module.less +++ b/src/pages/community/index.module.less @@ -77,7 +77,7 @@ .officeHourWrapper { display: flex; - background-color: #030c34; + background: linear-gradient(258.69deg, #654dff -7.73%, #010025 102.81%); border-radius: 12px; @media @tablet, @phone { @@ -93,7 +93,7 @@ } .bgWrapper { - background-image: url(../../images/community/office-hours.svg); + background-image: url(../../images/community/lunch-learn.svg); background-position: center center; background-repeat: no-repeat; background-size: cover; diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 26773dce5..fafc98474 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -34,12 +34,9 @@ import shein from '../images/brands/shein.png'; import regeneron from '../images/brands/regeneron.png'; import newRelic from '../images/brands/new-relic.png'; -import CustomIconLink from '../components/customIconLink'; import Seo from '../components/seo'; -import SvgIcon from '@mui/material/SvgIcon'; import { findLatestVersion } from '../utils'; import './index.less'; -import { SLACK_INVITE_URL } from '../consts'; // local css module import * as styles from './index.module.less'; @@ -200,27 +197,27 @@ const IndexPage = ({ data, pageContext }) => { }); }; - const communityLinks = [ - { name: 'Slack', to: SLACK_INVITE_URL }, - { name: 'Github', to: 'https://github.com/milvus-io/milvus' }, - ]; + // const communityLinks = [ + // { name: 'Slack', to: SLACK_INVITE_URL }, + // { name: 'Github', to: 'https://github.com/milvus-io/milvus' }, + // ]; - const ExternalLinkIcon = props => { - return ( - - - - ); - }; + // const ExternalLinkIcon = props => { + // return ( + // + // + // + // ); + // }; const version = findLatestVersion(allVersion.nodes); @@ -256,7 +253,7 @@ const IndexPage = ({ data, pageContext }) => { -{/* + {/*

{t('v3trans.main.communitytitle')} diff --git a/src/pages/milvus-demos/reverse-image-search.jsx b/src/pages/milvus-demos/reverse-image-search.jsx index 3983f4fbb..6d13f1b08 100644 --- a/src/pages/milvus-demos/reverse-image-search.jsx +++ b/src/pages/milvus-demos/reverse-image-search.jsx @@ -1,4 +1,4 @@ -import React, { useState, useEffect, useCallback, useRef } from 'react'; +import React, { useState, useCallback, useRef } from 'react'; import Header from '../../components/header'; import Seo from '../../components/seo'; import { @@ -7,7 +7,6 @@ import { } from '../../utils/demo-helper'; import Masonry from '../../components/demoComponents/masonry'; import { search } from '../../http/imageSearch'; -import DemoImg from '../../images/demos/demo.jpg'; import UploaderHeader from '../../components/demoComponents/uploader'; import * as styles from './demo.module.less'; import { Link, useI18next } from 'gatsby-plugin-react-i18next';