feat: add wishlist

This commit is contained in:
2026-09-30 19:15:57 +02:00
parent ab3bbb6338
commit 1f6061b998
57 changed files with 638 additions and 232 deletions
+1 -16
View File
@@ -1,20 +1,5 @@
<script setup lang="ts">
const { data: session, refresh } = await useFetch<{ unlocked: boolean }>('/api/session', { key: 'session' })
const unlocked = computed(() => !!session.value?.unlocked)
</script>
<template>
<UApp>
<template v-if="unlocked">
<UMain>
<UContainer class="py-8">
<NuxtPage />
</UContainer>
</UMain>
<LogModal />
</template>
<PasswordModal v-else @unlocked="refresh()" />
<NuxtPage />
</UApp>
</template>