🧑‍💻 Better names for with/alter/add_component_in

This commit is contained in:
Manuel Cillero 2023-11-20 20:03:24 +01:00
parent 62b32ebcee
commit 15d545897b
9 changed files with 27 additions and 22 deletions

View file

@ -29,11 +29,11 @@ async fn demo(request: service::HttpRequest) -> ResultPage<Markup, FatalError> {
"/homedemo/css/styles.css",
)))
.with_body_classes(ClassesOp::Add, "default-homepage")
.with_in("content", hello_world())
.with_in("content", welcome())
.with_in("content", about_pagetop())
.with_in("content", promo_pagetop())
.with_in("content", reporting_issues())
.with_component_in("content", hello_world())
.with_component_in("content", welcome())
.with_component_in("content", about_pagetop())
.with_component_in("content", promo_pagetop())
.with_component_in("content", reporting_issues())
.render()
}