Files
threshold-ui/ui/desktop/app/components/card/index.hbs
T
Carlos Alcaide bfdaacc2cd feat: 🎸 Changing div for h2
Changing the heading text container from a div to an h2
2021-06-18 16:23:07 -07:00

15 lines
385 B
Handlebars

<section class='card'>
<header class='card-header'>
{{#if @heading}}
<h2>
{{#if @icon}}
<Rose::Icon @name={{@icon}} @size='medium' />
{{/if}}
{{@heading}}
</h2>
{{/if}}
{{yield to='header'}}
</header>
<div class='card-body'>{{yield to='body'}}</div>
<footer class='card-footer'>{{yield to='footer'}}</footer>
</section>