update cover card url & artist/title fonts
All checks were successful
Deploy App / build (push) Successful in 2m10s
Deploy App / deploy (push) Successful in 15s

This commit is contained in:
valere
2025-11-26 20:21:00 +01:00
parent ba34ecece0
commit 27697ca797
2 changed files with 3 additions and 3 deletions

View File

@@ -34,10 +34,10 @@
<div class="label" v-if="isOrder">
{{ props.track.order }}
</div>
<h2 class="text-base text-neutral-800 font-bold truncate">
<h2 class="text-sm text-neutral-500 first-letter:uppercase truncate">
{{ props.track.title }}
</h2>
<p class="text-sm text-neutral-500 truncate">
<p class="text-base text-neutral-800 font-bold capitalize truncate">
<template v-if="isPlaylistTrack">
{{ props.track.artist.name }}
</template>

View File

@@ -43,7 +43,7 @@ export default eventHandler(async (event) => {
const date = new Date(year, month - 1, day, hour)
const card = getCardFromDate(date)
const url = `${urlPrefix}/${encodeURIComponent(file)}`
const coverId = `${urlPrefix}/${encodeURIComponent(file).replace(EXT_RE, '.jpg')}`
const coverId = `${urlPrefix}/cover/${encodeURIComponent(file).replace(EXT_RE, '.jpg')}`
return {
id: Number(`${year}${index + 1}`),