2025-03-09 14:54:18 +08:00
|
|
|
|
import { MENU as ADMIN_MENU, SUB_MENU } from '~/layouts/admin/menu'
|
2025-02-25 04:48:13 +08:00
|
|
|
|
|
2025-02-03 13:03:49 +08:00
|
|
|
|
export const APP = {
|
2025-02-03 18:10:11 +08:00
|
|
|
|
title: 'LegalGo',
|
2025-03-04 03:41:02 +08:00
|
|
|
|
description: 'LegalGo Platform Berita Dunia dan Indonesia.',
|
2025-02-03 18:10:11 +08:00
|
|
|
|
logo: '/images/logo.png',
|
2025-01-31 19:34:22 +08:00
|
|
|
|
}
|
2025-02-03 13:03:49 +08:00
|
|
|
|
|
2025-02-25 04:48:13 +08:00
|
|
|
|
type TMetaTitleConfig = {
|
|
|
|
|
|
path: string
|
|
|
|
|
|
title: string
|
|
|
|
|
|
}[]
|
|
|
|
|
|
|
|
|
|
|
|
export const META_TITLE_CONFIG: TMetaTitleConfig = [
|
2025-02-03 13:03:49 +08:00
|
|
|
|
{
|
2025-02-28 11:49:51 +08:00
|
|
|
|
path: '/',
|
2025-02-03 13:03:49 +08:00
|
|
|
|
title: 'Home',
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
2025-03-03 17:33:52 +08:00
|
|
|
|
path: '/lg-admin/login',
|
2025-02-03 13:03:49 +08:00
|
|
|
|
title: 'Login',
|
|
|
|
|
|
},
|
2025-02-25 04:48:13 +08:00
|
|
|
|
...ADMIN_MENU.flatMap((menu) =>
|
|
|
|
|
|
menu.items.map((item) => ({ path: item.url, title: item.title })),
|
|
|
|
|
|
),
|
2025-03-09 14:54:18 +08:00
|
|
|
|
...SUB_MENU,
|
2025-02-03 13:03:49 +08:00
|
|
|
|
]
|