32 lines
632 B
TypeScript
32 lines
632 B
TypeScript
import { MENU as ADMIN_MENU } from '~/layouts/admin/menu'
|
|
|
|
export const APP = {
|
|
title: 'LegalGo',
|
|
description:
|
|
'Bonus judex secundum aequum et\n bonum judicat et aequitatem stricto juri praefert',
|
|
logo: '/images/logo.png',
|
|
}
|
|
|
|
type TMetaTitleConfig = {
|
|
path: string
|
|
title: string
|
|
}[]
|
|
|
|
export const META_TITLE_CONFIG: TMetaTitleConfig = [
|
|
{
|
|
path: '/',
|
|
title: 'Home',
|
|
},
|
|
{
|
|
path: '/admin/auth/login',
|
|
title: 'Login',
|
|
},
|
|
{
|
|
path: '/admin/auth/register',
|
|
title: 'Register',
|
|
},
|
|
...ADMIN_MENU.flatMap((menu) =>
|
|
menu.items.map((item) => ({ path: item.url, title: item.title })),
|
|
),
|
|
]
|