import classNames from "classnames"; import React from "react"; import { APP_NAME, LOGO } from "@calcom/lib/constants"; import Loader from "@components/Loader"; import { HeadSeo } from "@components/seo/head-seo"; 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}
); }