R7, R2, Heartbeat, Sessions, Code, cleanup, Outro

This commit is contained in:
LionTion committed 2026-10-16 04:31:51 +02:00
1 parent b5e5cc502d
commit 5b9fe3ea21
25 files changed
+346 -116

No files matched your search

+3 -2
View File
@@ -12,6 +12,7 @@ import VoiceOver from "../VoiceOver";
import { addPoints, takePoints } from "@/utils/points";
import RiddleHintPage from "../RiddleHintPage";
import { addCompletedRiddle } from "@/utils/completedRiddles";
import ChargedButton from "../ChargedButton";
const Riddle_7_AR_View = dynamic(
() => import('../Riddle_7_AR_View'),
@@ -104,7 +105,7 @@ export default function Riddle_7({
<SelectionButton selected={selection === 2} onSelect={() => setSelection(2)} klein={true}>Sir Garrick, die Torwache</SelectionButton>
<SelectionButton selected={selection === 3} onSelect={() => setSelection(3)} klein={true}>Edmund, der Schreiber</SelectionButton>
</div>
<OldButton red={false} disabled={selection === -1} onAction={() => {
<ChargedButton red={false} disabled={selection === -1} onAction={() => {
if (selection === 3) {
addPoints(riddle.points);
setPage(4);
@@ -113,7 +114,7 @@ export default function Riddle_7({
setPage(5);
}
addCompletedRiddle(riddle.step);
}}>ÜBERPRÜFEN!</OldButton>
}}>ÜBERPRÜFEN!</ChargedButton>
</div>
</div>
<div className={styles["buttons"]}>