import React, { useState } from 'react'; import { Layout } from '../components/Layout/Layout'; import { Settings, Key, Database, Palette, Save } from 'lucide-react'; export const SystemSettings: React.FC = () => { const [activeTab, setActiveTab] = useState<'users' | 'api' | 'automation' | 'backup' | 'branding'>('users'); return (

System Settings

{/* Sidebar */}
{/* Content */}
{activeTab === 'users' && (

User & Role Management

Permissions Matrix

{['Employee', 'Manager', 'HR', 'Payroll', 'Admin'].map(role => ( ))}
Role View Edit Delete Admin
{role}
)} {activeTab === 'api' && (

API Keys

)} {activeTab === 'automation' && (

n8n Connections

Email Workflow Active

n8n workflow URL: https://n8n.company.com/webhook/email

SMS Workflow Active

n8n workflow URL: https://n8n.company.com/webhook/sms

)} {activeTab === 'backup' && (

Backup & Restore

Last Backup 2 hours ago
)} {activeTab === 'branding' && (

Branding

Logo

Recommended: 200x200px PNG

)}
); };