sql server + platine v2
All checks were successful
Deploy App / build (push) Successful in 2m15s
Deploy App / deploy (push) Successful in 27s

This commit is contained in:
valere
2026-02-06 22:52:02 +01:00
parent b8cc3d277d
commit 7fa6f6ccc8
14 changed files with 960 additions and 31 deletions

View File

@@ -1,6 +1,6 @@
<template>
<section class="screen-centered">
<Card :card="card" :isFaceUp="isFaceUp" @click="clickOnSlugCard" />
<Card :card="card" :isFaceUp="isFaceUp" showPlayButtonFaceUp @click="clickOnSlugCard" @image-loaded="imageLoaded" />
</section>
</template>
@@ -20,8 +20,10 @@ useHead({
const clickOnSlugCard = () => {
isFaceUp.value = true
const audio = new Audio(card.value?.url_audio)
audio.play()
}
const imageLoaded = () => {
console.log('imageLoaded')
}
onMounted(() => {
@@ -30,14 +32,3 @@ onMounted(() => {
}, 700)
})
</script>
<style>
.screen-centered {
position: fixed;
inset: 0;
height: 100dvh;
width: 100dvw;
display: grid;
place-items: center;
}
</style>