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

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',

View File

@ -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>
)