import { XIcon } from "@heroicons/react/outline"; import { BadgeCheckIcon } from "@heroicons/react/solid"; import { Dialog, DialogTrigger } from "@components/Dialog"; import ConfirmationDialogContent from "@components/dialog/ConfirmationDialogContent"; export default function LicenseBanner() { /* Set this value to 'agree' to accept our license: LICENSE: https://github.com/calendso/calendso/blob/main/LICENSE Summary of terms: - The codebase has to stay open source, whether it was modified or not - You can not repackage or sell the codebase - Acquire a commercial license to remove these terms by emailing: license@cal.com NEXT_PUBLIC_LICENSE_CONSENT='' */ if (process.env.NEXT_PUBLIC_LICENSE_CONSENT === "agree") { return null; } return (

Accept our license by changing the .env variable{" "} NEXT_PUBLIC_LICENSE_CONSENT to 'agree'.

); function DialogContent() { return ( To remove this banner, please open your .env file and change the{" "} NEXT_PUBLIC_LICENSE_CONSENT{" "} variable to 'agree'.

Summary of terms:

); } }