refactor: restructure playfield button layout and move card data to JSON

- Reorganized PlayFieldButton component with new container structure and moved title outside button
- Extracted card data from gameroom.vue into separate card_data.json file
- Added session validation on index page with PocketBase integration
This commit is contained in:
Esa Kataja
2025-11-16 15:51:39 +02:00
parent c976da9f72
commit 41e2925d62
4 changed files with 91 additions and 293 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
<script setup>
<script setup lang="ts">
const { pb } = usePocketbase()
const movie_data2 = await pb.collection('movies').getFullList()
console.log(movie_data2)
const movie_data = ref({
"Title": "A Maple Valley Christmas",
"Year": "2022",