diff --git a/components/DonateBanner.tsx b/components/DonateBanner.tsx new file mode 100644 index 0000000000..dbab92961b --- /dev/null +++ b/components/DonateBanner.tsx @@ -0,0 +1,44 @@ +import { GiftIcon } from "@heroicons/react/outline"; +export default function DonateBanner() { + +if (location.hostname.endsWith(".calendso.com")) { +return null; +} + + return ( + <> +
+
+
+
+
+
+ + +

+ + Support the ongoing development + + + You're using the free self-hosted version. Support the + ongoing development. + +

+
+ +
+
+
+
+ + ); +} diff --git a/pages/index.tsx b/pages/index.tsx index 7abd81cfac..252fa6d76d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -254,6 +254,9 @@ export default function Home(props) {
+ + + );