-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: put disclosure view into blade component
- Loading branch information
1 parent
dd17d17
commit a1970e3
Showing
4 changed files
with
38 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
resources/js/components/catalog-new/DisclosureFilterView.vue
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
resources/views/components/filter/disclosure_view.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<div class="tw-grow tw-bg-white" v-if="{{ $attributes->get('v-if') }}"> | ||
<div class="tw-mx-4 tw-my-6 tw-flex tw-items-end tw-justify-between"> | ||
{{ $header }} | ||
<div class="tw-flex"> | ||
{{ $reset_button }} | ||
<button @click="{{ $attributes->get('@close') }}"> | ||
<svg xmlns="http://www.w3.org/2000/svg" class="tw-h-6 tw-w-6 tw-fill-current" | ||
viewBox="0 0 256 256"> | ||
<path | ||
d="M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"> | ||
</path> | ||
</svg> | ||
</button> | ||
</div> | ||
</div> | ||
<div class="tw-flex tw-h-40 tw-flex-col"> | ||
{{ $body }} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters