Remove non-functional headers; lighten text on background image
Deploy / deploy (push) Successful in 4m2s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Beldor
2026-06-24 16:59:02 -03:00
parent 457db923d2
commit 7cc6456f97
7 changed files with 32 additions and 38 deletions
+9 -10
View File
@@ -22,15 +22,6 @@ export default function AdminLayout({ children }: { children: React.ReactNode })
return (
<div className="min-h-screen flex flex-col">
<header className="bg-white border-b border-gray-200 sticky top-0 z-10">
<div className="max-w-5xl mx-auto px-4 h-14 flex items-center justify-between">
<span className="font-bold text-blue-600 text-lg">🔧 Taller — Admin</span>
<button onClick={cerrarSesion} className="text-sm text-gray-500 hover:text-red-600 transition">
Cerrar sesión
</button>
</div>
</header>
<div className="max-w-5xl mx-auto w-full px-4 flex-1 flex flex-col md:flex-row gap-6 py-6">
<nav className="md:w-48 shrink-0">
<ul className="flex md:flex-col gap-2 flex-wrap">
@@ -41,7 +32,7 @@ export default function AdminLayout({ children }: { children: React.ReactNode })
className={`flex items-center gap-2 px-3 py-2 rounded-lg text-sm font-medium transition ${
pathname.startsWith(item.href)
? "bg-blue-600 text-white"
: "text-gray-700 hover:bg-gray-100"
: "text-gray-100 hover:bg-white/20"
}`}
>
<span>{item.icon}</span>
@@ -49,6 +40,14 @@ export default function AdminLayout({ children }: { children: React.ReactNode })
</Link>
</li>
))}
<li className="md:mt-auto">
<button
onClick={cerrarSesion}
className="flex items-center gap-2 px-3 py-2 rounded-lg text-sm font-medium text-gray-300 hover:text-red-300 hover:bg-white/10 transition w-full"
>
Cerrar sesión
</button>
</li>
</ul>
</nav>