1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-11 21:14:02 +00:00

Update banner.blade.php

This commit is contained in:
Abrar Ahmad 2022-01-03 16:46:03 +05:00
parent 58679c1f99
commit 91928bb35e

View file

@ -1,4 +1,4 @@
<div class="z-50 fixed bottom-0 inset-x-0 pb-2 sm:pb-5" x-data="{ show: true, hide() { window.localStorage.show_banner = 'hide'; this.show = false } }" x-init="
<div x-cloak class="z-50 fixed bottom-0 inset-x-0 pb-2 sm:pb-5" x-data="{ show: true, hide() { window.localStorage.show_banner = 'hide'; this.show = false } }" x-init="
show = window.localStorage.show_banner !== 'hide'
" x-show="show">
<div class="max-w-screen-xl mx-auto px-2 sm:px-6 lg:px-8">