Skip to main content

MainNav

Function MainNav 

Source
pub fn MainNav(_: MainNavProps) -> Element
Expand description

Main navigation component with consistent styling and active page underline

§Props

For details, see the props struct definition.

  • active : ActivePage

    The currently active page

  • subtitle : Option<&'staticstr>

    Optional subtitle for the brand (e.g., “Programmer’s Guide”)

  • show_nav_links : bool

    Whether to show the full nav links (default true)