Update banner.blade.php (#148)

This commit is contained in:
Abrar Ahmad 2022-01-03 16:56:48 +05:00 committed by GitHub
parent 0e4cb88bb5
commit 30a9997963
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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">