This is an automated email from the ASF dual-hosted git repository. xiangfu pushed a commit to branch new-site-dev in repository https://gitbox.apache.org/repos/asf/pinot-site.git
The following commit(s) were added to refs/heads/new-site-dev by this push: new c828228b SAR-645 - Add miab link in the nav menu and on the community section (#144) c828228b is described below commit c828228b60c3c736de1945c6c438aab02ca69c37 Author: Gio <153032991+gio-start...@users.noreply.github.com> AuthorDate: Mon Mar 31 22:50:00 2025 +0200 SAR-645 - Add miab link in the nav menu and on the community section (#144) --- components/CommunitySection.tsx | 8 +++++--- data/headerNavLinks.ts | 3 ++- data/siteMetadata.js | 5 +++++ public/static/images/socials/miab.svg | 4 ++++ 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/components/CommunitySection.tsx b/components/CommunitySection.tsx index c9dda2f0..3b091b35 100644 --- a/components/CommunitySection.tsx +++ b/components/CommunitySection.tsx @@ -42,9 +42,11 @@ const CommunityBox: React.FC<CommunityBoxProps> = ({ name, icon, link, isWide = // The main section component const CommunitySection: React.FC = () => { return ( - <section className="px-6 py-14 md:mx-auto md:max-w-screen-outerLiveArea md:px-[13.5rem] md:py-[6.5rem]"> - <h3 className="pb-8 text-center text-[2rem] font-bold md:pb-14">Join our Community</h3> - <div className="flex flex-wrap justify-center gap-x-[1.375rem] gap-y-6 lg:gap-[6.75rem]"> + <section className="px-6 py-14 md:mx-auto md:max-w-5xl md:px-[13.5rem] md:py-[6.5rem]"> + <h3 id="join-community" className="pb-8 text-center text-[2rem] font-bold md:pb-14"> + Join our Community + </h3> + <div className="grid w-[21.5rem] grid-cols-2 justify-center gap-6 md:w-full md:grid-cols-3 lg:gap-14"> {siteMetadata.communityLinks.map((community: CommunityLink) => ( <CommunityBox key={community.name} diff --git a/data/headerNavLinks.ts b/data/headerNavLinks.ts index c24e122a..168efdd4 100644 --- a/data/headerNavLinks.ts +++ b/data/headerNavLinks.ts @@ -3,7 +3,8 @@ const headerNavLinks = [ { href: 'https://docs.pinot.apache.org', title: 'Docs' }, { href: '/download', title: 'Download' }, { href: '/powered-by', title: 'Powered by' }, - { href: '/blog', title: 'Blog' } + { href: '/blog', title: 'Blog' }, + { href: '#join-community', title: 'Community' } ]; export default headerNavLinks; diff --git a/data/siteMetadata.js b/data/siteMetadata.js index 2fafc8fa..e6d46111 100644 --- a/data/siteMetadata.js +++ b/data/siteMetadata.js @@ -130,6 +130,11 @@ const siteMetadata = { icon: '/static/images/socials/rta.svg', link: 'https://rtasummit.com', isWide: true + }, + { + name: 'Meetup in a Box', + icon: '/static/images/socials/miab.svg', + link: 'https://startree.ai/meetupinabox' } ], shareStory: { diff --git a/public/static/images/socials/miab.svg b/public/static/images/socials/miab.svg new file mode 100644 index 00000000..a0f70fdf --- /dev/null +++ b/public/static/images/socials/miab.svg @@ -0,0 +1,4 @@ +<svg width="44" height="46" viewBox="0 0 44 46" fill="none" xmlns="http://www.w3.org/2000/svg"> +<path d="M22.8104 18.4422L43.4224 9.4415C43.2534 9.20096 43.0317 9.00224 42.7846 8.89347L32.7975 4.53224L22.8104 0.170998C22.2888 -0.0569994 21.4419 -0.0569994 20.9182 0.170998L19.9805 0.580975L0.946123 8.89347C0.424488 9.12147 0 9.76572 0 10.3305V35.1069C0 35.6717 0.422376 36.3159 0.946123 36.5439L20.9203 45.2664C21.1822 45.3814 21.5243 45.4379 21.8664 45.4379V19.8792C21.8664 19.3144 22.2909 18.6702 22.8125 18.4422H22.8104Z" fill="#A40D3A"/> +<path d="M21.8664 19.877V45.4357C22.2085 45.4357 22.5506 45.3793 22.8125 45.2642C23.7185 44.8689 25.2074 44.2184 26.9856 43.4423C27.5072 43.2143 27.9317 42.5701 27.9317 42.0053V25.3469C27.9317 24.9515 28.2274 24.5018 28.5927 24.3407L29.8535 23.7906C30.2189 23.6316 30.5145 23.822 30.5145 24.2173V40.8758C30.5145 41.4406 30.939 41.7146 31.4606 41.4866C32.6011 40.9887 33.7626 40.4805 34.8925 39.9889C35.4141 39.7609 35.8386 39.1167 35.8386 38.5519V21.8934C35.8386 21.4981 36.1342 21.0484 36.49 [...] +</svg> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org