Preload Slider First Image Added
This commit is contained in:
parent
49b63baeb8
commit
3327c2f0f1
|
|
@ -39,6 +39,12 @@
|
|||
@endsection
|
||||
|
||||
@push('css')
|
||||
@if (! empty($sliderData))
|
||||
<link rel="preload" as="image" href="{{ asset('/storage/' . $sliderData[0]['path']) }}">
|
||||
@else
|
||||
<link rel="preload" as="image" href="{{ asset('/themes/velocity/assets/images/banner.webp') }}">
|
||||
@endif
|
||||
|
||||
<style type="text/css">
|
||||
.product-price span:first-child, .product-price span:last-child {
|
||||
font-size: 18px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue