diff --git a/components/Announcement.js b/components/Announcement.js index b7851fd..5c88ec4 100644 --- a/components/Announcement.js +++ b/components/Announcement.js @@ -1,15 +1,14 @@ import React from 'react' // Feature flag -const ACTIVE = false +const ACTIVE = true -const key = 'CARBON_CTA_2' +const key = 'CARBON_CTA_3' function Toast() { const [open, setState] = React.useState(false) React.useEffect(() => { - window.localStorage.removeItem('CARBON_CTA_1') window.localStorage.removeItem('CARBON_CTA_2') if (!window.localStorage.getItem(key)) { setState(true) @@ -36,13 +35,9 @@ function Toast() { return (
-

The team that created Carbon has been acquired!

— - - Read more +

Help fight the climate crisis by offsetting your carbon production

— +
+ Find out how