feat: update category menu and dashboard titles for consistency and clarity
This commit is contained in:
parent
72e2dac328
commit
40a3f33ea3
@ -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',
|
||||
|
||||
@ -27,11 +27,11 @@ export const CategoriesPage = () => {
|
||||
},
|
||||
},
|
||||
{
|
||||
title: 'Nama Kategori',
|
||||
title: 'Nama',
|
||||
data: 'name',
|
||||
},
|
||||
{
|
||||
title: 'Code Katgeori',
|
||||
title: 'Kode',
|
||||
data: 'code',
|
||||
},
|
||||
{
|
||||
@ -78,7 +78,7 @@ export const CategoriesPage = () => {
|
||||
columns={dataColumns}
|
||||
options={dataOptions}
|
||||
slots={dataSlot}
|
||||
title="Daftar Katgeori"
|
||||
title="Daftar Kategori"
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user