refactor references to use new image server

This commit is contained in:
geoffrey45
2022-05-04 02:34:27 +03:00
parent f1548aee4b
commit 43fc33640d
11 changed files with 66 additions and 34 deletions
+5 -3
View File
@@ -1,11 +1,11 @@
<template>
<div class="main-item border" @click="playNext">
<div class="h">Up Next</div>
<div class="itemx shadow">
<div class="itemx shadow">
<div
class="album-art image"
:style="{
backgroundImage: `url(&quot;${next.image}&quot;)`,
backgroundImage: `url(&quot;${imguri + next.image}&quot;)`,
}"
></div>
<div class="tags">
@@ -24,6 +24,8 @@
<script setup lang="ts">
import { Track } from "../../../interfaces";
import perks from "../../../composables/perks";
import { paths } from "../../../config";
const imguri = paths.images.thumb;
const props = defineProps<{
next: Track;
@@ -38,7 +40,7 @@ const props = defineProps<{
&:hover {
background-color: $accent;
border: 1px solid transparent;
border: 1px solid transparent;
.h {
background-color: $black;