FIX styleon player

This commit is contained in:
valere
2024-10-24 15:17:16 +02:00
parent 721f200d72
commit 5f747e57b4
4 changed files with 15 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
<template>
<NuxtLink :to="'/compilations/' + props.data.id" class="compilation mx-auto p-4 inline-flex">
<atropos-component ref="atropos" class="my-atropos" active-offset="80" shadow-scale="1.05">
<atropos-component class="my-atropos" active-offset="80" shadow-scale="1.05">
<img :src="props.data.id + '/bkg.jpg'" data-atropos-offset="-8" />
<img :src="props.data.id + '/object.png'" data-atropos-offset="-3" class="absolute inset-0 object-cover" />
<img :src="props.data.id + '/name.png'" data-atropos-offset="0" class="absolute inset-0 object-cover" />
@@ -11,7 +11,6 @@
<script setup>
const props = defineProps(['data', 'template'])
const atropos = ref(null)
</script>
<style scoped>