✨ [minimal] Add PoweredBy component
This commit is contained in:
parent
86311e4aee
commit
5b9a53cbc6
12 changed files with 219 additions and 29 deletions
|
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue