API & UI Menu Lingkungan, Submenu Penglolaan Sampah

This commit is contained in:
2025-07-17 17:09:28 +08:00
parent 49a1084099
commit 7439eb7687
27 changed files with 868 additions and 245 deletions

View File

@@ -4,10 +4,14 @@
import { Box, rem, Select } from '@mantine/core';
import {
IconChartLine,
IconClipboardTextFilled,
IconLeaf,
IconRecycle,
IconScale,
IconTent,
IconTrashFilled,
IconTrophy,
IconTruckFilled,
} from '@tabler/icons-react';
import { useEffect, useState } from 'react';
@@ -17,6 +21,11 @@ const iconMap = {
wisata: { label: 'Wisata', icon: IconTent },
ekonomi: { label: 'Ekonomi', icon: IconChartLine },
sampah: { label: 'Sampah', icon: IconRecycle },
truck: { label: 'Truck', icon: IconTruckFilled },
scale: { label: 'Scale', icon: IconScale },
clipboard: { label: 'Clipboard', icon: IconClipboardTextFilled },
trash: { label: 'Trash', icon: IconTrashFilled },
};
type IconKey = keyof typeof iconMap;

View File

@@ -3,10 +3,14 @@
import { Box, rem, Select } from '@mantine/core';
import {
IconChartLine,
IconClipboardTextFilled,
IconLeaf,
IconRecycle,
IconScale,
IconTent,
IconTrashFilled,
IconTrophy,
IconTruckFilled,
} from '@tabler/icons-react';
const iconMap = {
@@ -15,6 +19,10 @@ const iconMap = {
wisata: { label: 'Wisata', icon: IconTent },
ekonomi: { label: 'Ekonomi', icon: IconChartLine },
sampah: { label: 'Sampah', icon: IconRecycle },
truck: { label: 'Truck', icon: IconTruckFilled },
scale: { label: 'Scale', icon: IconScale },
clipboard: { label: 'Clipboard', icon: IconClipboardTextFilled },
trash: { label: 'Trash', icon: IconTrashFilled },
};
type IconKey = keyof typeof iconMap;