@extends('layouts.frontend.master') @section('seo') @include('frontend.global.seo', [ 'name' => $setting['homepage_seo_title'] ?? 'Adventures Planner', 'title' => $setting['homepage_seo_title'] ?? 'Adventures Planner', 'description' => $setting['homepage_seo_description'] ?? '', 'keyword' => $setting['homepage_seo_keywords'] ?? '', 'schema' => $setting['homepage_seo_schema'] ?? '', 'seoimage' => $setting['homepage_image'] ?? '', 'created_at' => '2018-02-26T08:09:15+00:00', 'updated_at' => '2018-02-26T10:54:05+00:00', ]) @endsection @section('content') @if ($sliders->isNotEmpty()) @foreach ($sliders as $key => $slide) {!! get_image($slide->image, '', 'banner-slider') !!} @if ($key == 0) {{ $slide->name ?? '' }} @else {{ $slide->name ?? '' }} @endif {!! $slide->description ?? '' !!} LEARN More @endforeach @endif @if ($setting['activitys']) {{ $setting['activitytitle'] ?? '' }} {{ $setting['activityinfo'] ?? '' }} @foreach ($setting['activitys'] as $at) @php $act = getActivityByID($at); @endphp @if ($act) {!! get_image($act->image, '', 'home-activity') !!} {{ $act->name ?? '' }} {!! stripLetters($act->description, 75, '...') !!} @endif @endforeach View All @endif @if ($setting['nepal']) {{ $setting['nepaltitle'] ?? '' }} {{ $setting['nepalinfo'] ?? '' }} @if ($setting['nepal']) @foreach ($setting['nepal'] as $key => $np) @php $npl = getPackageByID($np); @endphp @if ($npl) @php $isize = $key == 0 ? 'pck-big' : 'pck-small'; @endphp {!! get_image($npl->image, '', $isize) !!} {{ $npl->name ?? '' }} {{ $npl->name ?? '' }} {!! stripLetters($npl->description, 135, '...') !!} READ More @endif @endforeach @endif @endif {{ $setting['homepage_title'] ?? '' }} {!! $setting['homepage_description'] ?? '' !!} @if ($socialdata->isNotEmpty()) @foreach ($socialdata as $data) @endforeach @endif {!! get_image($setting['homepage_image'], '', 'pck-small') !!} @if ($setting['popularpackage']) {{ $setting['popularpackagetitle'] ?? '' }} {{ $setting['popularpackageinfo'] ?? '' }} @if ($setting['popularpackage']) @foreach ($setting['popularpackage'] as $key => $pp) @php $ppacks = getPackageByID($pp); @endphp @if ($ppacks) {!! get_image($ppacks->image, '', 'popular') !!} @if ($ppacks->activity->duration || $ppacks->activity->size || $ppacks->location) @if ($ppacks->activity->duration) {{ $ppacks->activity->duration ?? '' }} @endif @if ($ppacks->activity->size) {{ $ppacks->activity->size ?? '' }} @endif @if ($ppacks->location) {{ $ppacks->location ?? '' }} @endif @endif {{ $ppacks->name }} @endif @endforeach @endif @endif @if ($setting['destinations']) {{ $setting['destinationtitle'] ?? '' }} {{ $setting['destinationinfo'] ?? '' }} VIEW ALL @if ($setting['destinations']) @foreach ($setting['destinations'] as $dt) @php $dest = getDestinationByID($dt); @endphp @if ($dest) {!! get_image($dest->image, '', 'home-dest') !!} {{ $dest->name ?? '' }} @endif @endforeach @endif @endif @if ($setting['toppackage']) {{ $setting['toppackagetitle'] ?? '' }} {{ $setting['toppackageinfo'] ?? '' }} @if ($setting['toppackage']) @foreach ($setting['toppackage'] as $tp) @php $packs = getPackageByID($tp); @endphp @if ($packs) {!! get_image($packs->image, '', 'pck-main') !!} @if ($packs->price) {!! getpackageprice($packs->activity->priceprefix, $packs->price, $packs->activity->priceper) !!} @endif @if ($packs->activity->duration || $packs->activity->size || $packs->location) @if ($packs->activity->duration) {{ $packs->activity->duration ?? '' }} @endif @if ($packs->activity->size) Min Pax: {{ $packs->activity->size ?? '' }} @endif @if ($packs->location) {{ $packs->location ?? '' }} @endif @endif {{ $packs->name ?? '' }} {!! stripLetters($packs->description, 95, '...') !!} Learn More @endif @endforeach View All @endif @endif @if ($setting['faqs']) {{ $setting['faqtitle'] ?? '' }} {{ $setting['faqinfo'] ?? '' }} @if ($setting['faqs']) @foreach ($setting['faqs'] as $key => $fq) @php $faqs = getFaqByID($fq); @endphp @if ($faqs) {{ $faqs->question ?? '' }} {!! $faqs->answer ?? '' !!} @endif @endforeach @endif Get in touch with us @include('admin.includes.message') @csrf Submit @endif @if ($setting['topdeals']) {{ $setting['topdealtitle'] ?? '' }} {{ $setting['topdealinfo'] ?? '' }} @if ($setting['topdeals']) @foreach ($setting['topdeals'] as $tp) @php $packs = getPackageByID($tp); @endphp @if ($packs) {!! get_image($packs->image, '', 'pck-main') !!} @if ($packs->price) {!! getpackageprice($packs->activity->priceprefix, $packs->price, $packs->activity->priceper) !!} @endif @if ($packs->activity->duration || $packs->activity->size || $packs->location) @if ($packs->activity->duration) {{ $packs->activity->duration ?? '' }} @endif @if ($packs->activity->size) Min Pax: {{ $packs->activity->size ?? '' }} @endif @if ($packs->location) {{ $packs->location ?? '' }} @endif @endif {{ $packs->name ?? '' }} {!! stripLetters($packs->description, 95, '...') !!} Learn More @endif @endforeach View All @endif @endif @if ($setting['reviews']) {{ $setting['reviewtitle'] ?? '' }} {{ $setting['reviewinfo'] ?? '' }} @if ($setting['reviews']) @foreach ($setting['reviews'] as $rv) @php $rev = getReviewByID($rv); @endphp @if ($rev) {!! get_image($rev->image, '', 'home-review') !!} {!! $rev->description ?? '' !!} {{ $rev->name ?? '' }} {{ $rev->position ?? '' }} @endif @endforeach @endif @endif @if ($blogs->isNotEmpty()) {{ $setting['blog_title'] ?? '' }} {{ $setting['blog_description'] ?? '' }} @if (!$blogs->isEmpty()) @foreach ($blogs as $key => $blog) @if ($key == 0) {!! get_image($blog->image, '', 'home-blog-big') !!} {{ $blog->name ?? '' }} {{ stripLetters($blog->description, 175, '...') }} Learn More @endif @endforeach @foreach ($blogs as $key => $blog) @if ($key != 0) {!! get_image($blog->image, '', 'home-blog-small') !!} {{ $blog->name ?? '' }} {{ stripLetters($blog->description, 175, '...') }} Learn More @endif @endforeach View All @endif @endif @if ($partners->isNotEmpty()) @foreach ($partners as $parts) {!! get_image($parts->image) !!} @endforeach @endif @endsection
{!! stripLetters($act->description, 75, '...') !!}
{!! stripLetters($npl->description, 135, '...') !!}
{{ $ppacks->activity->duration ?? '' }}
{{ $ppacks->activity->size ?? '' }}
{{ $ppacks->location ?? '' }}
{{ $setting['destinationinfo'] ?? '' }}
{!! stripLetters($packs->description, 95, '...') !!}
{{ stripLetters($blog->description, 175, '...') }}