@extends('mobile.layouts.app')

@section('content')
<div id="event" class="container">
    <div class="row">
        <div class="col text-center">
            <h3>이벤트/프로모션</h3>
            <hr/>
        </div>
    </div>

    <div class="row">
        @foreach($event as $number => $link)
            <div class="col-12 col-sm-6 col-md-4">
                <figure class="figure">
                    <a href="{{ $link }}" target="_blank">
                        <img src="/images/{{ $number }}.png" class="figure-img img-fluid rounded" alt="image_{{ $number }}"/>
                    </a>
                </figure>
            </div>
        @endforeach
    </div>
</div>
@endsection
