File: D:/HostingSpaces/SBogers10/lmbm.komma.pro/resources/views/site/pages/home.blade.php
@extends('site.master')
@section('title', $page->translation->meta_title)
@section('meta_description', $page->translation->meta_description)
@section('content')
@include('site.partials.blocks.largeVideoHeaderRow',[
'youtubeVideoCode' => 'twwiZ9rtICQ',
'aspectRatio' => '56.25%'
])
@include('site.partials.blocks.ctaContentRow',[
'title' => $page->translation->ctaContent->typeName,
'button' => (object)[
'link' => $page->translation->ctaContent->link,
'text' => $page->translation->ctaContent->link_text,
],
'content' => $page->translation->ctaContent->description,
])
@include('site.partials.blocks.reasonsRow', [
'title' => trans('site/home.whyUs'),
'listIcons' => 'check',
'reasons' => trans('site/home.reasons'), //Should be an array
'button' => (object)[
'link' => "/".$links->contact->route,
'text' => trans('site/home.contactUs'),
],
'rightSide' => $page->translation->reasonsRow
])
@include('site.partials.blocks.discoverRow', [
'title' => trans('site/home.discoverTitle'),
'pageFolder' => 'home',
'discoverItems' => ['about', 'services', 'projects' , 'contact']
])
@include('site.partials.blocks.ctaRow', [
'ctaTrigger1' => (object)[
//'title' => trans('site/global.ctaRow.title'),
//'subTitle' => trans('site/global.ctaRow.subTitle'),
//'button' => (object)[
// 'link' => "/".$links->contact->route,
// 'text' => trans('site/home.contactUs'),
//],
],
'ctaPerson' => (object)[
// 'image' => '/img/contact-person.jpg',
// 'name' => 'Claire Lardenois',
// 'text' => '__('site/global.someString)',
],
//'ctaTrigger2' => (object)[
// 'title' => 'Meer informatie over <br/>Komma Basic?',
// 'subTitle' => 'Neem contact met ons op!',
// 'button' => (object)[
// 'link' => "/".$links->contact->route,
// 'text' => trans('site/home.contactUs'),
// ],
//],
])
{{-- Or for default short notation --}}
{{-- @include('site.partials.blocks.ctaRow', [ 'ctaTrigger1' => [],'ctaPerson' => []]) --}}
@endsection