it mostly works and and it will generate a json (you can see the json in the console) and that json can be pussed to the supabase table with some extra code witch i will now write!

This commit is contained in:
RezHackXYZ 2025-06-02 12:04:34 +05:30
parent 52aab530e3
commit b3ee5ebc78
6 changed files with 243 additions and 179 deletions

View file

@ -1,5 +1,10 @@
<script>
import { DefaultQuestions } from "$lib/config.js";
import { QuestionsData } from "./create.svelte";
</script>
<div class="flex w-full justify-center gap-2 overflow-y-auto rounded border-2 p-3 pr-5">
<button class="btn flex items-center gap-1">
<button class="btn flex items-center gap-1" onclick={() => (QuestionsData.v = DefaultQuestions)}>
<i class="nf nf-md-flash"></i> Use Demo Questions
</button>
<button class="btn flex items-center gap-1">