diff --git a/components/IconButton.vue b/components/IconButton.vue
index 45de733..2cb1fa5 100644
--- a/components/IconButton.vue
+++ b/components/IconButton.vue
@@ -2,7 +2,10 @@
-
@@ -22,7 +22,7 @@
-
@@ -77,6 +77,11 @@ const itemCount = computed(() => {
return count
})
+const isMobile = computed(() => {
+ if (typeof window === 'undefined') return false
+ return window.innerWidth < 768
+})
+
onMounted(() => {
if (work.value?.soundcloud_trackid) {
audioPlayerStore.setSoundCloudTrackID(work.value.soundcloud_trackid)