FleetCart/Themes/Storefront/views/public/layout/cookie_bar.blade.php

24 lines
1.0 KiB
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
@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.got_it') }}
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</cookie-bar>
@endif