(spotify) add spotify player

This commit is contained in:
2020-07-22 22:19:05 +02:00
parent 589fe8ee5f
commit 149d6eb2ad
13 changed files with 829 additions and 41 deletions

View File

@@ -1,7 +1,12 @@
<template>
<div class="chilled-music">
<transition name="fade">
<img v-show="!ready" src="@/assets/loader.svg" :alt="$t('loading')" />
<img
v-show="!ready"
class="loader"
src="@/assets/loader.svg"
:alt="$t('music.loading')"
/>
</transition>
<section v-show="false">
<div
@@ -99,29 +104,3 @@ export default defineComponent({
}
})
</script>
<style lang="scss" scoped>
@keyframes rotating {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
img {
animation: rotating 4s linear infinite;
}
</style>
<i18n>
{
"en": {
"loading": "loading..."
},
"fr": {
"loading": "chargement..."
}
}
</i18n>