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

Loading…
Cancel
Save