We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19190ab commit 1cfe7faCopy full SHA for 1cfe7fa
resources/views/easy-footer.blade.php
@@ -3,6 +3,15 @@
3
4
@endphp
5
<footer
6
+ x-data="{ sidebarCollapsed: false }"
7
+ x-init="
8
+ sidebarCollapsed = $store.sidebar?.isOpen === false;
9
+ $watch('$store.sidebar.isOpen', value => {
10
+ sidebarCollapsed = value === false;
11
+ });
12
+ "
13
+ x-show="!(sidebarCollapsed && @js($footerPosition === 'sidebar.footer' || $footerPosition === 'sidebar'))"
14
+ x-transition
15
@class([
16
'fi-footer my-3 flex flex-wrap items-center justify-center text-sm text-gray-500 dark:text-gray-400',
17
'border-t border-gray-200 dark:border-gray-700 text-center p-2' => $footerPosition === 'sidebar' || $footerPosition === 'sidebar.footer' || $borderTopEnabled === true,
0 commit comments