se agrega los requerimientos de la LODPD con firma de documentos

This commit is contained in:
2026-04-07 15:14:44 -05:00
parent 408a9b4435
commit 46a11728b8
31 changed files with 1432 additions and 52 deletions
+10 -1
View File
@@ -1,7 +1,7 @@
import { useEffect, useState } from 'react';
import { Link, useNavigate, useLocation } from 'react-router-dom';
import { useAuth } from '../../contexts/AuthContext';
import { FileText, Shield, PenTool, LayoutDashboard, LogOut, Palette, Menu, X, KeyRound, Search, Plus, Users, Settings, ScrollText } from 'lucide-react';
import { FileText, Shield, PenTool, LayoutDashboard, LogOut, Palette, Menu, X, KeyRound, Search, Plus, Users, Settings, ScrollText, Scale } from 'lucide-react';
import ChangePasswordModal from '../ui/ChangePasswordModal';
const navSections = [
@@ -28,6 +28,7 @@ const topbarTitles = {
'/certificates': 'Firmantes',
'/signature-style': 'Configuración',
'/signatures': 'Firmar ahora',
'/legal': 'Legal',
};
export default function Layout({ children }) {
@@ -118,6 +119,14 @@ export default function Layout({ children }) {
<ScrollText size={15} />
<span>Auditoría</span>
</span>
<Link
to="/legal"
className={`nav-item ${location.pathname.startsWith('/legal') ? 'active' : ''}`}
onClick={() => setMobileMenuOpen(false)}
>
<Scale size={15} />
<span>Legal</span>
</Link>
</div>
</nav>
<div className="sidebar-footer">