diff --git a/src/excalidraw-app/components/PlusAppLink.tsx b/src/excalidraw-app/components/PlusAppLink.tsx new file mode 100644 index 000000000..6d2b69de2 --- /dev/null +++ b/src/excalidraw-app/components/PlusAppLink.tsx @@ -0,0 +1,20 @@ +import { COOKIES } from "../../constants"; + +export const isExcalidrawPlusSignedUser = document.cookie.includes( + COOKIES.AUTH_STATE_COOKIE, +); + +const PlusAppLink = () => { + return ( + + Go to Excalidraw+ + + ); +}; + +export default PlusAppLink; diff --git a/src/excalidraw-app/components/PlusLPLink.tsx b/src/excalidraw-app/components/PlusLPLink.tsx new file mode 100644 index 000000000..6ba4d4b83 --- /dev/null +++ b/src/excalidraw-app/components/PlusLPLink.tsx @@ -0,0 +1,17 @@ +const PlusLPLink = () => { + return ( +

+ Introducing Excalidraw+ +
+ + Try out now! + +

+ ); +}; + +export default PlusLPLink;