2import { Icon } from '@/contexts/IconContext';
4export default function SecurityRecommendations() {
8 recommendation: "Enable two-factor authentication for admin accounts",
9 category: "Access Control",
11 affectedArea: "User Management",
12 implementationTime: "15 minutes"
16 recommendation: "Review and update user access permissions",
17 category: "Access Control",
19 affectedArea: "All Modules",
20 implementationTime: "1 hour"
24 recommendation: "Enable audit logging for sensitive operations",
25 category: "Data Security",
27 affectedArea: "System Settings",
28 implementationTime: "30 minutes"
33 <div className="p-6 min-h-screen bg-bg">
34 {/* Header with back button */}
35 <div className="mb-6">
36 <div className="flex items-center gap-3 mb-2">
38 href="/pages/reports?source=advisor"
39 className="text-muted hover:text-brand transition-colors"
41 <Icon name="arrow_back" size={24} />
43 <h1 className="text-3xl font-bold text-text">Security Recommendations</h1>
45 <p className="text-muted ml-9">
46 Suggested security improvements to enhance system protection
51 <div className="bg-surface rounded-lg shadow-sm border border-border overflow-hidden">
52 <div className="overflow-x-auto">
53 <table className="w-full">
54 <thead className="bg-[var(--brand)] text-surface">
56 <th className="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">
59 <th className="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">
62 <th className="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">
65 <th className="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">
68 <th className="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">
71 <th className="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">
76 <tbody className="divide-y divide-border">
77 {data.length === 0 ? (
79 <td colSpan={6} className="px-6 py-12 text-center">
80 <Icon name="check_circle" size={48} className="text-success mx-auto mb-3" />
81 <p className="text-muted font-medium">All security recommendations implemented</p>
82 <p className="text-muted-2 text-sm mt-1">Your system security is up to date</p>
87 <tr key={row.id} className="hover:bg-surface-2 transition-colors">
88 <td className="px-6 py-4 text-sm text-text max-w-md">
89 <div className="flex items-start gap-2">
91 name={row.priority === 'high' ? 'warning' : 'info'}
93 className={`flex-shrink-0 mt-0.5 ${
94 row.priority === 'high' ? 'text-error' : 'text-info'
97 <span>{row.recommendation}</span>
100 <td className="px-6 py-4 text-sm text-muted">
103 <td className="px-6 py-4">
104 <span className={`px-2 py-1 text-xs font-medium rounded ${
105 row.priority === 'high' ? 'bg-error/20 text-error' :
106 row.priority === 'medium' ? 'bg-warning/20 text-warning' :
107 'bg-success/20 text-success'
109 {row.priority.toUpperCase()}
112 <td className="px-6 py-4 text-sm text-muted">
115 <td className="px-6 py-4 text-sm text-muted">
116 {row.implementationTime}
118 <td className="px-6 py-4 text-sm space-x-3">
119 <a href="#" className="text-brand hover:text-brand2 transition-colors">
122 <a href="#" className="text-muted hover:text-text transition-colors">
125 <a href="#" className="text-muted-2 hover:text-muted transition-colors">