You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
use crate::components::header::{Header, HeaderLink};
|
|
use maud::{html, Markup};
|
|
|
|
pub async fn render() -> Markup {
|
|
html! {
|
|
(
|
|
Header(vec![
|
|
HeaderLink {
|
|
name: "Home".to_string(),
|
|
path: "/".to_string(),
|
|
prefix: None,
|
|
postfix: None
|
|
}
|
|
], "/".to_string())
|
|
)
|
|
h1 { "Hello, world!" }
|
|
}
|
|
}
|