feat: update category menu and dashboard titles for consistency and clarity

This commit is contained in:
Ardeman
2025-03-07 15:04:22 +08:00
parent 72e2dac328
commit 40a3f33ea3
2 changed files with 9 additions and 11 deletions
+6 -8
View File
@@ -1,4 +1,5 @@
import type { JSX, SVGProps } from 'react'
import { ClipboardDocumentCheckIcon } from '@heroicons/react/20/solid'
import type { SVGProps } from 'react'
import { ChartIcon } from '~/components/icons/chart'
import { ChatIcon } from '~/components/icons/chat'
@@ -6,16 +7,13 @@ import { DocumentIcon } from '~/components/icons/document'
import { MedicalNotesIcon } from '~/components/icons/medical-notes'
import { ProfileIcon } from '~/components/icons/profile'
import { SettingIcon } from '~/components/icons/setting'
import { WalletIcon } from '~/components/icons/wallet'
type TMenu = {
group: string
items: {
title: string
url: string
icon: (
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
) => JSX.Element
icon: React.ComponentType<SVGProps<SVGSVGElement>>
}[]
}
@@ -54,9 +52,9 @@ export const MENU: TMenu[] = [
group: 'Others',
items: [
{
title: 'Data Situs',
url: '/lg-admin/site-data',
icon: WalletIcon,
title: 'Kategori',
url: '/lg-admin/categories',
icon: ClipboardDocumentCheckIcon,
},
{
title: 'Pengaturan',