import classNames from "classnames"; import { APP_NAME, LOGO } from "@calcom/lib/constants"; import { HeadSeo } from "@calcom/ui"; import Loader from "@components/Loader"; interface Props { title: string; description: string; footerText?: React.ReactNode | string; showLogo?: boolean; heading?: string; loading?: boolean; } export default function AuthContainer(props: React.PropsWithChildren) { return (
{props.showLogo && ( // eslint-disable-next-line @next/next/no-img-element {`${APP_NAME} )}
{props.heading &&

{props.heading}

}
{props.loading && (
)}
{props.children}
{props.footerText}
); }