<div id="carousel" class="carousel slide" data-ride="carousel" data-pause='false'> <!-- Indicators --> <ol class="carousel-indicators hidden-xs"> <li data-target="#carousel" data-slide-to="0" class="active"></li> @for ($i = 1; $i < count($tours); $i++ ) <li data-target="#carousel" data-slide-to="{{$i}}"></li> @endfor </ol> <!-- Wrapper for slides --> <div class="carousel-inner"> @foreach ($tours as $i=>$tour) <div class="item @if ($i==0) active @endif"> <?php $tourId = $tour->id; $bannerPhoto = Helper::bannerPhoto($tour->banner); ?> <a href="{{route('tours.show', $tourId)}}"> <img src='{{$bannerPhoto}}'> <div class="carousel-caption"> <h3 class='alert-banner'> {{$tour->title}} <small class='text-white hidden-xs'> {{$tour->days}} days Starting {{Helper::currency($tour->starting_price)}} </small> </h3> </div> </a> </div> @endforeach </div>
<?php use App\ANWT\Libraries\Helper; $thumbnails = Helper::thumbnailPhotos($tour->photos); $background = $thumbnails[0]; ?> @extends('layouts.fullscreen') @section('content') <h1 class='tour-header'> {{$tour->title}} <small>{{$tour->days}} days</small> </h1> <!-- Photos --> <ul class='list-inline text-center'> @foreach ($thumbnails as $thumbnail) <li> <img src='{{$thumbnail}}' class='img-thumbnail' width='250'> </li> @endforeach </ul> <div class='row'> <div class='col-md-8'> <br> <!-- Description --> {{$tour->description}} <h2>Itinerary</h2>