diff --git a/resources/img/svg/filter.svg b/resources/img/svg/filter.svg new file mode 100755 index 00000000..eeca4580 --- /dev/null +++ b/resources/img/svg/filter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/js/components/page/Filter.vue b/resources/js/components/page/Filter.vue new file mode 100644 index 00000000..94d07477 --- /dev/null +++ b/resources/js/components/page/Filter.vue @@ -0,0 +1,29 @@ + + + diff --git a/resources/js/composables/useBreakpoints.js b/resources/js/composables/useBreakpoints.js new file mode 100644 index 00000000..c54bd5fa --- /dev/null +++ b/resources/js/composables/useBreakpoints.js @@ -0,0 +1,26 @@ +import {computed} from 'vue'; + +export default function (props) { + const visibleMobile = computed(() => { + return { + sm: 'flex sm:hidden', + md: 'flex md:hidden', + lg: 'flex lg:hidden', + xl: 'flex xl:hidden', + }[props.breakpoint]; + }); + + const visibleDesktop = computed(() => { + return { + sm: 'hidden sm:flex', + md: 'hidden md:flex', + lg: 'hidden lg:flex', + xl: 'hidden xl:flex', + }[props.breakpoint]; + }); + + return { + visibleMobile, + visibleDesktop, + }; +} diff --git a/resources/js/views/member/VIndex.vue b/resources/js/views/member/VIndex.vue index 6a4c8db1..2cd4c5d4 100644 --- a/resources/js/views/member/VIndex.vue +++ b/resources/js/views/member/VIndex.vue @@ -19,7 +19,7 @@ -
+ -
+ - + - - + + @@ -82,12 +82,12 @@ - + - - +