👽️ Apply latest changes to the API

This commit is contained in:
Manuel Cillero 2023-11-19 00:44:04 +01:00
parent 9c16aa2519
commit 255fb393a9
6 changed files with 53 additions and 18 deletions

View file

@ -75,13 +75,13 @@ fn hello_world() -> Wrapper {
L10n::t("hello_code", &LOCALES_HOMEDEMO),
)
.with_target(ButtonTarget::Blank)
.with_left_icon(Icon::with("git"))
.with_left_icon(Some(Icon::with("git")))
.with_classes(ClassesOp::Add, "code-link")
.with_font_size(FontSize::Medium),
)
.add_component(
Button::link("#welcome", L10n::t("hello_welcome", &LOCALES_HOMEDEMO))
.with_left_icon(Icon::with("arrow-down-circle-fill"))
.with_left_icon(Some(Icon::with("arrow-down-circle-fill")))
.with_classes(ClassesOp::Add, "welcome-link")
.with_font_size(FontSize::Medium),
),