init
All checks were successful
Deploy / build (push) Successful in 43s

This commit is contained in:
alsaze
2025-11-19 20:37:10 +03:00
parent 45f01f129c
commit 4c13799f44
8 changed files with 215 additions and 112 deletions

12
composables/useScreen.ts Normal file
View File

@@ -0,0 +1,12 @@
import { useMediaQuery } from '@vueuse/core'
export default function useScreen() {
const isMobile = useMediaQuery('(max-width: 1279px)')
const isDesktop = computed(() => !isMobile.value)
return {
isMobile,
isDesktop,
}
}