Files
medreport_mrb2b/packages/features/auth/src/components/auth-layout.tsx
Danel Kungla 0c2cfe6d18 prettier fix
2025-09-19 17:22:36 +03:00

24 lines
579 B
TypeScript

export function AuthLayoutShell({
children,
Logo,
}: React.PropsWithChildren<{
Logo?: React.ComponentType;
}>) {
return (
<div
className={
'sm:py-auto flex h-screen flex-col items-center justify-center py-6' +
' bg-background lg:bg-muted/30 gap-y-10 lg:gap-y-8'
}
>
{Logo ? <Logo /> : null}
<div
className={`bg-background flex w-full max-w-[23rem] flex-col gap-y-6 rounded-lg px-6 md:w-8/12 md:px-8 md:py-6 lg:w-5/12 lg:px-8 xl:w-4/12 xl:gap-y-8 xl:py-8`}
>
{children}
</div>
</div>
);
}