BlackLivesMatter

main
Mike Fix 5 years ago
parent 0ee75b59ef
commit 2dd6614e38
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -1,9 +1,9 @@
import React from 'react'
// Feature flag
const ACTIVE = false
const ACTIVE = true
const key = 'CARBON_CTA_3'
const key = 'CARBON_CTA_4'
function Toast() {
const [open, setState] = React.useState(false)
@ -36,9 +36,9 @@ function Toast() {
return (
<div className="toast mb4">
<div className="toast-content">
<p>Help fight climate change by offsetting your carbon output</p>
<a href="/offsets" target="_blank" rel="noreferrer noopener">
Find out how
<p>Black Lives Matter.</p>
<a href="https://www.joincampaignzero.org" target="_blank" rel="noreferrer noopener">
Help end police violence in America &rarr;
</a>
<button className="close-toast" onClick={close}>
&times;
@ -75,7 +75,7 @@ function Toast() {
a {
text-decoration: underline;
margin-left: 12px;
margin-left: 8px;
}
.close-toast {
@ -92,7 +92,6 @@ function Toast() {
p {
margin: 0;
margin-right: 12px;
}
`}
</style>

Loading…
Cancel
Save