mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
add alt tag to carousel
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
<div class="relative float-left -mr-[100%] {{ if not (eq $num 0) }} hidden {{ end }} w-full transition-transform duration-[{{ $interval }}ms] ease-in-out motion-reduce:transition-none"
|
<div class="relative float-left -mr-[100%] {{ if not (eq $num 0) }} hidden {{ end }} w-full transition-transform duration-[{{ $interval }}ms] ease-in-out motion-reduce:transition-none"
|
||||||
data-te-carousel-item {{ if eq $num 0 }} data-te-carousel-active {{ end }}>
|
data-te-carousel-item {{ if eq $num 0 }} data-te-carousel-active {{ end }}>
|
||||||
<div class="ratio-{{ $aspect }} single_hero_background">
|
<div class="ratio-{{ $aspect }} single_hero_background">
|
||||||
<img src="{{ . }}" class="block absolute top-0 object-cover w-full h-full nozoom" />
|
<img src="{{ . }}" class="block absolute top-0 object-cover w-full h-full nozoom" alt="carousel image {{$num}}"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -59,4 +59,4 @@
|
|||||||
<span
|
<span
|
||||||
class="!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]">Nextsads</span>
|
class="!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]">Nextsads</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user