refactor: remove unused icon components and update menu to use new icons

This commit is contained in:
Ardeman
2025-03-12 08:52:23 +08:00
parent c5b611a300
commit 90e2042a91
4 changed files with 8 additions and 77 deletions
+8 -8
View File
@@ -1,15 +1,15 @@
import {
ChartBarSquareIcon,
ClipboardDocumentCheckIcon,
DocumentCurrencyDollarIcon,
MegaphoneIcon,
NewspaperIcon,
PresentationChartLineIcon,
TagIcon,
UsersIcon,
} from '@heroicons/react/20/solid'
import type { SVGProps } from 'react'
import { ChartIcon } from '~/components/icons/chart'
import { ChatIcon } from '~/components/icons/chat'
import { DocumentIcon } from '~/components/icons/document'
type TMenu = {
group: string
items: {
@@ -26,17 +26,17 @@ export const MENU: TMenu[] = [
{
title: 'Dashboard',
url: '/lg-admin',
icon: ChartIcon,
icon: ChartBarSquareIcon,
},
{
title: 'User',
url: '/lg-admin/users',
icon: DocumentIcon,
icon: UsersIcon,
},
{
title: 'Artikel',
url: '/lg-admin/contents',
icon: ChatIcon,
icon: NewspaperIcon,
},
{
title: 'Banner Iklan',
@@ -46,7 +46,7 @@ export const MENU: TMenu[] = [
{
title: 'Subscription',
url: '/lg-admin/subscriptions',
icon: ChartIcon,
icon: PresentationChartLineIcon,
},
],
},