+ {/* Right Side: Login Form - Full screen on mobile */}
+
+ {/* Mobile Header */}
+
+
+ {organization.logoUrl ? (
+
+

+
+ ) : (
+
+ {organization.name.charAt(0)}
+
+ )}
+
+
{organization.name}
+
Portal de Transparência
+
+
-
-
+
+
Admin Access
-
Acesso Restrito.
-
Insira suas credenciais corporativas.
+
Acesso Restrito.
+
Insira suas credenciais corporativas.
-
@@ -147,7 +169,7 @@ export default function LoginClient({ organization }: { organization: Organizati
value={password}
onChange={(e) => setPassword(e.target.value)}
placeholder="••••••••"
- className="pl-12 h-11 bg-slate-50 border-none rounded-xl text-sm font-bold focus:bg-white focus:ring-4 focus:ring-slate-50 transition-all shadow-none"
+ className="pl-12 h-12 lg:h-11 bg-slate-50 border-none rounded-xl text-sm font-bold focus:bg-white focus:ring-4 focus:ring-slate-50 transition-all shadow-none"
required
/>
@@ -156,15 +178,24 @@ export default function LoginClient({ organization }: { organization: Organizati
-
+
Segurança protegida por criptografia.
diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx
index a9a5469..7cd3591 100644
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@ -1,12 +1,14 @@
"use client";
-import React from "react";
+import React, { useState } from "react";
import {
LayoutDashboard,
FileText,
Users,
Settings,
LogOut,
+ Menu,
+ X,
} from "lucide-react";
import Link from "next/link";
import { usePathname } from "next/navigation";
@@ -36,6 +38,7 @@ export function Sidebar({
}) {
const pathname = usePathname();
const primaryColor = organization.primaryColor || "#2563eb";
+ const [mobileOpen, setMobileOpen] = useState(false);
const menuItems = [
{ href: "/dashboard", label: "Dashboard", icon: LayoutDashboard },
@@ -44,12 +47,12 @@ export function Sidebar({
{ href: "/dashboard/configuracoes", label: "Configurações", icon: Settings },
];
- return (
-