'use client'; import * as React from 'react'; import * as LabelPrimivites from '@radix-ui/react-label'; import { Search } from 'lucide-react'; import * as Checkbox from '@/components/ui/checkbox'; import * as Input from '@/components/ui/input'; // Veri yapısını tanımlayalım const sections = [ { title: 'Talent Management', items: [ { id: 'talent-acquisition', label: 'Talent Acquisition', description: 'Recruiting and hiring processes', defaultChecked: true, }, { id: 'talent-analytics', label: 'Talent Analytics', description: 'Data-driven workforce insights', defaultChecked: true, }, { id: 'succession-planning', label: 'Succession Planning', description: 'Leadership pipeline development', defaultChecked: false, }, ], }, { title: 'Organization', items: [ { id: 'change-management', label: 'Change Management', description: 'Organizational transformation', defaultChecked: true, }, { id: 'hr-operations', label: 'HR Operations', description: 'Policy and compliance management', defaultChecked: false, }, ], }, { title: 'Resources', items: [ { id: 'compensation', label: 'Compensation & Benefits', description: 'Salary structures and benefit programs', defaultChecked: false, }, { id: 'engagement', label: 'Employee Engagement', description: 'Workplace culture and satisfaction programs', defaultChecked: false, }, ], }, ]; export default function HrExpertiseCheckboxes() { const [searchQuery, setSearchQuery] = React.useState(''); const filteredSections = sections .map((section) => ({ ...section, items: section.items.filter( (item) => item.label.toLowerCase().includes(searchQuery.toLowerCase()) || item.description.toLowerCase().includes(searchQuery.toLowerCase()), ), })) .filter((section) => section.items.length > 0); return (
Select your HR expertise areas to customize your workspace.