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/SBogers10/ridderstee.komma.pro/app/views/layouts/partials/mainText.blade.php
@if(isset($page->translation->main))
    <section class="main-text-row">
        <div class="background">
            @if($page->code_name == 'surrounding')
                <span class="background-icon">
                    @include('svg.surrounding')
                </span>
            @endif
        </div>

        <div class="grid-row">
            <div class="placeholder">

                <figure>
                    @if($page->content->images->count() != 0)
                        @foreach(['large', 'medium', 'small'] as $imageSize)
                            <span class="{{$imageSize}}"
                                  style="background-image: url('{{ $page->content->images->first()->{$imageSize.'_image_url'} }}');"></span>
                        @endforeach
                    @endif
                </figure>

                <div class="content grid-col">

                    <h1>{{$page->translation->main->typeName}}</h1>

                    {{$page->translation->main->description}}

                    @if($page->code_name =='houses')
                        <a class="internalLink button brown map-button" href="#house-map">
                            @lang('translations.map')
                        </a>

                    @endif

                    @if(!empty($page->translation->main->link_text))
                        <a class="internalLink button" href="#scrollToBlock">
                            {{$page->translation->main->link_text}}
                        </a>
                    @endif

                </div>

            </div>

            @if($page->code_name == 'invest')
                <div class="uniqueButton animation">
                    <div class="placeholder">
                        <p>@lang('translations.uniqueButton')</p>
                    </div>
                </div>
            @endif

        </div>
    </section>
@else
    <p>Set dynamic page '{{$page->code_name}}' with blockname of code_name 'main'</p>
@endif