tabs minimized
This commit is contained in:
parent
3c0de1603c
commit
7e21e1ffb7
7 changed files with 128 additions and 49 deletions
|
|
@ -8,7 +8,12 @@ $authorFilter = isset($authorFilter) ? $authorFilter : false;
|
|||
$activeTab = isset($activeTab) ? Str::slug($activeTab) : '';
|
||||
?>
|
||||
|
||||
<nav id="tabs" :class="activeTab.length > 0 ? 'open' : 'close'">
|
||||
<nav id="tabs"
|
||||
x-data="{
|
||||
activeTab: ''
|
||||
}"
|
||||
:class="activeTab.length > 0 ? 'open' : 'close'"
|
||||
>
|
||||
<div class="toggle-btns | flex space-between" style="
|
||||
--content:space-between;
|
||||
">
|
||||
|
|
@ -65,8 +70,8 @@ $activeTab = isset($activeTab) ? Str::slug($activeTab) : '';
|
|||
<?php snippet(
|
||||
'text-item',
|
||||
[
|
||||
'article' => $article
|
||||
]
|
||||
'article' => $article
|
||||
]
|
||||
) ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue