2 changed files with 37 additions and 0 deletions
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
import { COOKIES } from "../../constants"; |
||||
|
||||
export const isExcalidrawPlusSignedUser = document.cookie.includes( |
||||
COOKIES.AUTH_STATE_COOKIE, |
||||
); |
||||
|
||||
const PlusAppLink = () => { |
||||
return ( |
||||
<a |
||||
href={`${process.env.REACT_APP_PLUS_APP}/#excalidraw-redirect`} |
||||
target="_blank" |
||||
rel="noreferrer" |
||||
className="plus-button" |
||||
> |
||||
Go to Excalidraw+ |
||||
</a> |
||||
); |
||||
}; |
||||
|
||||
export default PlusAppLink; |
||||
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
const PlusLPLink = () => { |
||||
return ( |
||||
<p style={{ direction: "ltr", unicodeBidi: "embed" }}> |
||||
Introducing Excalidraw+ |
||||
<br /> |
||||
<a |
||||
href="https://plus.excalidraw.com/plus?utm_source=excalidraw&utm_medium=banner&utm_campaign=launch" |
||||
target="_blank" |
||||
rel="noreferrer" |
||||
> |
||||
Try out now! |
||||
</a> |
||||
</p> |
||||
); |
||||
}; |
||||
|
||||
export default PlusLPLink; |
||||
Loading…
Reference in new issue