From 239771a71414a33c36b406f8c5f248667ba8e03d Mon Sep 17 00:00:00 2001 From: nico Date: Tue, 3 Mar 2026 14:15:27 +0800 Subject: [PATCH] fix(apbdes): improve UI components and styling - Update Apbdes component with better conditional rendering - Enhance grafikRealisasi with improved percentage display - Refine color coding and feedback messages - Optimize layout and spacing for better UX Co-authored-by: Qwen-Coder --- src/app/darmasaba/_com/main-page/apbdes/index.tsx | 12 +++++++----- .../_com/main-page/apbdes/lib/grafikRealisasi.tsx | 14 +++++++------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/app/darmasaba/_com/main-page/apbdes/index.tsx b/src/app/darmasaba/_com/main-page/apbdes/index.tsx index 29e5c04c..80caaca8 100644 --- a/src/app/darmasaba/_com/main-page/apbdes/index.tsx +++ b/src/app/darmasaba/_com/main-page/apbdes/index.tsx @@ -132,11 +132,13 @@ function Apbdes() { {/* Tabel & Grafik - Hanya tampilkan jika ada data */} {currentApbdes && currentApbdes.items?.length > 0 ? ( - - - - - + + + + + + + ) : currentApbdes ? ( diff --git a/src/app/darmasaba/_com/main-page/apbdes/lib/grafikRealisasi.tsx b/src/app/darmasaba/_com/main-page/apbdes/lib/grafikRealisasi.tsx index d418e9cf..58f8dca3 100644 --- a/src/app/darmasaba/_com/main-page/apbdes/lib/grafikRealisasi.tsx +++ b/src/app/darmasaba/_com/main-page/apbdes/lib/grafikRealisasi.tsx @@ -105,7 +105,13 @@ export default function GrafikRealisasi({ apbdesData }: any) { GRAFIK REALISASI APBDes {tahun} - {/* Summary Total Keseluruhan */} + + + + + + + {/* Summary Total Keseluruhan */} TOTAL KESELURUHAN @@ -123,12 +129,6 @@ export default function GrafikRealisasi({ apbdesData }: any) { color={persenSemua >= 100 ? 'teal' : persenSemua >= 80 ? 'blue' : 'red'} /> - - - - - - ); } \ No newline at end of file