From 1ba4643e23c70ab20a3c0d7c407495d80db8e408 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 25 Mar 2026 11:56:22 +0800 Subject: [PATCH] Refactor New Ui Pengaturan Umum --- src/components/pengaturan/umum.tsx | 71 ++++++++++++++----------- src/routes/pengaturan/akses-dan-tim.tsx | 3 +- src/routes/pengaturan/keamanan.tsx | 3 +- src/routes/pengaturan/notifikasi.tsx | 3 +- 4 files changed, 46 insertions(+), 34 deletions(-) diff --git a/src/components/pengaturan/umum.tsx b/src/components/pengaturan/umum.tsx index 2b6499d..ec5b814 100644 --- a/src/components/pengaturan/umum.tsx +++ b/src/components/pengaturan/umum.tsx @@ -1,5 +1,6 @@ import { Alert, + Box, Button, Card, Group, @@ -11,34 +12,19 @@ import { Title, useMantineColorScheme, } from "@mantine/core"; +import { DateInput } from "@mantine/dates"; import { IconInfoCircle } from "@tabler/icons-react"; const UmumSettings = () => { const { colorScheme } = useMantineColorScheme(); const dark = colorScheme === "dark"; return ( - - Pengaturan Umum + Preferensi Tampilan - - Kelola pengaturan umum aplikasi Anda - - - - - + + + + Tampilkan Grid + + + + + Animasi Transisi + + - + ); }; diff --git a/src/routes/pengaturan/akses-dan-tim.tsx b/src/routes/pengaturan/akses-dan-tim.tsx index c02f08f..cb5e763 100644 --- a/src/routes/pengaturan/akses-dan-tim.tsx +++ b/src/routes/pengaturan/akses-dan-tim.tsx @@ -1,9 +1,10 @@ import { createFileRoute } from "@tanstack/react-router"; +import AksesDanTimSettings from "@/components/pengaturan/akses-dan-tim"; export const Route = createFileRoute("/pengaturan/akses-dan-tim")({ component: RouteComponent, }); function RouteComponent() { - return
Hello "/pengaturan/akses-dan-tim"!
; + return ; } diff --git a/src/routes/pengaturan/keamanan.tsx b/src/routes/pengaturan/keamanan.tsx index 57e3cd0..e3e5987 100644 --- a/src/routes/pengaturan/keamanan.tsx +++ b/src/routes/pengaturan/keamanan.tsx @@ -1,9 +1,10 @@ import { createFileRoute } from "@tanstack/react-router"; +import KeamananSettings from "@/components/pengaturan/keamanan"; export const Route = createFileRoute("/pengaturan/keamanan")({ component: RouteComponent, }); function RouteComponent() { - return
Hello "/pengaturan/keamanan"!
; + return ; } diff --git a/src/routes/pengaturan/notifikasi.tsx b/src/routes/pengaturan/notifikasi.tsx index 8717f80..6913a10 100644 --- a/src/routes/pengaturan/notifikasi.tsx +++ b/src/routes/pengaturan/notifikasi.tsx @@ -1,9 +1,10 @@ import { createFileRoute } from "@tanstack/react-router"; +import NotifikasiSettings from "@/components/pengaturan/notifikasi"; export const Route = createFileRoute("/pengaturan/notifikasi")({ component: RouteComponent, }); function RouteComponent() { - return
Hello "/pengaturan/notifikasi"!
; + return ; }