@if (setting('cookie_bar_enabled') && json_decode(Cookie::get('show_cookie_bar', true)))
    <cookie-bar inline-template>
        <div class="cookie-bar-wrap" :class="{ show: show }">
            <div class="container d-flex justify-content-center">
                <div class="col-xl-10 col-lg-12">
                    <div class="row justify-content-center">
                        <div class="cookie-bar">
                            <div class="cookie-bar-text">
                                {!! trans('storefront::layout.the_website_uses_cookies') !!}
                            </div>

                            <div class="cookie-bar-action">
                                <button class="btn btn-primary btn-accept" @click="accept">
                                    {{ trans('storefront::layout.accept') }}
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </cookie-bar>
@endif
