diff --git a/components/IconButton.vue b/components/IconButton.vue index f2085b1..2572744 100644 --- a/components/IconButton.vue +++ b/components/IconButton.vue @@ -3,24 +3,19 @@
- + - - - - - - - -
@@ -27,7 +27,7 @@ - @@ -82,6 +82,11 @@ const itemCount = computed(() => { return count }) +const isMobile = () => { + if (typeof window === 'undefined') return false + return window.innerWidth < 768 +} + onMounted(() => { if (work.value?.soundcloud_trackid) { audioPlayerStore.setSoundCloudTrackID(work.value.soundcloud_trackid)