import React from "react"; 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 && ( Cal.com Logo )} {props.heading && (

{props.heading}

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