Se agregaron los favIcons
This commit is contained in:
@@ -103,9 +103,9 @@ function LoginPage({ setUser }) {
|
||||
<div className="bg-gradient-to-r from-indigo-600 to-purple-600 px-8 py-10 text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
{logoUrl ? (
|
||||
<img src={logoUrl} alt="Logo" className="w-24 h-24 object-contain bg-white rounded-2xl shadow-lg" />
|
||||
<img src={logoUrl} alt="Logo" className="h-[70px] w-[203px] object-contain bg-white rounded-2xl shadow-lg" />
|
||||
) : (
|
||||
<div className="w-24 h-24 bg-white rounded-2xl flex items-center justify-center shadow-lg text-gray-400">Sin logo</div>
|
||||
<div className="h-[70px] w-[203px] bg-white rounded-2xl flex items-center justify-center shadow-lg text-gray-400">Sin logo</div>
|
||||
)}
|
||||
</div>
|
||||
<h1 className="text-4xl font-bold text-white mb-2">AYUTEC</h1>
|
||||
@@ -293,9 +293,9 @@ function DashboardPage({ user, setUser }) {
|
||||
{/* Logo y Nombre del Sistema */}
|
||||
<div className="flex items-center gap-3">
|
||||
{logoUrl ? (
|
||||
<img src={logoUrl} alt="Logo" className="w-12 h-12 object-contain bg-white rounded-xl shadow-lg" />
|
||||
<img src={logoUrl} alt="Logo" className="h-[70px] w-[203px] object-contain bg-white rounded-xl shadow-lg" />
|
||||
) : (
|
||||
<div className="w-12 h-12 bg-white rounded-xl flex items-center justify-center shadow-lg text-gray-400">Sin logo</div>
|
||||
<div className="h-[70px] w-[203px] bg-white rounded-xl flex items-center justify-center shadow-lg text-gray-400">Sin logo</div>
|
||||
)}
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold text-white">AYUTEC</h1>
|
||||
@@ -509,9 +509,9 @@ function SettingsTab({ user }) {
|
||||
<h2 className="text-xl font-bold text-gray-900">Logo del Sistema</h2>
|
||||
<div className="flex items-center gap-6 mt-2">
|
||||
{logoUrl ? (
|
||||
<img src={logoUrl} alt="Logo" className="h-20 w-auto rounded-xl border shadow" />
|
||||
<img src={logoUrl} alt="Logo" className="h-[70px] w-[203px] object-contain rounded-xl border shadow" />
|
||||
) : (
|
||||
<div className="h-20 w-20 bg-gray-200 rounded-xl flex items-center justify-center text-gray-400">Sin logo</div>
|
||||
<div className="h-[70px] w-[203px] bg-gray-200 rounded-xl flex items-center justify-center text-gray-400">Sin logo</div>
|
||||
)}
|
||||
<div>
|
||||
<input type="file" accept="image/*" onChange={handleLogoUpload} disabled={logoUploading} />
|
||||
|
||||
Reference in New Issue
Block a user