@if(isset($banner))
    <a class="banner-inner" href="{{$banner->slider_path}}">
        <picture>
            <source media="(max-width:1080px)" srcset="{{ url()->to('/') . '/storage/' .$banner->mobile_path }}">
            <img src="{{ url()->to('/') . '/storage/' .$banner->path }}" alt="{{$banner->title}}">
        </picture>
    </a>
@endif