[minimal] Add PoweredBy component

This commit is contained in:
Manuel Cillero 2023-07-25 21:50:23 +02:00
parent 86311e4aee
commit 5b9a53cbc6
12 changed files with 219 additions and 29 deletions

View file

@ -46,9 +46,9 @@ impl ComponentTrait for Block {
PrepareMarkup::With(html! {
div id=(id) class=[self.classes().get()] {
@if let Some(title) = self.title().get() {
h2 class="block__title" { (title) }
h2 class="block-title" { (title) }
}
div class="block__body" {
div class="block-body" {
(self.components().prepare(cx))
}
}