MangoWeb/SharedUI/Shared/Components/Layout/MainLayout.razor

54 lines
1.2 KiB
Plaintext

@inherits LayoutComponentBase
@using System.Runtime.InteropServices.JavaScript
@using BlazorWASM.Shared
@using SharedUI.Shared.Components.Layout
<main>
<NavbarComponent MenuItems="MenuItems"/>
@Body
<FooterComponent/>
</main>
@code {
public static List<NavMenuItem> SubMenu1 = new List<NavMenuItem>
{
new NavMenuItem("Weboldal/Applikáció", "/webdevelopment"),
new NavMenuItem("Landing page", "/landingpage"),
new NavMenuItem("Webdesign", "/webdesign"),
new NavMenuItem("Arculattervezés", "/brand"),
new NavMenuItem("Grafikai munkák", "/graphic"),
new NavMenuItem("3D web elemek", "/#"),
new NavMenuItem("AI Chatbotok", "/#"),
new NavMenuItem("Egyedi szoftverfejlesztés", "/softwaredevelopment"),
};
public List<NavMenuItem> MenuItems = new List<NavMenuItem>
{
new NavMenuItem("Home", "/"),
new NavMenuItem("Portfolio", "/portfolio"),
//new NavMenuItem("About", "/about"),
new NavMenuItem("Services", "/services", SubMenu1),
new NavMenuItem("Contact", "/contact"),
new NavMenuItem("OtherPages", "/otherpages")
};
}