From d9e1e1b60d4c3fcdb016cf98aa9101c329bcd85d Mon Sep 17 00:00:00 2001 From: Eleanor Mollett Date: Wed, 22 Sep 2021 13:37:56 +0100 Subject: [PATCH 1/6] GN-105 Content for standards and indicators --- .../Components/Components.module.scss | 4 + .../Components/StandardsAndIndicators.jsx | 94 +++++++++++++++++++ src/Header/Nav/Dropdown/Components/index.jsx | 1 + src/Header/Nav/Dropdown/Dropdown.jsx | 3 +- src/services.json | 7 ++ 5 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 src/Header/Nav/Dropdown/Components/StandardsAndIndicators.jsx diff --git a/src/Header/Nav/Dropdown/Components/Components.module.scss b/src/Header/Nav/Dropdown/Components/Components.module.scss index 1873c1e6..0fd69617 100644 --- a/src/Header/Nav/Dropdown/Components/Components.module.scss +++ b/src/Header/Nav/Dropdown/Components/Components.module.scss @@ -6,4 +6,8 @@ margin-left: 0; max-width: none; // To override max-width of 66ch set on lists padding: 0; + + li { + margin-bottom: rem($nds-spacing-small); + } } diff --git a/src/Header/Nav/Dropdown/Components/StandardsAndIndicators.jsx b/src/Header/Nav/Dropdown/Components/StandardsAndIndicators.jsx new file mode 100644 index 00000000..2298587d --- /dev/null +++ b/src/Header/Nav/Dropdown/Components/StandardsAndIndicators.jsx @@ -0,0 +1,94 @@ +import React from "react"; +import { Button } from "@nice-digital/nds-button"; +import { Grid, GridItem } from "@nice-digital/nds-grid"; +import styles from "./Components.module.scss"; +import services from "../../../../services.json"; +import classnames from "classnames"; + +export function StandardsAndIndicators() { + const baseUrl = services.external.find( + (service) => service.text == "Standards and indicators" + ).href; + + return ( +
+ + +

Quality standards

+

+ Quality standards set out the priority areas for quality improvement + in health and social care. +

+ + +
    +
  1. + Current quality standards +
  2. +
  3. + + Upcoming quality standards - forward planner + +
  4. +
  5. + + Help develop quality standards + +
  6. +
  7. + About quality standards +
  8. +
+
+ +

Indicators

+

+ NICE indicators measure outcomes that reflect the quality of care, + or processes linked, by evidence, to improved outcomes. +

+ + +
    +
  1. + + How we develop indicators for the NICE menu (PDF) + +
  2. +
  3. + + Learn about the committee that develops indicators + +
  4. +
  5. + + New, updated and retired indicators: September 2020 (Word) + +
  6. +
  7. + + NICE indicator menu (Word) + +
  8. +
  9. + + Hypertension indicator pack (PowerPoint) + +
  10. +
  11. + + QOF indicator assessment report (PDF) + +
  12. +
+
+
+
+ ); +} diff --git a/src/Header/Nav/Dropdown/Components/index.jsx b/src/Header/Nav/Dropdown/Components/index.jsx index 0d773d2b..3fde726e 100644 --- a/src/Header/Nav/Dropdown/Components/index.jsx +++ b/src/Header/Nav/Dropdown/Components/index.jsx @@ -1,2 +1,3 @@ export { Guidance } from "./Guidance"; export { More } from "./More"; +export { StandardsAndIndicators } from "./StandardsAndIndicators"; diff --git a/src/Header/Nav/Dropdown/Dropdown.jsx b/src/Header/Nav/Dropdown/Dropdown.jsx index 3032ef3c..d013a831 100644 --- a/src/Header/Nav/Dropdown/Dropdown.jsx +++ b/src/Header/Nav/Dropdown/Dropdown.jsx @@ -1,7 +1,7 @@ import React from "react"; import PropTypes from "prop-types"; import styles from "./Dropdown.module.scss"; -import { Guidance, More } from "./Components/"; +import { Guidance, More, StandardsAndIndicators } from "./Components/"; import Remove from "@nice-digital/icons/lib/Remove"; export function Dropdown({ @@ -15,6 +15,7 @@ export function Dropdown({ const components = { Guidance: Guidance, More: More, + StandardsAndIndicators: StandardsAndIndicators, }; const Component = components[component]; diff --git a/src/services.json b/src/services.json index a4d77aa1..fb3daee7 100644 --- a/src/services.json +++ b/src/services.json @@ -31,6 +31,13 @@ } ] }, + { + "href": "https://www.nice.org.uk/standards-and-indicators", + "text": "Standards and indicators", + "id": "standards-and-indicators", + "dropdown": true, + "dropdownComponent": "StandardsAndIndicators" + }, { "href": "https://www.nice.org.uk/about/what-we-do/life-sciences", "text": "Life sciences", From 4c29255ecde15dc2dc48de9a12f1180733dd6434 Mon Sep 17 00:00:00 2001 From: Eleanor Mollett Date: Wed, 22 Sep 2021 14:39:48 +0100 Subject: [PATCH 2/6] GN-105 Update links --- .../Components/StandardsAndIndicators.jsx | 31 ++++++++++++++++--- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/src/Header/Nav/Dropdown/Components/StandardsAndIndicators.jsx b/src/Header/Nav/Dropdown/Components/StandardsAndIndicators.jsx index 2298587d..aec81ecd 100644 --- a/src/Header/Nav/Dropdown/Components/StandardsAndIndicators.jsx +++ b/src/Header/Nav/Dropdown/Components/StandardsAndIndicators.jsx @@ -28,11 +28,13 @@ export function StandardsAndIndicators() {
  1. - Current quality standards + + How we use quality standards +
  2. - - Upcoming quality standards - forward planner + + Timeline-quality standards development
  3. @@ -41,7 +43,28 @@ export function StandardsAndIndicators() {
  4. - About quality standards + + Selecting and prioritising quality standards topics + +
  5. +
  6. + + Quality standard topic library + +
  7. +
  8. + + Upcoming quality standards - forward planner + +
  9. +
  10. + + Measuring uptake of quality standards +
From 64dd936b3572b22cea52e803b04fbe3c24148e05 Mon Sep 17 00:00:00 2001 From: Eleanor Mollett Date: Thu, 23 Sep 2021 08:59:54 +0100 Subject: [PATCH 3/6] GN-105 Remove standards and indicators from more --- src/Header/Nav/Dropdown/Components/More.jsx | 28 +++------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/src/Header/Nav/Dropdown/Components/More.jsx b/src/Header/Nav/Dropdown/Components/More.jsx index e9860acb..d20e2c5f 100644 --- a/src/Header/Nav/Dropdown/Components/More.jsx +++ b/src/Header/Nav/Dropdown/Components/More.jsx @@ -6,7 +6,7 @@ export function More() { return (
- +

Evidence search

Evidence search helps you make better, faster evidence-based @@ -15,32 +15,12 @@ export function More() { go.

-

- -

Standards and indicators

-

- Quality standards set out the priority areas for quality improvement - in health and social care. They cover areas where there is variation - in care. Each standard gives you: -

-
    -
  • a set of statements to help you
  • -
  • improve quality information on how to measure progress.
  • -
-

- -

-
- +

Journals and databases

Quick access to a range of journals and other evidence-based @@ -57,7 +37,7 @@ export function More() {

+ +

- +
+ +
+ +
+ +
- -