@extends('front.layout.master') @section('main_content')
@if($welcome_item->status == 'Show')

{{ $welcome_item->heading }}

{!! $welcome_item->description !!} @if($welcome_item->button_text != '') @endif
@endif @if($home_item->destination_status == 'Show')

{{ $home_item->destination_heading }}

{{ $home_item->destination_subheading }}

@foreach($destinations as $destination) @endforeach
@endif @if($home_item->feature_status == 'Show')
@foreach($features as $feature)

{{ $feature->heading }}

{!! $feature->description !!}

@endforeach
@endif @if($home_item->package_status == 'Show')

{{ $home_item->package_heading }}

{{ $home_item->package_subheading }}

@foreach($packages as $item)
${{ $item->price }} @if($item->old_price != '')${{ $item->old_price }}@endif

{{ $item->name }}

@if($item->total_score || $item->total_rating)
@php $rating = $item->total_score/$item->total_rating; @endphp @for($i=1; $i<=5; $i++) @if($i <= $rating) @elseif($i-0.5 <= $rating) @else @endif @endfor ({{ $item->reviews->count() }} Reviews)
@else
@for($i=1; $i<=5; $i++) @endfor ({{ $item->reviews->count() }} Reviews)
@endif
{{ $item->destination->name }}
{{ $item->package_amenities->count() }} Amenities
{{ $item->tours->count() }} Tours
{{ $item->package_itineraries->count() }} Days
@endforeach
@endif @if($home_item->testimonial_status == 'Show')

{{ $home_item->testimonial_heading }}

{{ $home_item->testimonial_subheading }}

@endif @if($home_item->blog_status == 'Show')

{{ $home_item->blog_heading }}

{{ $home_item->blog_subheading }}

@foreach($posts as $post)

{{ $post->title }}

{!! $post->short_description !!}

@endforeach
@endif @endsection