summaryrefslogtreecommitdiff
path: root/src/components/Trials.vue
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-02-03 12:41:04 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-02-03 12:41:15 +0100
commit6041694cd7265cfd3f31b873c340cc6d24fd459e (patch)
tree4d3e5b7640e892799b313bba0edac38e9d8de6d2 /src/components/Trials.vue
parent801547bfa8bc1ae3949027e46045e4693454f65f (diff)
downloadwordle-frontend-6041694cd7265cfd3f31b873c340cc6d24fd459e.tar.xz
move app, add some trials, change keyboard capabilities
Diffstat (limited to 'src/components/Trials.vue')
-rw-r--r--src/components/Trials.vue22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/Trials.vue b/src/components/Trials.vue
new file mode 100644
index 0000000..5b9c6fa
--- /dev/null
+++ b/src/components/Trials.vue
@@ -0,0 +1,22 @@
+<template>
+ <table>
+ <tr v-for="trial in trials" :key="trial">
+ <Trial :length="length" :trial="trial" :finished=true />
+ </tr>
+ <tr>
+ <Trial :length="length" :trial="currentTrial" :finished=false />
+ </tr>
+ </table>
+</template>
+
+<script setup lang="ts">
+import Trial from "@/components/Trial.vue";
+
+defineProps<{
+ length: number;
+ currentTrial: string;
+}>();
+let trials = [];
+</script>
+
+<style scoped></style>