Skip to content

Commit

Permalink
✨ Introduce alt parameter to glider component
Browse files Browse the repository at this point in the history
  • Loading branch information
CLEMREP committed Nov 19, 2024
1 parent 148bd30 commit ea82c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/glider.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@if (str($media->type)->contains('image'))
<img
src="{{ $source }}"
alt="{{ $media->alt }}"
alt="{{ $attributes->get('alt', $media->alt) }}"
@if ($width && $height)
width="{{ $width }}"
height="{{ $height }}"
Expand Down

0 comments on commit ea82c7c

Please sign in to comment.