123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- @extends('frontend.layouts.app')
- @section('content')
- <section class="pt-4 mb-4">
- <div class="container">
- <div class="row">
- <div class="col-lg-6 text-center text-lg-left">
- <h1 class="fw-600 h4">{{ translate('All Sellers') }}</h1>
- </div>
- <div class="col-lg-6">
- <ul class="breadcrumb bg-transparent p-0 justify-content-center justify-content-lg-end">
- <li class="breadcrumb-item opacity-50">
- <a class="text-reset" href="{{ route('home') }}">{{ translate('Home')}}</a>
- </li>
- <li class="text-dark fw-600 breadcrumb-item">
- <a class="text-reset" href="{{ route('sellers') }}">"{{ translate('All Sellers') }}"</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </section>
- <section class="mb-2">
- <div class="container">
- <div class="row gutters-10 row-cols-xxl-3 row-cols-xl-3 row-cols-lg-2 row-cols-md-2 row-cols-1">
- @foreach ($shops as $key => $shop)
- @if($shop->user !=null)
- <div class="col">
- <div class="row no-gutters bg-white align-items-center border border-light rounded hov-shadow-md mb-3 has-transition">
- <div class="col-4">
- <a href="{{ route('shop.visit', $shop->slug) }}" class="d-block p-3" tabindex="0">
- <img
- src="{{ static_asset('assets/img/placeholder-rect.jpg') }}"
- data-src="{{ uploaded_asset($shop->logo) }}"
- alt="{{ $shop->name }}"
- class="img-fluid lazyload"
- onerror="this.onerror=null;this.src='{{ static_asset('assets/img/placeholder-rect.jpg') }}';"
- >
- </a>
- </div>
- <div class="col-8 border-left border-light">
- <div class="p-3 text-left">
- <h2 class="h6 fw-600 text-truncate">
- <a href="{{ route('shop.visit', $shop->slug) }}" class="text-reset" tabindex="0">{{ $shop->name }}</a>
- </h2>
- <div class="rating rating-sm mb-2">
- {{ renderStarRating($shop->rating) }}
- </div>
- <a href="{{ route('shop.visit', $shop->slug) }}" class="btn btn-soft-primary btn-sm" tabindex="0">
- {{ translate('Visit Store') }}
- <i class="las la-angle-right"></i>
- </a>
- </div>
- </div>
- </div>
- </div>
- @endif
- @endforeach
- </div>
- <div class="aiz-pagination aiz-pagination-center mt-4">
- {{ $shops->links() }}
- </div>
- </div>
- </section>
- @endsection
|