login de cadastro padronizado
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-09 15:05:20 +02:00
parent 67aa015b4c
commit 2209b83820
7 changed files with 463 additions and 175 deletions
+8
View File
@@ -1,16 +1,24 @@
import AuthLayoutTemplate from '@/layouts/auth/auth-simple-layout';
import AuthTempoLayout from '@/layouts/auth/auth-tempo-layout';
import { useTempoUi } from '@/components/tempo-brand';
export default function AuthLayout({
title = '',
description = '',
variant = 'simple',
children,
}: {
title?: string;
description?: string;
variant?: 'simple' | 'tempo-card';
children: React.ReactNode;
}) {
const { t } = useTempoUi();
if (variant === 'tempo-card') {
return <AuthTempoLayout>{children}</AuthTempoLayout>;
}
return (
<AuthLayoutTemplate title={t(title)} description={t(description)}>
{children}