🚧 General components review
This commit is contained in:
parent
905b4b1cba
commit
3d2e750577
25 changed files with 1557 additions and 304 deletions
|
|
@ -70,20 +70,20 @@ fn hello_world() -> Wrapper {
|
|||
),
|
||||
))
|
||||
.add_component(
|
||||
Anchor::button(
|
||||
Button::primary(
|
||||
"https://github.com/manuelcillero/pagetop",
|
||||
L10n::t("hello_code", &LOCALES_HOMEDEMO),
|
||||
)
|
||||
.with_target(AnchorTarget::Blank)
|
||||
.with_target(ButtonTarget::Blank)
|
||||
.with_left_icon(Icon::with("git"))
|
||||
.with_classes(ClassesOp::Add, "code-link")
|
||||
.with_font_size(FontSize::Large),
|
||||
.with_font_size(FontSize::Medium),
|
||||
)
|
||||
.add_component(
|
||||
Anchor::link("#welcome", L10n::t("hello_welcome", &LOCALES_HOMEDEMO))
|
||||
Button::link("#welcome", L10n::t("hello_welcome", &LOCALES_HOMEDEMO))
|
||||
.with_left_icon(Icon::with("arrow-down-circle-fill"))
|
||||
.with_classes(ClassesOp::Add, "welcome-link")
|
||||
.with_font_size(FontSize::Large),
|
||||
.with_font_size(FontSize::Medium),
|
||||
),
|
||||
)
|
||||
.add_item(
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ body.default-homepage [class$="-col-text"] {
|
|||
body.default-homepage [class$="-col-image"] {
|
||||
padding: 1rem 5%;
|
||||
}
|
||||
|
||||
/*
|
||||
#hello-world a {
|
||||
margin: .25rem;
|
||||
}
|
||||
|
|
@ -36,7 +36,7 @@ body.default-homepage [class$="-col-image"] {
|
|||
#hello-world .hello-col-image {
|
||||
padding-top: 3em;
|
||||
}
|
||||
|
||||
*/
|
||||
#welcome > div.container {
|
||||
padding: 2rem 1rem;
|
||||
border-radius: 28px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue