🧑💻 Better names for with/alter/add_component_in
This commit is contained in:
parent
62b32ebcee
commit
15d545897b
9 changed files with 27 additions and 22 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue