From 06be94d791c37ae3b3c89fb08e4b5397b94b1316 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Thu, 19 Dec 2024 20:27:54 -0500 Subject: [PATCH 1/3] Add survey banner Signed-off-by: Ben Wilson --- website/docusaurus.config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index ad64eac8f..913f78d28 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -218,6 +218,14 @@ const config: Config = { theme: prismThemes.vsDark, darkTheme: prismThemes.vsDark, }, + announcementBar: { + id: 'survey_bar', + content: + 'Help us improve MLflow by taking our survey!', + backgroundColor: '#72A1ED', + textColor: '#091E42', + isCloseable: false, + } } satisfies Preset.ThemeConfig, }; From 9898ce1f91289c690e3794cfb6327894e38fc212 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Thu, 19 Dec 2024 20:32:33 -0500 Subject: [PATCH 2/3] lint Signed-off-by: Ben Wilson --- website/docusaurus.config.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 913f78d28..4c4a49152 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -219,13 +219,13 @@ const config: Config = { darkTheme: prismThemes.vsDark, }, announcementBar: { - id: 'survey_bar', - content: - 'Help us improve MLflow by taking our survey!', - backgroundColor: '#72A1ED', - textColor: '#091E42', + id: "survey_bar", + content: + 'Help us improve MLflow by taking our survey!', + backgroundColor: "#72A1ED", + textColor: "#091E42", isCloseable: false, - } + }, } satisfies Preset.ThemeConfig, }; From 770a4e304cc4c04578155aee032b90044c9c91c2 Mon Sep 17 00:00:00 2001 From: Ben Wilson <39283302+BenWilson2@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:01:41 -0500 Subject: [PATCH 3/3] Update website/docusaurus.config.ts Co-authored-by: Daniel Lok --- website/docusaurus.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 4c4a49152..1c7f83318 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -222,8 +222,8 @@ const config: Config = { id: "survey_bar", content: 'Help us improve MLflow by taking our survey!', - backgroundColor: "#72A1ED", - textColor: "#091E42", + backgroundColor: "#0194e2", + textColor: "#ffffff", isCloseable: false, }, } satisfies Preset.ThemeConfig,