Navbar
Top navigation bar. It knows how to open a Drawer on mobile but does not require one: without a DrawerID, no menu button is rendered.
With a mobile menu
The menu button only appears on narrow screens — shrink the window to see it. It exists only because a DrawerID was given.
@components.Navbar(components.NavbarProps{
Brand: "Vapulab", DrawerID: "menu",
Entries: []components.MenuEntry{
{Label: "Components", Href: "/", Current: true},
},
}) { ...right-hand content... }