update cover card url & artist/title fonts
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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}`),
|
||||
|
||||
Reference in New Issue
Block a user