{{-- 팝업 --}}
@isset($popups)
<div id="layerPops">
    @foreach($popups as $pop)
        <div id="layerPop_{{ $loop->index }}" class="layer-pops ui-draggable ui-draggable-handle" tabindex="-1" data-key="{{ $loop->iteration }}" data-disable-hours="{{ $pop->disable_hours }}" style=" @if($pop->top) top: {{ $pop->top }}px; @endif @if($pop->left) left: {{ $pop->left }}px; @endif @if($pop->width) width: {{ $pop->width }}px; @endif @if($pop->height) height: {{ $pop->height }}px; @endif">
            <article>
                {{ $pop->content }}
            </article>
            <article>
                <button type="button" class="btn-closed">오늘 하루 안보기</button>
                <button type="button" class="btn-cancel">닫기</button>
            </article>
        </div>
    @endforeach
</div>
@endif
