diff --git a/components/IconButton.vue b/components/IconButton.vue index 2cb1fa5..f2085b1 100644 --- a/components/IconButton.vue +++ b/components/IconButton.vue @@ -2,16 +2,29 @@
- - - - + + + + + + + - - - + + + + + + + @@ -58,11 +71,6 @@ const workSlug = computed(() => slugify(props.work?.title)) - const isMobile = computed(() => { - if (typeof window === 'undefined') return false - return window.innerWidth < 768 - }) - const scoreLink = computed(() => { if (!props.work?.score) return null if (props.work.score.startsWith('/scores/')) { diff --git a/pages/works/[slug].vue b/pages/works/[slug].vue index 6c363a9..fab50a3 100644 --- a/pages/works/[slug].vue +++ b/pages/works/[slug].vue @@ -8,7 +8,12 @@
@@ -22,7 +27,7 @@ -
+
@@ -77,11 +82,6 @@ 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)