refactor: remove unused icon components and update menu to use new icons
This commit is contained in:
@@ -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,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user