add bootstrap.component.tsx, implement dynamic nav generation
This commit is contained in:
37
yoga-app/src/util/const.ts
Normal file
37
yoga-app/src/util/const.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
import {MenuItem} from "@/components/nav.component";
|
||||
|
||||
export const MAIN_MENU:MenuItem[] = [
|
||||
{
|
||||
label: 'Home',
|
||||
href: '/'
|
||||
},
|
||||
{
|
||||
label: 'Rólunk',
|
||||
href: '/about'
|
||||
},
|
||||
{
|
||||
label: 'Szolgáltatásaink',
|
||||
href: '/services'
|
||||
},
|
||||
{
|
||||
label: 'Oldalak',
|
||||
children: [
|
||||
{
|
||||
label: 'Áraink',
|
||||
href: '/prices'
|
||||
},
|
||||
{
|
||||
label: 'FAQ',
|
||||
href: '/faq'
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'Team',
|
||||
href: '/team'
|
||||
},
|
||||
{
|
||||
label: 'Blog',
|
||||
href: '/'
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user