@php
    $hide_back_to_top = get_field('hide_back_to_top');
@endphp
<div class="pre-footer">
    @if(!$hide_back_to_top)
        <button 
            class="button soft light"
            data-back-to-top>
            {!! __('Back to top', 'thor') !!}
        </button>
    @else
        <div class="inline-block pt-8 lg:pt-15"></div>
    @endif
</div>
@php dynamic_sidebar('prefooter') @endphp