|
|
|
@ -148,6 +148,7 @@ |
|
|
|
@foreach($domain->user->categories as $category) |
|
|
|
@foreach($domain->user->categories as $category) |
|
|
|
<a href="#cat-{{$category->id}}" |
|
|
|
<a href="#cat-{{$category->id}}" |
|
|
|
class="h-100 py-2 category-slide d-block text-center text-dark text-decoration-none" |
|
|
|
class="h-100 py-2 category-slide d-block text-center text-dark text-decoration-none" |
|
|
|
|
|
|
|
style="min-width: 130px" |
|
|
|
> |
|
|
|
> |
|
|
|
<img |
|
|
|
<img |
|
|
|
src="{{$category->icon != '' ? asset("icons/{$category->icon}") : asset('icons/icon-default.png')}}" |
|
|
|
src="{{$category->icon != '' ? asset("icons/{$category->icon}") : asset('icons/icon-default.png')}}" |
|
|
|
@ -273,10 +274,10 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
$('.owl-carousel').owlCarousel({ |
|
|
|
$('.owl-carousel').owlCarousel({ |
|
|
|
rtl: true, |
|
|
|
rtl: true, |
|
|
|
margin: 10, |
|
|
|
margin: 0, |
|
|
|
nav: false, |
|
|
|
nav: false, |
|
|
|
dots: false, |
|
|
|
dots: false, |
|
|
|
stagePadding: 5, |
|
|
|
stagePadding: 0, |
|
|
|
autoWidth: true, |
|
|
|
autoWidth: true, |
|
|
|
}) |
|
|
|
}) |
|
|
|
let foods = JSON.parse('{!! $domain->user->categories->pluck('foods')->flatten()->toJson() !!}'); |
|
|
|
let foods = JSON.parse('{!! $domain->user->categories->pluck('foods')->flatten()->toJson() !!}'); |
|
|
|
|