Añade un componente para iconos

This commit is contained in:
Manuel Cillero 2022-05-17 23:59:18 +02:00
parent 5901ff6fcf
commit d5c1495fa2
8 changed files with 1863 additions and 14 deletions

View file

@ -58,17 +58,20 @@ fn hello_world() -> Container {
"pagetop" => "<a href=\"https://pagetop-rs\">PageTop</a>"
]))
}))
.add(Anchor::button("#", html! { ("Offered services") }))
.add(Anchor::button("#", html! { ("Get quote") }))
.add(Chunck::with(html! {
a class="btn-solid-lg" href="#services" {
"Offered services"
}
a class="quote" href="#contact" {
i class="fas fa-paper-plane" {}
"Get quote"
}
}))
.add(Anchor::button("#",
html! {
("Offered services")
}).with_left_icon(
Icon::with("card-checklist")
)
)
.add(Anchor::button("#",
html! {
("Get quote")
}).with_left_icon(
Icon::with("envelope-open-heart-fill")
)
)
)
.add_column(grid::Column::new()
.add(Image::image("/bootsier/images/demo-header.svg"))