<?php
	$header_logo = get_field('site_logo','options');
    $header_btn = get_field('header_button','options');
    $header_notice = get_field('header_info_notice','options');
?>

<header class="header">
    <div class="header__wrapper">
        <div class="row">
            <div class="col-xs-12">
                <div class="header__container">
                    <div class="header__logo">
                        <a href="<?php echo e(home_url()); ?>">
                            <?php echo $__env->make('elements.image', ['image_id' => $header_logo], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </a>
                    </div>
                    <div class="header__navigation">
                        <?php echo $__env->make('elements.header.menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                    <div class="header__side">
                        <?php if(class_exists('SWP_Query')): ?>
                            <?php echo $__env->make('elements.header.search', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        <?php endif; ?>
                        <?php if($header_btn): ?>
                            <div class="header__button">
                                <?php echo $__env->make('elements.button', ['data' => $header_btn, 'type' => 'blue'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                            </div>
                        <?php endif; ?>
                        <div class="header__hamburger">
                            <span></span>
                            <span></span>
                            <span></span>
                            <span></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <?php if($header_notice): ?>
        <div class="header__notice">
            <div class='row'>
                <div class='col-xs-12'>
                    <p><?php echo $header_notice; ?></p>
                </div>
            </div>
        </div>
    <?php endif; ?>
    <div class="header__mobile">
        <?php echo $__env->make('elements.header.menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php if($header_btn): ?>
            <div class="header__mobile__button">
                <?php echo $__env->make('elements.button', ['data' => $header_btn, 'type' => 'blue'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
        <?php endif; ?>
    </div>
</header>
<?php /**PATH D:\Projekti\WordPress\aphea\public\app\themes\aphea\resources\views/blocks/header.blade.php ENDPATH**/ ?>