✨ Add with_component() to region "content" in Page
This commit is contained in:
parent
9be23d3cd8
commit
e011cf7f62
8 changed files with 19 additions and 14 deletions
|
|
@ -23,11 +23,11 @@ async fn demo(request: service::HttpRequest) -> ResultPage<Markup, ErrorPage> {
|
|||
"/base/css/welcome.css",
|
||||
)))
|
||||
.with_body_id("welcome")
|
||||
.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())
|
||||
.with_component(hello_world())
|
||||
.with_component(welcome())
|
||||
.with_component(about_pagetop())
|
||||
.with_component(promo_pagetop())
|
||||
.with_component(reporting_issues())
|
||||
.render()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue