Skip to content

Commit

Permalink
homepage slider is now directable
Browse files Browse the repository at this point in the history
  • Loading branch information
codephics committed Aug 18, 2024
1 parent b9d4ab6 commit c3c15ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/views/frontend/skeleton/content.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<div class="carousel-inner">
@foreach($sliders as $index => $slider)
<div class="carousel-item {{ $loop->first ? 'active' : '' }}">
<img src="{{ asset('global/slider/image/' . $slider->image) }}" class="d-block w-100" alt="{{ $slider->image_alt_text }}">
<a href="{{ $slider->button_link_1 }}">
<img src="{{ asset('global/slider/image/' . $slider->image) }}" class="d-block w-100" alt="{{ $slider->image_alt_text }}">
</a>
<div class="carousel-caption d-none d-md-block">
<h5>{{ $slider->heading }}</h5>
<p>{{ $slider->subheading }}</p>
Expand Down

0 comments on commit c3c15ee

Please sign in to comment.