import { Badge, Card, Grid, GridCol, Group, List, Progress, Stack, Text, ThemeIcon, Title, useMantineColorScheme, } from "@mantine/core"; import { IconAward, IconBabyCarriage, IconBook, IconCalendarEvent, IconHeartbeat, IconMedicalCross, IconSchool, IconStethoscope, } from "@tabler/icons-react"; import { useState } from "react"; const SosialPage = () => { const { colorScheme } = useMantineColorScheme(); const dark = colorScheme === "dark"; // Sample data for health statistics const healthStats = { ibuHamil: 87, balita: 342, alertStunting: 12, posyanduAktif: 8, }; // Sample data for health progress const healthProgress = [ { label: "Imunisasi Lengkap", value: 92, color: "green" }, { label: "Pemeriksaan Rutin", value: 88, color: "blue" }, { label: "Gizi Baik", value: 86, color: "teal" }, { label: "Target Stunting", value: 14, color: "red" }, ]; // Sample data for posyandu schedule const posyanduSchedule = [ { nama: "Posyandu Mawar", tanggal: "Senin, 15 Feb 2026", jam: "08:00 - 11:00", }, { nama: "Posyandu Melati", tanggal: "Selasa, 16 Feb 2026", jam: "08:00 - 11:00", }, { nama: "Posyandu Dahlia", tanggal: "Rabu, 17 Feb 2026", jam: "08:00 - 11:00", }, { nama: "Posyandu Anggrek", tanggal: "Kamis, 18 Feb 2026", jam: "08:00 - 11:00", }, ]; // Sample data for education stats const educationStats = { siswa: { tk: 125, sd: 480, smp: 210, sma: 150, }, sekolah: { jumlah: 8, guru: 42, }, }; // Sample data for scholarships const scholarshipData = { penerima: 45, dana: "Rp 1.200.000.000", tahunAjaran: "2025/2026", }; // Sample data for cultural events const culturalEvents = [ { nama: "Hari Kesaktian Pancasila", tanggal: "1 Oktober 2025", lokasi: "Balai Desa", }, { nama: "Festival Budaya Desa", tanggal: "20 Mei 2026", lokasi: "Lapangan Desa", }, { nama: "Perayaan HUT Desa", tanggal: "17 Agustus 2026", lokasi: "Balai Desa", }, ]; return ( {/* Health Statistics Cards */} Ibu Hamil Aktif {healthStats.ibuHamil} Balita Terdaftar {healthStats.balita} Alert Stunting {healthStats.alertStunting} Posyandu Aktif {healthStats.posyanduAktif} {/* Health Progress Bars */} Statistik Kesehatan {healthProgress.map((item, index) => (
{item.label} {item.value}%
))}
{/* Jadwal Posyandu */} Jadwal Posyandu {posyanduSchedule.map((item, index) => ( {item.nama} {item.tanggal} {item.jam} ))} {/* Pendidikan */} Pendidikan TK / PAUD {educationStats.siswa.tk} SD {educationStats.siswa.sd} SMP {educationStats.siswa.smp} SMA {educationStats.siswa.sma} Jumlah Lembaga Pendidikan {educationStats.sekolah.jumlah} Jumlah Tenaga Pengajar {educationStats.sekolah.guru} {/* Beasiswa Desa */} Beasiswa Desa Penerima: {scholarshipData.penerima} Dana Tersalurkan:{" "} {scholarshipData.dana} Tahun Ajaran: {scholarshipData.tahunAjaran} {/* Kalender Event Budaya */} Kalender Event Budaya {culturalEvents.map((event, index) => ( } > {event.nama} {event.lokasi} {event.tanggal} ))}
); }; export default SosialPage;