From ee6959ec14983dca94722ac480d39c2d4487db2b Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard24 Date: Mon, 29 Aug 2022 15:36:19 +0200 Subject: [PATCH 1/3] fix: use correct icon for positive tests page --- packages/app/src/pages/landelijk/positief-geteste-mensen.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/src/pages/landelijk/positief-geteste-mensen.tsx b/packages/app/src/pages/landelijk/positief-geteste-mensen.tsx index aa1d5d0f9b..860d5a8579 100644 --- a/packages/app/src/pages/landelijk/positief-geteste-mensen.tsx +++ b/packages/app/src/pages/landelijk/positief-geteste-mensen.tsx @@ -3,7 +3,7 @@ import { NlTestedOverallValue, TimeframeOptionsList, } from '@corona-dashboard/common'; -import { Stap1Thuisbezoek } from '@corona-dashboard/icons'; +import { GgdTesten, Stap1Thuisbezoek } from '@corona-dashboard/icons'; import { css } from '@styled-system/css'; import { GetStaticPropsContext } from 'next'; import { useState } from 'react'; @@ -190,7 +190,7 @@ const PositivelyTestedPeople = (props: StaticProps) => { commonTexts.sidebar.metrics.positive_tests.title } title={textNl.titel} - icon={} + icon={} description={textNl.pagina_toelichting} metadata={{ datumsText: textNl.datums, From e85c9c0dbb096882f93961a4f95104956ddb0385 Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard24 Date: Mon, 29 Aug 2022 15:37:35 +0200 Subject: [PATCH 2/3] fix: remove unused import --- packages/app/src/pages/landelijk/positief-geteste-mensen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/pages/landelijk/positief-geteste-mensen.tsx b/packages/app/src/pages/landelijk/positief-geteste-mensen.tsx index 860d5a8579..2c1f9a4751 100644 --- a/packages/app/src/pages/landelijk/positief-geteste-mensen.tsx +++ b/packages/app/src/pages/landelijk/positief-geteste-mensen.tsx @@ -3,7 +3,7 @@ import { NlTestedOverallValue, TimeframeOptionsList, } from '@corona-dashboard/common'; -import { GgdTesten, Stap1Thuisbezoek } from '@corona-dashboard/icons'; +import { GgdTesten } from '@corona-dashboard/icons'; import { css } from '@styled-system/css'; import { GetStaticPropsContext } from 'next'; import { useState } from 'react'; From 76c1896a18fba5ffc13c099282a590f1cdc527d2 Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard24 Date: Mon, 29 Aug 2022 15:50:05 +0200 Subject: [PATCH 3/3] fix: use correct icon for all positive tests page and sidebar --- packages/app/src/domain/layout/logic/use-sidebar.tsx | 4 ++-- .../app/src/pages/gemeente/[code]/positief-geteste-mensen.tsx | 4 ++-- .../pages/veiligheidsregio/[code]/positief-geteste-mensen.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/app/src/domain/layout/logic/use-sidebar.tsx b/packages/app/src/domain/layout/logic/use-sidebar.tsx index 41d517a1c1..c0cd286bd5 100644 --- a/packages/app/src/domain/layout/logic/use-sidebar.tsx +++ b/packages/app/src/domain/layout/logic/use-sidebar.tsx @@ -8,7 +8,7 @@ import { Phone, Reproductiegetal, Rioolvirus, - BasisregelsTesten, + GgdTesten, Vaccinaties, Varianten, Verpleeghuis, @@ -31,7 +31,7 @@ import { const mapKeysToIcons = { hospital_admissions: , - positive_tests: , + positive_tests: , mortality: , sewage_measurement: , source_investigation: , diff --git a/packages/app/src/pages/gemeente/[code]/positief-geteste-mensen.tsx b/packages/app/src/pages/gemeente/[code]/positief-geteste-mensen.tsx index f591523d2c..8708ed01ed 100644 --- a/packages/app/src/pages/gemeente/[code]/positief-geteste-mensen.tsx +++ b/packages/app/src/pages/gemeente/[code]/positief-geteste-mensen.tsx @@ -1,5 +1,5 @@ import { colors, TimeframeOptionsList } from '@corona-dashboard/common'; -import { Stap1Thuisbezoek } from '@corona-dashboard/icons'; +import { GgdTesten } from '@corona-dashboard/icons'; import { GetStaticPropsContext } from 'next'; import { Box } from '~/components/base'; import { Text, InlineText, BoldText } from '~/components/typography'; @@ -142,7 +142,7 @@ const PositivelyTestedPeople = (props: StaticProps) => { title={replaceVariablesInText(textGm.titel, { municipality: municipalityName, })} - icon={} + icon={} description={textGm.pagina_toelichting} metadata={{ datumsText: textGm.datums, diff --git a/packages/app/src/pages/veiligheidsregio/[code]/positief-geteste-mensen.tsx b/packages/app/src/pages/veiligheidsregio/[code]/positief-geteste-mensen.tsx index 46de98ec96..a82a438221 100644 --- a/packages/app/src/pages/veiligheidsregio/[code]/positief-geteste-mensen.tsx +++ b/packages/app/src/pages/veiligheidsregio/[code]/positief-geteste-mensen.tsx @@ -1,5 +1,5 @@ import { colors, TimeframeOptionsList } from '@corona-dashboard/common'; -import { Stap1Thuisbezoek } from '@corona-dashboard/icons'; +import { GgdTesten } from '@corona-dashboard/icons'; import { css } from '@styled-system/css'; import { GetStaticPropsContext } from 'next'; import { useRouter } from 'next/router'; @@ -189,7 +189,7 @@ const PositivelyTestedPeople = (props: StaticProps) => { title={replaceVariablesInText(textVr.titel, { safetyRegion: vrName, })} - icon={} + icon={} description={textVr.pagina_toelichting} metadata={{ datumsText: textVr.datums,