diff --git a/src/lib/components/Feedback.svelte b/src/lib/components/Feedback.svelte new file mode 100644 index 0000000..6643361 --- /dev/null +++ b/src/lib/components/Feedback.svelte @@ -0,0 +1,15 @@ + + +
| Book | +Testament | +Section | +
|---|---|---|
| + {guess.book.id === correctBookId ? "✅" : "❌"} + {guess.book.name} + | ++ {guess.testamentMatch ? "✅" : "🟥"} + {guess.book.testament.charAt(0).toUpperCase() + + guess.book.testament.slice(1).toLowerCase()} + | ++ {guess.sectionMatch ? "✅" : "🟥"} + {guess.adjacent ? "‼️ " : ""}{guess.book.section} + | +
No books found
+ {/if} ++ {dailyVerse.verseText} ++ {#if isWon} +
+ {dailyVerse.reference} +
+ {/if} ++ The verse is from {bookName} +
++ Your grade: {grade} +
+ + + + + {#if statsData} ++ You were the {toOrdinal(statsData.solveRank)} person to solve today. +
++ You rank {toOrdinal(statsData.guessRank)} in guesses. +
++ Average: {statsData.averageGuesses.toFixed(1)} guesses +
+- {dailyVerse.verseText} -- {#if isWon} -
- {dailyVerse.reference} -
- {/if} -- No books found -
- {/if} -- The verse is from {getBookById(correctBookId)?.name} -
- -- Your grade: {grade} -
- - - - - {#if statsData} -- You were the {toOrdinal(statsData.solveRank)} person - to solve today. -
-- You rank {toOrdinal(statsData.guessRank)} in guesses. -
- -- Average: {statsData.averageGuesses.toFixed(1)} guesses -
-| Book | -Testament | -Section | -
|---|---|---|
| - {guess.book.id === correctBookId ? "✅" : "❌"} - {guess.book.name} - | -- {guess.testamentMatch ? "✅" : "🟥"} - {guess.book.testament.charAt(0).toUpperCase() + - guess.book.testament.slice(1).toLowerCase()} - | -- {guess.sectionMatch ? "✅" : "🟥"} - {guess.adjacent ? "‼️ " : ""}{guess.book - .section} - | -
+ {localTime} +
++ {utcTime} +
++ {todayDate} +
++ {countdown} +
+Next date: {nextDate}
+