diff --git a/src/components/pengaturan/akses-dan-tim.tsx b/src/components/pengaturan/akses-dan-tim.tsx index 80a8004..a9b429a 100644 --- a/src/components/pengaturan/akses-dan-tim.tsx +++ b/src/components/pengaturan/akses-dan-tim.tsx @@ -1,12 +1,15 @@ import { ActionIcon, Alert, + Box, Button, Card, Group, Modal, Select, Space, + Stack, + Switch, Table, Text, TextInput, @@ -23,167 +26,63 @@ import { import { useState } from "react"; const AksesDanTimSettings = () => { - const [opened, setOpened] = useState(false); - const { colorScheme } = useMantineColorScheme(); - const dark = colorScheme === "dark"; - - // Sample team members data - const teamMembers = [ - { - id: 1, - name: "Admin Utama", - email: "admin@desa.go.id", - role: "Administrator", - status: "Aktif", - }, - { - id: 2, - name: "Operator Desa", - email: "operator@desa.go.id", - role: "Operator", - status: "Aktif", - }, - { - id: 3, - name: "Staff Keuangan", - email: "keuangan@desa.go.id", - role: "Keuangan", - status: "Aktif", - }, - { - id: 4, - name: "Staff Umum", - email: "umum@desa.go.id", - role: "Umum", - status: "Nonaktif", - }, - ]; - - const roles = [ - { value: "administrator", label: "Administrator" }, - { value: "operator", label: "Operator" }, - { value: "keuangan", label: "Keuangan" }, - { value: "umum", label: "Umum" }, - { value: "keamanan", label: "Keamanan" }, - ]; - return ( - - setOpened(false)} - title="Tambah Anggota Tim" - size="lg" - > - - -