Mostly improvements from Linda
This commit is contained in:
1 parent
714d3464bd
commit
e36bec6b36
17 files changed
+197
-73
No files matched your search
@@ -9,6 +9,7 @@ import { useState } from "react";
|
||||
import VoiceOver from "../VoiceOver";
|
||||
import { addPoints, takePoints } from "@/utils/points";
|
||||
import RiddleHintPage from "../RiddleHintPage";
|
||||
import ChargedButton from "../ChargedButton";
|
||||
|
||||
export default function Riddle_9({
|
||||
page,
|
||||
@@ -38,7 +39,10 @@ export default function Riddle_9({
|
||||
<p>Entschlüsselt es und gebt der neuen Tafelrunde damit, was der alten am Ende fehlte.</p>
|
||||
</div>
|
||||
<div className={styles["buttons"]}>
|
||||
<OldButton red={false} onAction={() => setPage(1)}>WEITER</OldButton>
|
||||
<OldButton red={false} onAction={() => {
|
||||
showBanner(false);
|
||||
setPage(1);
|
||||
}}>WEITER</OldButton>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
@@ -52,16 +56,15 @@ export default function Riddle_9({
|
||||
]}/>
|
||||
<div className={styles["content"]}>
|
||||
<p>Auf Tisch, Stuhl, Bechern und Gedecken findet ihr verschiedene <b>Symbole</b>.</p>
|
||||
<p style={{fontWeight: "bold"}}>[SYMBOL 1] – [SYMBOL 2] – [SYMBOL 3] – [SYMBOL 4] – [SYMBOL 5] – [SYMBOL 6] – [SYMBOL 7] – [SYMBOL 8] – [SYMBOL 9] – [SYMBOL 10] – [SYMBOL 11] – [SYMBOL 12]</p>
|
||||
<p>Die Buchstaben ergeben das Wort, das Artus für die neue Tafelrunde hinterlassen hat.</p>
|
||||
<p style={{fontWeight: "bold", textAlign: "center"}}>Unter welchem Motto steht die erneuerte Tafelrunde?</p>
|
||||
<div className="center-flex">
|
||||
<OldTextInput
|
||||
value={answer}
|
||||
onChange={(e) => setAnswer(e.target.value)}
|
||||
style={{textAlign: "center"}}
|
||||
style={{textAlign: "center", marginBottom: "2rem"}}
|
||||
/>
|
||||
<OldButton red={false} onAction={() => {
|
||||
<ChargedButton red={false} onAction={() => {
|
||||
const v = answer.toLowerCase().trim();
|
||||
if (v.length < 12) return;
|
||||
if (v === "bruderschaft" || v === "bruder schaft") {
|
||||
@@ -71,11 +74,14 @@ export default function Riddle_9({
|
||||
takePoints(riddle.failPenaltyPoints);
|
||||
setPage(3);
|
||||
}
|
||||
}} disabled={answer.toLowerCase().trim().length < 12}>WEITER</OldButton>
|
||||
}} disabled={answer.toLowerCase().trim().length < 12}>EINREICHEN!</ChargedButton>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles["buttons"]}>
|
||||
<OldButton red={true} onAction={() => setPage(0)}>ZURÜCK</OldButton>
|
||||
<OldButton red={true} onAction={() => {
|
||||
showBanner(true);
|
||||
setPage(0);
|
||||
}} className={styles["backButton"]}>ZURÜCK</OldButton>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
@@ -95,7 +101,7 @@ export default function Riddle_9({
|
||||
<p>Ein weiterer Schritt zur Krone ist getan.</p>
|
||||
</div>
|
||||
<div className={styles["buttons"]}>
|
||||
<OldButton red={false} disabled={false} onAction={() => exitFunction()}>ZURÜCK ZUR KARTE</OldButton>
|
||||
<ChargedButton red={false} disabled={false} onAction={() => exitFunction()}>ERGEBNIS ANZEIGEN</ChargedButton>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
@@ -114,7 +120,7 @@ export default function Riddle_9({
|
||||
<p>Euer Fehler kostet euch Ansehen, doch die Bedeutung des Vermächtnisses ist nun klar.</p>
|
||||
</div>
|
||||
<div className={styles["buttons"]}>
|
||||
<OldButton red={false} disabled={false} onAction={() => exitFunction()}>ZURÜCK ZUR KARTE</OldButton>
|
||||
<ChargedButton red={false} disabled={false} onAction={() => exitFunction()}>ERGEBNIS ANZEIGEN</ChargedButton>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user