HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/fire-tech/fire-tech.nl/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.largeImageHeaderRow', [
        'pageFolder' => 'home',
        'targetId' => 'reasons',
        'caption' => '"Bewust veilig werken"',
        'slider' => true,
        'sliderAmount' => 3
    ])

    @include('site.partials.blocks.ctaContentRow',[
        'preTitle' => \Config::get('site.company.name'),
        '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' => 'thumbs',
        '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', 'courses', 'projects' , 'maintenance']
    ])

    @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' => 'Thijs Neeskens',
            'text' => trans('site/global.ctaRow.phoneTitle'),
            'button' => (object)[
              'link' => 'tel:' . \Config::get('site.company.phone.call'),
              'text' => \Config::get('site.company.phone.display')
            ]
        ],

        'ctaTrigger2' => (object)[
            'title' => 'Meer informatie?',
            'subTitle' => 'Neem contact met ons op!',
            'button' => (object)[
                'link' => "/".$links->contact->route,
                'text' => trans('site/home.contactUs'),
            ],
        ],
    ])

@endsection