mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
17 lines
452 B
TypeScript
17 lines
452 B
TypeScript
import { isExcalidrawPlusSignedUser } from "../app_constants";
|
|
|
|
export const ExcalidrawPlusAppLink = () => {
|
|
if (!isExcalidrawPlusSignedUser) {
|
|
return null;
|
|
}
|
|
return (
|
|
<a
|
|
href={`${process.env.REACT_APP_PLUS_APP}?utm_source=excalidraw&utm_medium=app&utm_content=signedInUserRedirectButton#excalidraw-redirect`}
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
className="plus-button"
|
|
>
|
|
Go to Excalidraw+
|
|
</a>
|
|
);
|
|
};
|