crabbysearch/src/templates/partials/navbar.rs
2024-08-15 11:15:23 +02:00

19 lines
473 B
Rust

//! A module that handles `navbar` partial for the header partial in the `crabbysearch` frontend.
use maud::{html, Markup};
/// A functions that handles the html code for the header partial.
///
/// # Returns
///
/// It returns the compiled html code for the navbar as a result.
pub fn navbar() -> Markup {
html!(
nav{
ul{
li{a href="about"{"about"}}
li{a href="settings"{"settings"}}
}
}
)
}