2021-06-08 11:07:50 -07:00
|
|
|
<section class='card'>
|
2021-06-22 12:26:20 -04:00
|
|
|
{{#if (if (has-block 'header') true @heading)}}
|
|
|
|
|
<header class='card-header'>
|
|
|
|
|
{{#if @heading}}
|
|
|
|
|
<h2>
|
|
|
|
|
{{#if @icon}}
|
|
|
|
|
<Rose::Icon @name={{@icon}} @size='medium' />
|
|
|
|
|
{{/if}}
|
|
|
|
|
{{@heading}}
|
|
|
|
|
</h2>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{yield to='header'}}
|
|
|
|
|
|
|
|
|
|
</header>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
<div class='card-body'>
|
|
|
|
|
{{yield to='body'}}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{{#if (has-block 'footer')}}
|
|
|
|
|
<footer class='card-footer'>
|
|
|
|
|
{{yield to='footer'}}
|
|
|
|
|
</footer>
|
|
|
|
|
{{/if}}
|
2021-06-22 12:58:34 -04:00
|
|
|
</section>
|