Small changes 1
This commit is contained in:
1 parent
7ad7c4bd57
commit
381313f91f
13 files changed
+22
-15
No files matched your search
@@ -105,7 +105,7 @@ export default function ChargedButton({
|
||||
<span
|
||||
className={styles["charged-button-frame"]}
|
||||
aria-hidden="true"
|
||||
style={{ backgroundImage: red ? "url(/buttons/Button_rot_lang.webp)" : "url(/buttons/Button_blau_lang.webp)" }}
|
||||
style={{ backgroundImage: "url(/buttons/Button_leer.webp)" }}
|
||||
/>
|
||||
|
||||
<span
|
||||
|
||||
@@ -6,9 +6,9 @@ import 'maplibre-gl/dist/maplibre-gl.css';
|
||||
import styles from '@/css/MapView.module.css';
|
||||
|
||||
export interface PlaceMarker {
|
||||
id: number;
|
||||
lat: number;
|
||||
lng: number;
|
||||
id: number | undefined;
|
||||
lat: number | undefined;
|
||||
lng: number | undefined;
|
||||
title?: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,11 @@ export default function Riddle_4({
|
||||
<div className={styles["content"]}>
|
||||
<p>Hört euch die Unterhaltung der beiden Bauern aufmerksam an.</p>
|
||||
<p>Irgendetwas daran stimmt nicht.</p>
|
||||
<div className="center-flex" style={{marginBottom: "2rem"}}>
|
||||
<audio controls controlsList="nodownload nofullscreen" preload="auto" style={{width: "100%"}} playsInline={true}>
|
||||
<source src="/res/tour/riddle_4/audio.mp3" type="audio/mpeg" />
|
||||
</audio>
|
||||
</div>
|
||||
<p>Wenn ihr glaubt, die Unterhaltung verstanden zu haben, beantwortet folgende Frage:</p>
|
||||
<p style={{fontWeight: "bold", textAlign: "center"}}>Was ist nach Ansicht der Bauern die einzige Chance des Auserwählten, sich als würdiger König zu erweisen?</p>
|
||||
<div className={extraStyles["selections"]}>
|
||||
@@ -65,10 +70,7 @@ export default function Riddle_4({
|
||||
<SelectionButton selected={selection === 2} onSelect={() => setSelection(2)} klein={false}>Merlins Unterstützung gewinnen und damit seinen Anspruch bestätigen</SelectionButton>
|
||||
<SelectionButton selected={selection === 3} onSelect={() => setSelection(3)} klein={false}>Den Bund der Tafelrunde neu schmieden</SelectionButton>
|
||||
</div>
|
||||
<div style={{display: "flex", justifyContent: "center", flexDirection: "column", rowGap: "2rem", alignItems: "center"}}>
|
||||
<audio controls controlsList="nodownload nofullscreen" preload="auto" style={{width: "100%"}} playsInline={true}>
|
||||
<source src="/res/tour/riddle_4/audio.mp3" type="audio/mpeg" />
|
||||
</audio>
|
||||
<div className="center-flex">
|
||||
<ChargedButton red={false} onAction={() => {
|
||||
if (selection === 3) {
|
||||
addPoints(riddle.points)
|
||||
|
||||
@@ -68,7 +68,7 @@ export default function Riddle_5({
|
||||
if (s.length < 2) {
|
||||
return;
|
||||
}
|
||||
const correct = s.startsWith("tiefschlund") || s.startsWith("tief schlund");
|
||||
const correct = s.startsWith("tiefhain") || s.startsWith("tief hain");
|
||||
if (correct) {
|
||||
addPoints(riddle.points);
|
||||
setPage(3);
|
||||
|
||||
@@ -109,7 +109,7 @@ export default function Intro() {
|
||||
setPlayerCount(playerCountStr);
|
||||
setRewatchScreen(true);
|
||||
}} holdDuration={500} disabled={!isPlayerCountValid}>
|
||||
Halten, um das Video anzusehen!
|
||||
ABENTEUER BEGINNEN!
|
||||
</ChargedButton>
|
||||
</div>
|
||||
:
|
||||
|
||||
Reference in new issue
Block a user