Skip to content

Commit

Permalink
Add WaPo story as press highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
katamartin committed Sep 5, 2023
1 parent 6d76a17 commit 81f8c89
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 7 deletions.
1 change: 1 addition & 0 deletions components/press-logos/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export { default as NPR } from './npr'
export { default as Bloomberg } from './bloomberg'
export { default as CNBC } from './cnbc'
export { default as CBSNews } from './cbs-news'
export { default as WashingtonPost } from './washington-post'
51 changes: 51 additions & 0 deletions components/press-logos/washington-post.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import { useThemeUI } from 'theme-ui'

const Logo = () => {
const { theme } = useThemeUI()

return (
<svg viewBox='0 0 150 100' width='100%' height='100%'>
<path
fill={theme.rawColors.primary}
d='M21.3,51.9l-1.1,1.2l-2.8-2.3V39.6l1.5-1.5l2.3,2.2V51.9z M28.7,53.5l-3.2-2.8V39.4l1.4-1.4l1.8,1.8V53.5z M32.9,50.4v-12
l-3.5-3.5l-3.7,4l-4-4l-3.9,4v-1.2c0-3.4-2-2.8-2-5.1c0-1.4,0.9-2,2-2.6l-0.3-0.3c-3.2,1.2-5.1,2.8-5.1,4.8c0,1.7,1.2,1.8,1.2,3.5
v4.9c-2.3,0-2.8,2.2-2.8,3.1c0,0.5,0.2,1.1,0.2,1.2h0.5c0.2-0.6,0.5-1.2,1.2-1.2h0.9v6.3l4.6,4l3.5-3.9l4.5,3.9L32.9,50.4z
M40.1,52.9l-0.8,0.8l-2-1.8v-9.6l0.2-0.2l2.8,2L40.1,52.9z M52.9,54.4c-0.6-0.8-1.7-1.2-2.6-1.2c-1.2,0-1.7,0.5-2.5,0.8v-0.2
l3.5-5.1h1.5V54.4z M55,42.4L52,46.8h-1.2v-4.8h0.2c0.6,0.6,1.4,0.9,2,0.9C53.8,43.1,54.3,43,55,42.4z M46.6,53l-0.5-0.5l-0.9,1.1
l-1.5-1.4v-8.8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1.2l5.1-3.5v-6.9h-3.1l3.7-5.5
L90.5,70.7z M86.8,84.9c-0.8-0.8-1.8-1.2-2.8-1.2c-1.2,0-1.7,0.5-2.5,0.8v-0.2l3.5-5.1h1.5v5.7L86.8,84.9z M85.7,77.5h-1.2v-4.8h0.2
c0.6,0.6,1.4,0.9,2,0.9c1.1,0.2,1.4-0.2,2.2-0.6L85.7,77.5z M96.5,73.2H98l1.2-1.7l-0.2-0.2h-2.6v-5.9l-3.5,3.7v2.2h-0.8L91.1,73
v0.2h2v11.1L92,85.4l0.5,0.3l0.9-0.8l2.8,2.2l3.4-3.7l-0.5-0.5L98,84.1l-1.5-1.2L96.5,73.2z M79.7,72.6l-0.9,0.9l-3.7-2.8l-5.9,4.2
v8.8l-1.1,1.1l0.5,0.5l0.9-0.9l4,2.9l5.5-4.2v-8.9l1.1-0.8L79.7,72.6z M75.7,84.7l-2.8-2V73l2.8,2.2V84.7z'
/>
</svg>
)
}

export default Logo
10 changes: 5 additions & 5 deletions data/press.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
const highlights = [
{
source: 'Washington Post',
href: 'https://www.washingtonpost.com/climate-environment/interactive/2023/extreme-heat-wet-bulb-globe-temperature/',
date: '09-05-2023',
},
{
source: 'CBS News',
href: 'https://www.cbs.com/shows/video/M7H_yUdOiUw_E0fW5l_SP_V786PBhjI0/',
Expand All @@ -19,11 +24,6 @@ const highlights = [
href: 'https://www.latimes.com/politics/story/2021-09-08/what-is-the-california-climate-credit-does-it-cut-pollution',
date: '09-08-2021',
},
{
source: 'Planet Money',
href: 'https://www.npr.org/2021/05/07/994774148/emission-impossible',
date: '05-07-2021',
},
]

const press = [
Expand Down
4 changes: 2 additions & 2 deletions pages/press.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import {
Bloomberg,
LosAngelesTimes,
NationalGeographic,
NPR,
CBSNews,
WashingtonPost,
} from '../components/press-logos'

const sx = {
Expand All @@ -42,10 +42,10 @@ const sx = {

const logos = {
'Los Angeles Times': <LosAngelesTimes />,
'Planet Money': <NPR />,
Bloomberg: <Bloomberg />,
'National Geographic': <NationalGeographic />,
'CBS News': <CBSNews />,
'Washington Post': <WashingtonPost />,
}

const getColors = () => {
Expand Down

0 comments on commit 81f8c89

Please sign in to comment.