@@ -7,8 +7,6 @@ import { useMainContext } from '@/frame/components/context/MainContext'
77import { useVersion } from '@/versions/components/useVersion'
88import { useRouter } from 'next/router'
99import { useTranslation } from '@/languages/components/useTranslation'
10- import { AISearchCTAPopup } from '@/search/components/input/AISearchCTAPopup'
11- import { useSearchOverlayContext } from '@/search/components/context/SearchOverlayContext'
1210
1311import styles from './SupportSection.module.scss'
1412
@@ -17,7 +15,6 @@ export const SupportSection = () => {
1715 const { relativePath, enterpriseServerReleases } = useMainContext ( )
1816 const router = useRouter ( )
1917 const { t } = useTranslation ( 'footer' )
20- const { setIsSearchOpen } = useSearchOverlayContext ( )
2118
2219 const isDeprecated =
2320 enterpriseServerReleases . isOldestReleaseDeprecated &&
@@ -29,7 +26,6 @@ export const SupportSection = () => {
2926 const showSurvey = ! isDeprecated && ! isSitePolicyDocs
3027 const showContribution = ! isDeprecated && ! isEarlyAccess && isEnglish
3128 const showSupport = true
32- const showCopilotCTA = ! isDeprecated && ! isEarlyAccess && isEnglish
3329
3430 return (
3531 < section className = "container-xl mt-lg-8 mt-6 px-3 px-md-6 no-print mx-auto" >
@@ -42,14 +38,6 @@ export const SupportSection = () => {
4238 styles . supportGrid /* ← adds the grid rules */ ,
4339 ) }
4440 >
45- { showCopilotCTA && (
46- < AISearchCTAPopup
47- isOpen
48- setIsSearchOpen = { setIsSearchOpen }
49- isDismissible = { false }
50- bannerType = "footer"
51- />
52- ) }
5341 { showSurvey && < Survey /> }
5442 { showContribution && < Contribution /> }
5543 { showSupport && < Support /> }
0 commit comments