@extends('merchbay_main')
@section('main-content')

<div class="wrapper pb-5">
	<div class="main__content">
			<div class="container">

				{{-- breadcrumbs --}}
				<div class="row">
						<div class="col-lg-12">
						<div class="py-4">
								<nav aria-label="breadcrumb">
								<ol class="breadcrumb">
										<li class="breadcrumb-item"><a href="{{ url('/') }}">Home</a></li>
										<li class="breadcrumb-item active" aria-current="page">Templates</li>
								</ol>
								</nav>
						</div>
						</div>
				</div>
				<div class="row">
					@if(!empty($row ))
						@foreach ($row as $r)
							<div class="col-margin-bottom col-lg-3 col-md-3 col-sm-4 col-xs-6 pb-3">
								<div class="thumb-border" style="border:1px solid #e2e2e2; padding: 5px;">
									<a href="{{ url('/designer') }}/{{ md5($r->TemplateCode) }}">
										<img src="{{ config('site_config.uploads') . $r->Thumbnail}}" alt="{{ $r->TemplateName }}" class="img-fluid" />
									</a>
									<div class="text-center" style="border-top: 1px solid #e2e2e2; padding: 10px;">
										<h5 class="sports-title">{{ $r->TemplateName }}</h5>
									</div>
								</div>
								
							</div>
						@endforeach
					@else
						<div class="col-md-12 col-sm-12 col-xs-12">
							<h3 class="no-record no-record">No Record Found.</h3>
						</div>
					@endif
			</div>
			</div>
		</div>
</div>


@endsection
