diff --git a/components/page-footer/SupportSection.tsx b/components/page-footer/SupportSection.tsx index 56d7fc2d9d..c3a6d0e1bd 100644 --- a/components/page-footer/SupportSection.tsx +++ b/components/page-footer/SupportSection.tsx @@ -17,25 +17,31 @@ export const SupportSection = () => { currentVersion.includes(enterpriseServerReleases.oldestSupported) const isEarlyAccess = relativePath?.includes('early-access/') const isEnglish = router.locale === 'en' + const isSitePolicyDocs = router.asPath.startsWith('/site-policy') + + const showSurvey = !isDeprecated && !isSitePolicyDocs + const showContribution = !isDeprecated && !isEarlyAccess && isEnglish return (
- {!isDeprecated && ( + {showSurvey && (
)} - {!isDeprecated && !isEarlyAccess && isEnglish && ( -
+ {showContribution && ( +
)}