Skip to content

Commit

Permalink
Merge pull request #179 from PublicHealthEngland/development
Browse files Browse the repository at this point in the history
Adds announcement

No conflict detected.
  • Loading branch information
xenatisch authored Jun 1, 2020
2 parents def5a4d + 99cd2f3 commit 2ccd0c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "covid-public",
"version": "1.7.2",
"version": "1.7.3",
"private": true,
"homepage": "https://coronavirus.data.gov.uk/",
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions src/components/Announcement/Announcement.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const Container: ComponentType<*> = (() => {
flex-direction: column;
padding: 20px;
border: 5px solid #1d70b8;
margin-top: 1rem;
@media only screen and (max-width: 768px) {
grid-column: span 3;
Expand Down
10 changes: 5 additions & 5 deletions src/pages/Regional/Regional.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ const Regional: ComponentType<Props> = ({}: Props) => {
return (
<Styles.Container className="govuk-width-container">

<Announcement firstDisplayDate={ { year: 2020, month: 4, day: 27 } }
lastDisplayDate={ { year: 2020, month: 5, day: 1 } }>
<Announcement firstDisplayDate={ { year: 2020, month: 6, day: 1 } }
lastDisplayDate={ { year: 2020, month: 6, day: 4 } }>
<p className={ "govuk-body" }>
The way COVID-19 deaths are reported has changed.
For details see the&nbsp;
Note that the definition for deaths in England changed on 1 June 2020.
See the &nbsp;
<Link to={ '/about' }
className={ "govuk-link govuk-link--no-visited-state" }>
About the data
</Link>&nbsp;page.
</Link>&nbsp;page for details.
</p>
</Announcement>

Expand Down

0 comments on commit 2ccd0c6

Please sign in to comment.