From 40df314f12d7769f62350787e0898249cbe0f12f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rodolfo=20Freitas?= Date: Fri, 3 May 2024 12:47:07 +0200 Subject: [PATCH] [website] Remove Survey banner from website and Core docs (#42104) --- docs/src/components/banner/AppHeaderBanner.tsx | 2 +- docs/src/featureToggle.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/components/banner/AppHeaderBanner.tsx b/docs/src/components/banner/AppHeaderBanner.tsx index ae83ac840550aa..04377f2d8a5406 100644 --- a/docs/src/components/banner/AppHeaderBanner.tsx +++ b/docs/src/components/banner/AppHeaderBanner.tsx @@ -49,7 +49,7 @@ function getDefaultHiringMessage() { } export default function AppHeaderBanner() { - const showSurveyMessage = true; + const showSurveyMessage = false; const bannerMessage = showSurveyMessage ? getSurveyMessage() : getDefaultHiringMessage(); return FEATURE_TOGGLE.enable_website_banner ? ( diff --git a/docs/src/featureToggle.js b/docs/src/featureToggle.js index 53f6d955cabc18..54a28c6732bffb 100644 --- a/docs/src/featureToggle.js +++ b/docs/src/featureToggle.js @@ -1,7 +1,7 @@ // need to use commonjs export so that @mui/internal-markdown can use module.exports = { - enable_website_banner: true, + enable_website_banner: false, enable_toc_banner: true, - enable_docsnav_banner: true, + enable_docsnav_banner: false, enable_job_banner: false, };