@extends('web.layouts.layout')

@section('content')

    @if ($errors->any())
        <div class="row">
            <div class="col-sm-12">
                <div class="alert alert-danger">
                    <ul>
                        @foreach ($errors->all() as $error)
                            <li>{{ $error }}</li>
                        @endforeach
                    </ul>
                </div>
            </div>
        </div>
    @endif

    {!! Form::open(['action' => route('web_shop_store', $user_shop->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'shop-form-validations']) !!}

    <div class="layout-content">
        <div class="container px-3">
            <div class="container flex-grow-1 container-p-y pb-0">
                <div class="media align-items-center pt-3 mb-3">
                    @if($user_shop->user->hasProfileImage())
                    <img src="{{ route('response_file', ['user', $user_shop->user->getProfileImage()]) }}?{{ time() }}" alt="" class="d-block ui-w-100 rounded-circle mt-3">
                    @endif                    
                    <div class="media-body ml-4">
                        <h1 class="text-center">Super, geschafft!</h1>
                        <p class="text-center">
                            Ich danke Dir, dass Du unseren Service nutzt, wir werden Dich infomieren wenn der Shop wieder zur Verfügung steht.                           
                        </p>
                        <p class="text-center">Dann freuen wir uns auf ein Feedback von Dir und wünschen Dir bis dahin alles Gute!<br><br>Liebe Grüße<br>{{ $user_shop->user->getFullName() }}<br>Vertriebspartner:in der GRÜNE SEELE Naturkosmetik</p>
                    </div>
                </div>
            </div>
            <div class="col-12 mb-4">
                <hr class="">
            </div>
            @include('web.promotion._show_around')
        </div>
    </div>
    {!! Form::close() !!}

  
    <script>
        $(document).ready(function() {
        });
    </script>

@endsection
