feat: 🎸 Changing div for h2

Changing the heading text container from a div to an h2
This commit is contained in:
Carlos Alcaide committed 2021-06-18 16:23:07 -07:00
1 parent 445d789344
commit bfdaacc2cd
2 files changed
+10 -3

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
<section class='card'>
<header class='card-header'>
{{#if @heading}}
<div>
<h2>
{{#if @icon}}
<Rose::Icon @name={{@icon}} @size='medium' />
{{/if}}
{{@heading}}
</div>
</h2>
{{/if}}
{{yield to='header'}}
</header>