chore: migrate /auth/error (#18730)

* migrate auth/error

* fix

* fix type check
This commit is contained in:
Benny Joo authored and GitHub committed 2025-01-17 06:46:47 -05:00
1 parent 78a6963cd9
commit de05e8e989
11 files changed
+51 -53

No files matched your search

+2 -1
View File
@@ -11,12 +11,13 @@ interface Props {
showLogo?: boolean;
heading?: string;
loading?: boolean;
isAppDir?: boolean;
}
export default function AuthContainer(props: React.PropsWithChildren<Props>) {
return (
<div className="bg-subtle dark:bg-darkgray-50 flex min-h-screen flex-col justify-center py-12 sm:px-6 lg:px-8">
<HeadSeo title={props.title} description={props.description} />
{!props.isAppDir ? <HeadSeo title={props.title} description={props.description} /> : null}
{props.showLogo && <Logo small inline={false} className="mx-auto mb-auto" />}
<div className={classNames(props.showLogo ? "text-center" : "", "sm:mx-auto sm:w-full sm:max-w-md")}>