diff --git a/app/components/icons/chart.tsx b/app/components/icons/chart.tsx deleted file mode 100644 index c733d6c..0000000 --- a/app/components/icons/chart.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import type { JSX, SVGProps } from 'react' - -export const ChartIcon = ( - properties: JSX.IntrinsicAttributes & SVGProps, -) => { - return ( - - - - ) -} diff --git a/app/components/icons/chat.tsx b/app/components/icons/chat.tsx deleted file mode 100644 index 711bd6f..0000000 --- a/app/components/icons/chat.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import type { JSX, SVGProps } from 'react' - -export const ChatIcon = ( - properties: JSX.IntrinsicAttributes & SVGProps, -) => { - return ( - - - - ) -} diff --git a/app/components/icons/document.tsx b/app/components/icons/document.tsx deleted file mode 100644 index 87ffd37..0000000 --- a/app/components/icons/document.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import type { JSX, SVGProps } from 'react' - -export const DocumentIcon = ( - properties: JSX.IntrinsicAttributes & SVGProps, -) => { - return ( - - - - ) -} diff --git a/app/layouts/admin/menu.ts b/app/layouts/admin/menu.ts index b3fac6e..22d6fe8 100644 --- a/app/layouts/admin/menu.ts +++ b/app/layouts/admin/menu.ts @@ -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, }, ], },