new announcement

main
Mike Fix 5 years ago
parent d6cdba8b5d
commit 38027983b0
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -1,7 +1,7 @@
import React from 'react' import React from 'react'
// Feature flag // Feature flag
const ACTIVE = false const ACTIVE = true
const key = 'CARBON_CTA_2' const key = 'CARBON_CTA_2'
@ -36,8 +36,14 @@ function Toast() {
return ( return (
<div className="toast mb4"> <div className="toast mb4">
<div className="toast-content"> <div className="toast-content">
<p>Never lose a Carbon again - save your work automatically!</p> <p>The team that created Carbon has been acquired!</p>
Click &quot;Sign up&quot; to try it out! <a
href="https://dawnlabs.io/fossa-acquires-dawnlabs"
target="_blank"
rel="noreferrer noopener"
>
Read more
</a>
<button className="close-toast" onClick={close}> <button className="close-toast" onClick={close}>
&times; &times;
</button> </button>
@ -61,6 +67,10 @@ function Toast() {
margin-top: calc(var(--x4) * -1); margin-top: calc(var(--x4) * -1);
animation-name: slide; animation-name: slide;
animation-duration: 600ms; animation-duration: 600ms;
width: 610px;
max-width: 100vw;
margin-left: auto;
margin-right: auto;
} }
.toast-content { .toast-content {
@ -70,6 +80,7 @@ function Toast() {
a { a {
text-decoration: underline; text-decoration: underline;
margin-left: 12px;
} }
.close-toast { .close-toast {

Loading…
Cancel
Save