2023-03-01 09:39:41 -06:00
|
|
|
{{!
|
|
|
|
|
Copyright (c) HashiCorp, Inc.
|
|
|
|
|
SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
}}
|
|
|
|
|
|
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}}
|
2022-10-06 11:41:12 -04:00
|
|
|
</section>
|