fix
This commit is contained in:
@@ -1,26 +1,5 @@
|
|||||||
import { MenuItem } from './model';
|
|
||||||
import { LanguageRoutes } from '@/shared/config/i18n/types';
|
import { LanguageRoutes } from '@/shared/config/i18n/types';
|
||||||
|
|
||||||
const getMenu = (t: (key: string) => string): MenuItem[] => [
|
|
||||||
{ title: t('aboutSite'), url: '/about' },
|
|
||||||
// {
|
|
||||||
// title: 'Products',
|
|
||||||
// url: '#',
|
|
||||||
// items: [
|
|
||||||
// {
|
|
||||||
// title: 'Blog',
|
|
||||||
// description: 'The latest industry news, updates, and info',
|
|
||||||
// icon: Book,
|
|
||||||
// url: '#',
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
// },
|
|
||||||
{
|
|
||||||
title: t('contact'),
|
|
||||||
url: '/contact',
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
const languages: { name: string; key: LanguageRoutes }[] = [
|
const languages: { name: string; key: LanguageRoutes }[] = [
|
||||||
{
|
{
|
||||||
name: "O'zbekcha",
|
name: "O'zbekcha",
|
||||||
@@ -36,4 +15,4 @@ const languages: { name: string; key: LanguageRoutes }[] = [
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export { getMenu, languages };
|
export { languages };
|
||||||
|
|||||||
Reference in New Issue
Block a user