diff --git a/components/Layout.tsx b/components/Layout.tsx index 0188a91..f1b0620 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useState } from 'react'; import { NavLink, Outlet } from 'react-router-dom'; -import { Users, Settings, Building, LogOut, Menu, X, ChevronDown, Check, LayoutDashboard, Megaphone, Info, AlertTriangle, Hammer, Calendar, MessageSquareWarning, PieChart, Briefcase, ReceiptEuro } from 'lucide-react'; +import { Users, Settings, Building, LogOut, Menu, X, ChevronDown, Check, LayoutDashboard, Megaphone, Info, AlertTriangle, Hammer, Calendar, MessageSquareWarning, PieChart, Briefcase, ReceiptEuro, FileText } from 'lucide-react'; import { CondoService } from '../services/mockDb'; import { Condo, Notice, AppSettings } from '../types'; @@ -299,6 +299,14 @@ export const Layout: React.FC = () => { {isPrivileged ? 'Famiglie' : 'La mia famiglia'} + {/* Documents Link - NEW */} + {(settings?.features.documents) && ( + + + Documenti + + )} + {/* Condo Financials - Admin/PowerUser or Enabled User */} {(isPrivileged || settings?.features.condoFinancialsView) && (