add bootstrap.component.tsx, implement dynamic nav generation

This commit is contained in:
Schneider Roland
2025-01-10 22:23:49 +01:00
parent f059417376
commit 85587489f5
13 changed files with 180 additions and 91 deletions

View 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: '/'
},
];