@section('content')
    <article id="contacto">
        @if($section = $page->getSection('cover'))
            @if($options->map)
                <header class="page-cover">
                    {!! $options->map !!}
                </header>
            @endif
            <section class="content page-title">
                <div class="container">
                    <h2>{{ $section->post->excerpt }}</h2>
                </div>
            </section>
        @endif
        <section class="content info">
            <div class="container">
                <div class="row row-grid justify-content-between">
                    <div class="col-md-3 col-12">
                        <h3>Visitá el Showroom</h3>
                        <ul class="list-unstyled">
                            <li>
                                <i class="far fa-home"></i>
                                <span>{!! nl2br($options->address) !!}</span>
                            </li>
                            <li>
                                <i class="far fa-clock"></i>
                                <span>{!! nl2br($options->timetable) !!}</span>
                            </li>
                        </ul>
                    </div>
                    <div class="col-md-3 col-sm-6">
                        <h3>Contáctanos</h3>
                        <ul class="list-unstyled">
                            @if($options->phone)
                                <li>
                                    <i class="far fa-phone"></i>
                                    <span>{!! nl2br($options->phone) !!}</span>
                                </li>
                            @endif
                            @if($options->email)
                                <li>
                                    <i class="far fa-envelope"></i>
                                    <span>{!! nl2br($options->email) !!}</span>
                                </li>
                            @endif
                        </ul>
                    </div>
                    <div class="col-md-3 col-sm-6">
                        <h3>Seguínos en las redes</h3>
                        <ul class="list-unstyled">
                            @if($options->facebook)
                                <li>
                                    <i class="fab fa-facebook"></i>
                                    <a href="{{ $options->facebook }}" target="_blank">Facebook</a>
                                </li>
                            @endif
                            @if($options->twitter)
                                <li>
                                    <i class="fab fa-twitter"></i>
                                    <a href="{{ $options->twitter }}" target="_blank">Twitter</a>
                                </li>
                            @endif
                            @if($options->instagram)
                                <li>
                                    <i class="fab fa-instagram"></i>
                                    <a href="{{ $options->instagram }}" target="_blank">Instagram</a>
                                </li>
                            @endif
                        </ul>
                    </div>
                </div>
            </div>
        </section>
     <!--   @if($options->instagram_feed)
            <section class="instagram">
                <div class="container">
                    {!! $options->instagram_feed !!}
                </div>
            </section>
        @endif-->
        <section class="newsletter">
            <div class="container">
                <h1>Suscribite al newsletter</h1>
                {!! Form::open([
                     'class' => 'ajax-form'
                ]) !!}
                <div class="form-group">
                    {!! Form::email('email', null, ['placeholder' => 'Email', 'required', 'class' => 'form-control']) !!}
                </div>
                <button type="submit" class="btn">
                    <span>Suscribirme</span>
                    <i class="far fa-arrow-right"></i>
                </button>
                {!! Form::close() !!}
            </div>
        </section>
    </article>
@endsection
