28 lines
548 B
TypeScript
28 lines
548 B
TypeScript
import { MENU as ADMIN_MENU, SUB_MENU } from '~/layouts/admin/menu'
|
||
|
||
export const APP = {
|
||
title: 'LegalGo',
|
||
description: 'LegalGo Platform Berita Dunia dan Indonesia.',
|
||
logo: '/images/logo.png',
|
||
}
|
||
|
||
type TMetaTitleConfig = {
|
||
path: string
|
||
title: string
|
||
}[]
|
||
|
||
export const META_TITLE_CONFIG: TMetaTitleConfig = [
|
||
{
|
||
path: '/',
|
||
title: 'Home',
|
||
},
|
||
{
|
||
path: '/lg-admin/login',
|
||
title: 'Login',
|
||
},
|
||
...ADMIN_MENU.flatMap((menu) =>
|
||
menu.items.map((item) => ({ path: item.url, title: item.title })),
|
||
),
|
||
...SUB_MENU,
|
||
]
|