mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Add user survey alert to the top (#12452)
* Add user survey alert to the top * Shorter --------- Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
54c614e116
commit
b479f8bfa5
|
@ -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
|
||||
|
|
|
@ -25,11 +25,6 @@ const AlertSpace = ({ nightly, legacy }) => {
|
|||
const isOnline = useOnlineStatus()
|
||||
return (
|
||||
<>
|
||||
{isOnline && (
|
||||
<Alert title="💥 We'd love to learn more about your experience with spaCy!">
|
||||
<Link to="https://form.typeform.com/to/aMel9q9f">Take our survey here.</Link>
|
||||
</Alert>
|
||||
)}
|
||||
{nightly && (
|
||||
<Alert
|
||||
title="You're viewing the pre-release docs."
|
||||
|
@ -62,9 +57,15 @@ const AlertSpace = ({ nightly, legacy }) => {
|
|||
)
|
||||
}
|
||||
|
||||
// const navAlert = (
|
||||
// <Link to="/usage/v3-5" noLinkLayout>
|
||||
// <strong>💥 Out now:</strong> spaCy v3.5
|
||||
// </Link>
|
||||
// )
|
||||
|
||||
const navAlert = (
|
||||
<Link to="/usage/v3-5" noLinkLayout>
|
||||
<strong>💥 Out now:</strong> spaCy v3.5
|
||||
<Link to="https://form.typeform.com/to/aMel9q9f" noLinkLayout>
|
||||
<strong>💥 Take the user survey!</strong>
|
||||
</Link>
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user