Skip to content

Commit

Permalink
refactor: self close html elements
Browse files Browse the repository at this point in the history
  • Loading branch information
ksted committed Jan 17, 2025
1 parent 79fdcbd commit 0116a24
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p
class="typography-text-sm sm:typography-text-base my-2 mb-4"
v-html="props.text?.htmlDescription ?? t('newsletter.info')"
></p>
/>

<form class="mx-auto max-w-[550px] pt-2" novalidate @submit.prevent="onSubmit">
<div v-if="props.input?.displayNameInput" class="grid grid-cols-1 sm:grid-cols-2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
v-if="text?.htmlDescription"
class="typography-text-sm md:typography-text-lg font-normal"
v-html="text.htmlDescription"
></div>
/>
<ProductSlider v-if="recommendedProducts?.length" :items="recommendedProducts" />
</template>

Expand Down
6 changes: 3 additions & 3 deletions apps/web/components/ui/BlazeCarousel/BlazeCarousel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@

<button v-if="!isMobile" class="blaze-prev absolute left-[-18px] top-1/2 -translate-y-1/2 text-white">
<svg class="w-20 h-20" fill="none" :stroke="generalTextColor" stroke-width="2" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
<path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7" />
</svg>
</button>

<button v-if="!isMobile" class="blaze-next absolute right-[-18px] top-1/2 -translate-y-1/2 text-white">
<svg class="w-20 h-20" fill="none" :stroke="generalTextColor" stroke-width="2" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
<path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7" />
</svg>
</button>
</div>

<div
class="blaze-pagination absolute flex bottom-[20px] left-1/2 transform -translate-x-1/2 justify-center gap-2 mt-4"
></div>
/>
</div>
</template>

Expand Down

0 comments on commit 0116a24

Please sign in to comment.