From 2c873888c7fa80f6f8c87dcef3a5ef58d133f1d9 Mon Sep 17 00:00:00 2001 From: Jake Wheeler Date: Wed, 11 Dec 2024 11:05:44 -0500 Subject: [PATCH] introduce valuelist component, use sections, clean up --- src/app/products/_ui/index.tsx | 14 ++++ src/app/products/ecr-viewer/page.tsx | 106 +++++++++++++-------------- 2 files changed, 66 insertions(+), 54 deletions(-) diff --git a/src/app/products/_ui/index.tsx b/src/app/products/_ui/index.tsx index e67bfff..584c72a 100644 --- a/src/app/products/_ui/index.tsx +++ b/src/app/products/_ui/index.tsx @@ -305,6 +305,19 @@ const Text = ({ children, className }: TextProps) => { return

{children}

; }; +const ValueList = ({ children }: ContainerProps) => { + return ( + + + The value to you: +
    + {children} +
+
+
+ ); +}; + export { SendMailLink, TitleSection, @@ -325,4 +338,5 @@ export { SubsectionContainer, Figure, Text, + ValueList, }; diff --git a/src/app/products/ecr-viewer/page.tsx b/src/app/products/ecr-viewer/page.tsx index 66c658d..022797e 100644 --- a/src/app/products/ecr-viewer/page.tsx +++ b/src/app/products/ecr-viewer/page.tsx @@ -4,7 +4,6 @@ import { basePath } from '@/app/utils/constants'; import { Accordion, Link } from '@trussworks/react-uswds'; import Image from 'next/image'; import './styles.scss'; -import { RoundedBackground } from '@/app/components/RoundedBackground/RoundedBackground'; import { Navigation, TitleSection, @@ -24,6 +23,7 @@ import { SubsectionContainer, Figure, Text, + ValueList, } from '../_ui'; export default function EcrViewer() { @@ -40,7 +40,7 @@ export default function EcrViewer() { text="An intuitive interface that helps epidemiologists and case investigators make better sense of eCR data, faster." /> -
+
Overview @@ -78,51 +78,49 @@ export default function EcrViewer() { separately from their surveillance system.

-
-
-
- - - The value to you -
    -
  • - Surfaces the most relevant information in a summary at the - top of the eCR, so any staff member can quickly find the - information they need -
  • -
  • - Combines information from both the eICR and RR, so - epidemiologists reviewing the eCR can understand why it was - sent to their jurisdiction -
  • -
  • - Lives outside your case surveillance system as an API, which - reduces storage burden on your overall system while allowing - seamless access for epidemiologists who need it -
  • -
  • - Keeps data formats consistent regardless of which EHR system - generated the eCR -
  • -
  • Open source and free to use
  • -
  • - Offers flexible hosting, either within your jurisdiction or - through a CDC-hosted option -
  • -
-
-
-
- - Demo - +
+ - -
+ +
Product features @@ -192,8 +190,8 @@ export default function EcrViewer() { -
-
+ +
How it works @@ -238,8 +236,8 @@ export default function EcrViewer() { /> -
-
+ +
Getting started @@ -271,8 +269,8 @@ export default function EcrViewer() {
-
-
+ +
Technical resources

@@ -339,8 +337,8 @@ export default function EcrViewer() {

- -
+ +
FAQs @@ -517,7 +515,7 @@ export default function EcrViewer() { /> -
+