From 9e7f7b9295a0e7c34ac0c03ccfb79a2a6aad9abd Mon Sep 17 00:00:00 2001 From: Harry Hopkinson <63599884+Harry-Hopkinson@users.noreply.github.com> Date: Thu, 24 Mar 2022 03:08:01 +0000 Subject: [PATCH] Updated the State of JS Survey Results (#12350) Co-authored-by: fisker Cheung --- website/pages/en/index.js | 40 +++++++++++----------- website/pages/en/users/index.js | 35 +++++++++---------- website/static/images/state_of_js.svg | 1 - website/static/images/state_of_js_grey.svg | 2 +- website/static/overrides.css | 7 +++- 5 files changed, 43 insertions(+), 42 deletions(-) delete mode 100644 website/static/images/state_of_js.svg diff --git a/website/pages/en/index.js b/website/pages/en/index.js index bb7126efe551..d7329d7b3925 100755 --- a/website/pages/en/index.js +++ b/website/pages/en/index.js @@ -283,31 +283,34 @@ const UsersSection = ({ language }) => { >
-

- Regularly used by more than 70% of respondents - to State of JS 2020 -

- +

Regularly used by:

+
- - + +

@@ -322,11 +325,8 @@ const UsersSection = ({ language }) => {

- - + +

diff --git a/website/pages/en/users/index.js b/website/pages/en/users/index.js index 0888c2d48b51..da4ade80c68a 100644 --- a/website/pages/en/users/index.js +++ b/website/pages/en/users/index.js @@ -23,28 +23,25 @@ class Users extends React.Component {

-
- Prettier is regularly used by more than 70% -  of the respondents to the “Utilities” section of - the  - - State of JS 2020 - {" "} - survey (14880 developers out of 20974). -
- - - +

Prettier is regularly used by:

+
{showcase}
diff --git a/website/static/images/state_of_js.svg b/website/static/images/state_of_js.svg deleted file mode 100644 index c83f98bf077f..000000000000 --- a/website/static/images/state_of_js.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/website/static/images/state_of_js_grey.svg b/website/static/images/state_of_js_grey.svg index 42892151d1e1..0c4fde7e3834 100644 --- a/website/static/images/state_of_js_grey.svg +++ b/website/static/images/state_of_js_grey.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/website/static/overrides.css b/website/static/overrides.css index 114606cc49c3..d3347ad1d63a 100644 --- a/website/static/overrides.css +++ b/website/static/overrides.css @@ -415,12 +415,17 @@ em { } .ecosystemSubSection p { - padding-top: 4px !important; + padding-top: 0 !important; font-size: 0.9em; color: rgb(176, 196, 206) !important; line-height: 1.2em !important; } +.ecosystemSubSection ul, +.ecosystemSubSection ul a { + color: rgb(176, 196, 206) !important; +} + .growOnHover { transition: transform 0.3s cubic-bezier(0.075, 0.82, 0.165, 1); }