mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-13 17:24:49 +01:00
feat: add comments/presi eplus promos for discoveribility (#10294)
This commit is contained in:
22
excalidraw-app/components/ExcalidrawPlusPromoBanner.tsx
Normal file
22
excalidraw-app/components/ExcalidrawPlusPromoBanner.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
export const ExcalidrawPlusPromoBanner = ({
|
||||
isSignedIn,
|
||||
}: {
|
||||
isSignedIn: boolean;
|
||||
}) => {
|
||||
return (
|
||||
<a
|
||||
href={`${
|
||||
isSignedIn
|
||||
? import.meta.env.VITE_APP_PLUS_LP
|
||||
: import.meta.env.VITE_APP_PLUS_APP
|
||||
}/plus?utm_source=excalidraw&utm_medium=app&utm_content=${
|
||||
isSignedIn ? "signedInBanner" : "guestBanner"
|
||||
}#excalidraw-redirect`}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
className="plus-banner"
|
||||
>
|
||||
Excalidraw+
|
||||
</a>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user