diff --git a/src/components/auth/LoginCard.tsx b/src/components/auth/LoginCard.tsx index 107dbef..13d4204 100644 --- a/src/components/auth/LoginCard.tsx +++ b/src/components/auth/LoginCard.tsx @@ -1,27 +1,24 @@ import { useState } from 'react' -import { LoginTabs } from './LoginTabs.tsx' -import { InternalLoginForm } from './InternalLoginForm.tsx' + import { ExternalLoginForm } from './ExternalLoginForm.tsx' +import { InternalLoginForm } from './InternalLoginForm.tsx' +import { LoginTabs } from './LoginTabs.tsx' export function LoginCard() { const [type, setType] = useState<'internal' | 'external'>('internal') return ( -
-

+
+

Iniciar sesión

-

+

Accede al Sistema de Planes de Estudio

- {type === 'internal' ? ( - - ) : ( - - )} + {type === 'internal' ? : }
) } diff --git a/src/routes/login.tsx b/src/routes/login.tsx index aad87c1..ec1d416 100644 --- a/src/routes/login.tsx +++ b/src/routes/login.tsx @@ -1,4 +1,5 @@ import { createFileRoute } from '@tanstack/react-router' + import { LoginCard } from '@/components/auth/LoginCard' export const Route = createFileRoute('/login')({ @@ -7,7 +8,7 @@ export const Route = createFileRoute('/login')({ function LoginPage() { return ( -
+
)