From d2d9e9e139cca82edb07685d60c02e9c1cf728bf Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 22 Mar 2023 11:09:37 +0100 Subject: [PATCH] Add user survey alert to the top (#12452) * Add user survey alert to the top * Shorter --------- Co-authored-by: Sofie Van Landeghem --- website/src/styles/navigation.module.sass | 7 ++++--- website/src/templates/index.js | 15 ++++++++------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/website/src/styles/navigation.module.sass b/website/src/styles/navigation.module.sass index da5c18b6f..3adc5cd03 100644 --- a/website/src/styles/navigation.module.sass +++ b/website/src/styles/navigation.module.sass @@ -111,11 +111,12 @@ line-height: var(--line-height-xs) text-align: center -@include breakpoint(max, xs) - .list +@include breakpoint(max, md) + .alert display: none - .alert +@include breakpoint(max, xs) + .list display: none .has-alert diff --git a/website/src/templates/index.js b/website/src/templates/index.js index 2ee29a9e9..4c10e09c5 100644 --- a/website/src/templates/index.js +++ b/website/src/templates/index.js @@ -25,11 +25,6 @@ const AlertSpace = ({ nightly, legacy }) => { const isOnline = useOnlineStatus() return ( <> - {isOnline && ( - - Take our survey here. - - )} {nightly && ( { ) } +// const navAlert = ( +// +// 💥 Out now: spaCy v3.5 +// +// ) + const navAlert = ( - - 💥 Out now: spaCy v3.5 + + 💥 Take the user survey! )