flashcards in the frontend!!!

This commit is contained in:
2026-06-26 01:25:25 -07:00
parent f83d4d579c
commit cb60ec8480
14 changed files with 1134 additions and 3 deletions
@@ -0,0 +1,30 @@
<template>
<v-btn
class="ml-3"
color="primary"
prepend-icon="mdi-book-open-blank-variant-outline"
text="Start Review"
@click="startReview"
/>
</template>
<script setup lang="ts">
import { useRouter } from "vue-router"
const props = defineProps<{ flashcardDeckId: number }>()
const router = useRouter()
function startReview() {
goToReviewPage()
}
function goToReviewPage() {
router.push({
name: "FlashcardDeckReviewPage",
params: {
flashcardDeckId: props.flashcardDeckId,
},
})
}
</script>