diff --git a/.env b/.env index a3c4967..b3a0707 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -VITE_BACKEND_DOMAIN=https://localhost:6767 +VITE_BACKEND_DOMAIN=https://api.snusxd.site VITE_LASTFM_API=577403120879aadec2e6fd0d6160cca4 LASTFM_SECRET=08baaf3b3050854d019ce5884e0d6d27 \ No newline at end of file diff --git a/src/components/now-playing.vue b/src/components/now-playing.vue index d010170..13d9b86 100644 --- a/src/components/now-playing.vue +++ b/src/components/now-playing.vue @@ -12,7 +12,7 @@ const lastfmusername = 'snsxd' const header = ref('silence...') const artist = ref('today...') const track = ref("we're silnce...") -const labelurl = ref('/public/default-cover.png') +const labelurl = ref('/default-cover.png') // colors const border_color = ref('#656565') @@ -60,7 +60,7 @@ onMounted(() => { } else { if (header.value !== 'silence...') ChangeTitle(header, header.value, 'silence...') primary_color.value = '#656565' - labelurl.value = '/public/default-cover.png' + labelurl.value = '/default-cover.png' if (artist.value != trackData[0].artist['#text']) ChangeTitle(artist, artist.value, trackData[0].artist['#text']) if (track.value != trackData[0].name) ChangeTitle(track, track.value, trackData[0].name) @@ -100,6 +100,7 @@ onUnmounted(() => { flex-direction: column; justify-content: center; gap: 10px; + min-height: 1.4em; } h1 { @@ -116,10 +117,13 @@ h1 { p { color: v-bind(primary_color); margin: 0; + min-height: 1.4em; } -.track { + +.track_name { font-weight: bolder; } + img { width: 75px; height: auto; @@ -156,9 +160,9 @@ img {
{{ track }}
+{{ track }}
{{ artist }}