File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/views/pages/home.blade.php
@extends('layouts.master')
@section('background')
<div class="background-image">
<img src="/images/static/homeBackground.jpg"/>
</div>
@stop
@section('headerWhite')
@include('partials.headerWhite')
@stop
@section('content')
{{-- Rich snippet for search bar --}}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "{{$shop->getShop()->default_domain}}",
"potentialAction": {
"@type": "SearchAction",
"target": "{{$shop->getShop()->default_domain}}/{{$shop->getPageService()->page('search')->route}}?q={search_term}",
"query-input": "required name=search_term"
},"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "{{ round($kiyoh->get()->totalScore) }}",
"bestRating": "10",
"ratingCount": "{{$kiyoh->get()->totalReviews}}"
}
}
</script>
{{-- End of rich snippet --}}
<div class="content-container column full">
{{-- Search block home --}}
<div class="home-start-block content-block center">
<h1>{{ Lang::choice('pages/home.panel.title', Shop::getLanguageService()->dialectCount()) }}</h1>
@include('partials.searchBarHome')
<h2>{{ Lang::get('pages/home.panel.tips.title') }}</h2>
<ul>
<li>{{ Lang::get('pages/home.panel.tips.tip1') }}</li>
<li>{{ Lang::get('pages/home.panel.tips.tip2') }}</li>
<li>{{ Lang::get('pages/home.panel.tips.tip3') }}</li>
</ul>
<div class="btn-holder">
@include('partials.buttons.default',[
'route' => '/' . $shop->getPageService()->page('brands')->route,
'text' => Lang::get('pages/home.panel.button')
])
</div>
<div class="clear"></div>
<p>
<em>{{ Lang::get('pages/home.panel.message',['contactUrl' => '/' . $shop->getPageService()->page('contact')->route ]) }}</em>
</p>
{{-- Sven ? --}}
<img src="/images/static/sven_home_{{ $shop->getShop()->slug }}.png" alt="Sven" class="employee-home"/>
</div>
<div class="clear"></div>
{{-- Brand navigation bar --}}
@include('partials.brandNavigationBar')
{{-- Reviews, selling points, discounts and payment methods --}}
<ul class="home-planes">
<li class="content-block review-block">
<div class="placeholder">
<div class="valign-child review-score">
@include ('partials.reviews')
</div>
<div class="valign-child selling-points">
@include('partials.sellingPoints')
<a href="http://www.keurmerk.info/Leden-en-Partners/Lid-Details/13976" target="_blank">
<img src="/images/static/trustmark/trustmark_home_{{ $shop->getShop()->slug }}.jpg"
alt="http://www.keurmerk.info">
</a>
</div>
<div class="payment-method-bar">
<span style="background-image: url('/images/static/paymentMethods/payment_methods_bar_grey_{{ $shop->getShop()->slug }}.svg');"></span>
</div>
</div>
</li>
@if(\App::getLocale() != 'en')
<li class="content-block youtube last">
<div class="youtube-player-wrapper">
<div class="video-wrapper">
<div class="youtube-player"
data-youtube-link="@lang('pages/home.orderVideoId')"
id="ytplayer-home"></div>
</div>
</div>
</li>
@else
<li class="content-block discount-block last">
<div class="placeholder">
@include('partials.discountInfo')
</div>
</li>
@endif
</ul>
<div class="clear"></div>
<ul class="home-brand-block content-block column fluid-100">
@foreach($categories as $category)
<li class="column fluid-25">
<span class="background"></span>
<a href="/{{ $category->route }}"><img src="{{ $category->medium_image_url }}"
alt="{{ $category->name }}"/> </a>
</li>
@endforeach
</ul>
<article class="text-block content-block column fluid-100">
<h2>{{ Lang::get('pages/home.description.title') }}</h2>
<div class="description column">
{{ $entity->description }}
</div>
<div class="description column last">
{{ $entity->description_two }}
<a data-text="{{ Lang::get('pages/home.description.button') }}" class="btn twist"
href="/{{ $shop->getPageService()->page('brands')->route }}">
{{ Lang::get('pages/home.description.button') }}
</a>
</div>
</article>
</div>
@stop