28 lines
548 B
TypeScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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