Skip to content

Commit

Permalink
Ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kevee committed Mar 25, 2020
1 parent bbbb64b commit 1260904
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 33 deletions.
3 changes: 2 additions & 1 deletion src/components/common/press.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export const PressList = ({ press }) => (
<ul>
{press.map(({ node }) => (
<li key={`press-${node.id}`}>
<Link to={node.url}>{node.title}</Link>, {node.publication}, {node.publishDate}
<Link to={node.url}>{node.title}</Link>, {node.publication},{' '}
{node.publishDate}
</li>
))}
</ul>
Expand Down
4 changes: 2 additions & 2 deletions src/content/pages/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ The COVID Tracking Project was [founded by three people](https://covidtracking.c

In the meantime, we have a request for everyone who can afford to make a financial contribution: Subscribe to your local newspaper. If you can, maybe consider subscribing to a few.

Without the labor of local reporters, we wouldn't have a lot of the data we now receive from state public health authorities—and without financial support from people who care about transparency and governance, many vital news organizations won't make it through an economic crisis.
Without the labor of local reporters, we wouldn't have a lot of the data we now receive from state public health authorities—and without financial support from people who care about transparency and governance, many vital news organizations won't make it through an economic crisis.

And thank you, from all of us on the project, for caring about this work.
And thank you, from all of us on the project, for caring about this work.
6 changes: 3 additions & 3 deletions src/pages/404.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react"
import React from 'react'

import Layout from "../components/layout"
import SEO from "../components/seo"
import Layout from '../components/layout'
import SEO from '../components/seo'

const NotFoundPage = () => (
<Layout>
Expand Down
60 changes: 33 additions & 27 deletions src/stories/12-Press-links.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,44 @@ export default {
title: 'Press Links',
}

export const regular = () => <PressList press={dummyData.allCovidPress.edges}/>
export const regular = () => <PressList press={dummyData.allCovidPress.edges} />

const dummyData = {
"allCovidPress": {
"edges": [
allCovidPress: {
edges: [
{
"node": {
"title": "Coronavirus update: 392,870 cases globally, 17,159 deaths, Italy shows glimmer of hope and NYC remains U.S. epicenter",
"url": "https://www.marketwatch.com/story/coronavirus-update-392870-cases-globally-17159-deaths-italy-shows-glimmer-of-hope-and-nyc-remains-us-epicenter-2020-03-24?siteid=yhoof2&yptr=yahoo",
"publishDate": "24 March 2020",
"id": "e0b4614e-ad97-5d0f-9cde-582b88c815ff",
"publication": "MarketWatch"
}
node: {
title:
'Coronavirus update: 392,870 cases globally, 17,159 deaths, Italy shows glimmer of hope and NYC remains U.S. epicenter',
url:
'https://www.marketwatch.com/story/coronavirus-update-392870-cases-globally-17159-deaths-italy-shows-glimmer-of-hope-and-nyc-remains-us-epicenter-2020-03-24?siteid=yhoof2&yptr=yahoo',
publishDate: '24 March 2020',
id: 'e0b4614e-ad97-5d0f-9cde-582b88c815ff',
publication: 'MarketWatch',
},
},
{
"node": {
"title": "Comparing COVID-19 in Minnesota and its neighbors in Upper Midwest",
"url": "https://www.mprnews.org/story/2020/03/17/comparing-covid19-in-minnesota-and-its-neighbors-in-upper-midwest",
"publishDate": "23 March 2020",
"id": "72d7dbae-24b3-5253-8a3e-9bbbe54d23f7",
"publication": "Minnesota Public Radio"
}
node: {
title:
'Comparing COVID-19 in Minnesota and its neighbors in Upper Midwest',
url:
'https://www.mprnews.org/story/2020/03/17/comparing-covid19-in-minnesota-and-its-neighbors-in-upper-midwest',
publishDate: '23 March 2020',
id: '72d7dbae-24b3-5253-8a3e-9bbbe54d23f7',
publication: 'Minnesota Public Radio',
},
},
{
"node": {
"title": "Coronavirus cases top 300,000 worldwide as US becomes one of worst hit countries",
"url": "https://www.cnbc.com/2020/03/21/coronavirus-cases-top-300000-worldwide-as-us-becomes-one-of-worst-hit.html",
"publishDate": "21 March 2020",
"id": "a5ecabb4-c79a-58d3-b85e-e54035471d25",
"publication": "CNBC"
}
}
]
}
node: {
title:
'Coronavirus cases top 300,000 worldwide as US becomes one of worst hit countries',
url:
'https://www.cnbc.com/2020/03/21/coronavirus-cases-top-300000-worldwide-as-us-becomes-one-of-worst-hit.html',
publishDate: '21 March 2020',
id: 'a5ecabb4-c79a-58d3-b85e-e54035471d25',
publication: 'CNBC',
},
},
],
},
}

0 comments on commit 1260904

Please sign in to comment.