refactor: use self closing tag

pull/3524/head
JD Solanki 2 years ago committed by GitHub
parent 3518109911
commit 0300541410
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -25,7 +25,7 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
<div class="VPHero" :class="{ 'has-image': image || heroImageSlotExists }">
<div class="container">
<div class="main">
<slot name="home-hero-info-before"></slot>
<slot name="home-hero-info-before" />
<slot name="home-hero-info">
<h1 v-if="name" class="name">
<span v-html="name" class="clip"></span>
@ -45,7 +45,7 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
/>
</div>
</div>
<slot name="home-hero-actions-after"></slot>
<slot name="home-hero-actions-after" />
</div>
<div v-if="image || heroImageSlotExists" class="image">

Loading…
Cancel
Save