This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/cor 1784 correct vaccine adminstered graphs (#4891)
* fix(COR-1784): Update autumn 2022 vaccine table to show correct data * fix(COR-1784): Re-add vaccine campaign tile * fix(COR-1784): Fix filteredCampaigns * feat(COR-1784): Add border to basic series kpi header --------- Co-authored-by: VWSCoronaDashboard29 <B>
- Loading branch information
1 parent
116286a
commit 3af5e3f
Showing
5 changed files
with
62 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
packages/app/src/domain/vaccine/primary-series-kpi-header.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { PageInformationBlock } from '~/components'; | ||
import { Vaccinaties as VaccinatieIcon } from '@corona-dashboard/icons'; | ||
import { Box } from '~/components/base'; | ||
import { MetadataProps } from '~/components/page-information-block/components/metadata'; | ||
|
||
interface PrimarySeriesKpiHeaderProps { | ||
title: string; | ||
description: string; | ||
metadata: MetadataProps; | ||
} | ||
|
||
export function PrimarySeriesKpiHeader({ title, description, metadata }: PrimarySeriesKpiHeaderProps) { | ||
return ( | ||
<Box paddingTop="40px" borderTopWidth="2px" borderColor="gray3" borderStyle="solid"> | ||
<PageInformationBlock | ||
title={title} | ||
description={description} | ||
icon={<VaccinatieIcon aria-hidden="true" />} | ||
metadata={{ | ||
datumsText: metadata.datumsText, | ||
dateOrRange: metadata.dateOrRange, | ||
dateOfInsertionUnix: metadata.dateOfInsertionUnix, | ||
dataSources: metadata.dataSources, | ||
}} | ||
/> | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters