evilSpins v1
All checks were successful
Deploy App / build (push) Successful in 43s
Deploy App / deploy (push) Successful in 41s

This commit is contained in:
valere
2025-11-04 22:41:41 +01:00
parent deb15b3ea1
commit 34d22b3b17
49 changed files with 5791 additions and 2447 deletions

45
app/pages/defaultDev.vue Normal file
View File

@@ -0,0 +1,45 @@
<template>
<div class="deck">
<card
v-for="track in tracks"
:key="track.id"
:track="track"
:is-face-up="track.isFaceUp"
@click="flipCard(track)"
/>
</div>
</template>
<script setup>
import { useDataStore } from '~/store/data'
const tracks = ref([])
definePageMeta({
layout: 'default'
})
onMounted(async () => {
const dataStore = useDataStore()
await dataStore.loadData()
tracks.value = dataStore.getTracksByboxId('ES2025')
})
function flipCard(track) {
track.isFaceUp = !track.isFaceUp
}
</script>
<style lang="scss" scoped>
.logo {
filter: drop-shadow(3px 3px 0 rgb(0 0 0 / 0.7));
}
.deck {
position: relative;
height: 80vh;
.card {
z-index: 10;
position: relative;
}
}
</style>