This is an automated email from the ASF dual-hosted git repository.

xiangfu0 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 0c2dcc13 updated links for slack community invites (#190)
0c2dcc13 is described below

commit 0c2dcc13de77a4ff42971184178d14072d361552
Author: James Dilworth <[email protected]>
AuthorDate: Wed Aug 19 11:53:52 2026 -0700

    updated links for slack community invites (#190)
---
 components/Footer.tsx | 10 ++++++----
 data/communityData.ts |  2 +-
 data/siteMetadata.js  |  3 ++-
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/components/Footer.tsx b/components/Footer.tsx
index b82019b1..04e0738a 100644
--- a/components/Footer.tsx
+++ b/components/Footer.tsx
@@ -1,3 +1,4 @@
+import siteMetadata from '@/data/siteMetadata';
 import Link from './Link';
 import Logo from '@/data/logo.svg';
 import GitHub from '@/data/github.svg';
@@ -67,6 +68,10 @@ const links = [
 ];
 
 export default function Footer() {
+    const slackCommunityLink =
+        siteMetadata.communityLinks.find((communityLink) => communityLink.name 
=== 'Slack')?.link ||
+        '/community';
+
     return (
         <footer className="border-t bg-sky-100 px-5 py-10 md:px-[6.75rem] 
md:pb-10 md:pt-16">
             <div className="mx-auto flex max-w-7xl flex-wrap justify-between">
@@ -111,10 +116,7 @@ export default function Footer() {
                     <Link href="https://www.youtube.com/@Apache_Pinot"; 
className="mr-4">
                         <Youtube />
                     </Link>
-                    <Link
-                        
href="https://join.slack.com/t/apache-pinot/shared_invite/zt-2t4m15dl2-SnVmZenainX_bq1_dY6XYg";
-                        className="mr-4"
-                    >
+                    <Link href={slackCommunityLink} className="mr-4">
                         <Slack size={24} className="fill-gray-900" />
                     </Link>
                     <Link href="https://github.com/apache/pinot";>
diff --git a/data/communityData.ts b/data/communityData.ts
index b12c2eac..9de78817 100644
--- a/data/communityData.ts
+++ b/data/communityData.ts
@@ -22,7 +22,7 @@ export const communityChannels: CommunityResource[] = [
     {
         name: 'Slack',
         icon: '/static/images/socials/slack.svg',
-        link: 
'https://join.slack.com/t/apache-pinot/shared_invite/zt-2t4m15dl2-SnVmZenainX_bq1_dY6XYg',
+        link: 'https://inviter.co/apache-pinot',
         description: 'Chat with the community in real time'
     },
     {
diff --git a/data/siteMetadata.js b/data/siteMetadata.js
index 95b1abf8..405d5261 100644
--- a/data/siteMetadata.js
+++ b/data/siteMetadata.js
@@ -179,11 +179,12 @@ const siteMetadata = {
             ]
         }
     },
+    // duplicated in data/communityData.ts, but used here for the 
CommunityPage component
     communityLinks: [
         {
             name: 'Slack',
             icon: '/static/images/socials/slack.svg',
-            link: 
'https://join.slack.com/t/apache-pinot/shared_invite/zt-2t4m15dl2-SnVmZenainX_bq1_dY6XYg'
+            link: 'https://inviter.co/apache-pinot'
         },
         {
             name: 'GitHub',


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to