@extends('admin.layout')

@section('content')
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="carousel slide" id="carousel1">
                    <div class="carousel-inner">
                        @foreach($img as $key => $item)
                            <div class="item @if($key == 0)active @endif">
                                <img alt="image" class="img-responsive" src="{{ $item }}">
                            </div>
                        @endforeach
                    </div>
                    <a data-slide="prev" href="#carousel1" class="left carousel-control">
                        <span class="icon-prev"></span>
                    </a>
                    <a data-slide="next" href="#carousel1" class="right carousel-control">
                        <span class="icon-next"></span>
                    </a>
                </div>
            </div>
        </div>
    </div>
@endsection
