lint arreglado en dos archivos

This commit is contained in:
2025-12-25 20:09:28 -06:00
parent b4570f56b4
commit 2b107af73c
2 changed files with 9 additions and 11 deletions

View File

@@ -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 (
<div className="w-full max-w-md bg-white rounded-2xl shadow-xl p-8">
<h1 className="text-2xl font-semibold text-center mb-1">
<div className="w-full max-w-md rounded-2xl bg-white p-8 shadow-xl">
<h1 className="mb-1 text-center text-2xl font-semibold">
Iniciar sesión
</h1>
<p className="text-sm text-gray-500 text-center mb-6">
<p className="mb-6 text-center text-sm text-gray-500">
Accede al Sistema de Planes de Estudio
</p>
<LoginTabs value={type} onChange={setType} />
{type === 'internal' ? (
<InternalLoginForm />
) : (
<ExternalLoginForm />
)}
{type === 'internal' ? <InternalLoginForm /> : <ExternalLoginForm />}
</div>
)
}