Small changes 1
No files matched your search
@@ -8,10 +8,16 @@ const nextConfig: NextConfig = {
|
|||||||
experimental: {
|
experimental: {
|
||||||
useOffline: true,
|
useOffline: true,
|
||||||
},
|
},
|
||||||
|
"typescript": {
|
||||||
|
"ignoreBuildErrors": true,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
output: 'export',
|
output: 'export',
|
||||||
|
"typescript": {
|
||||||
|
"ignoreBuildErrors": true,
|
||||||
|
},
|
||||||
allowedDevOrigins: ['192.168.0.110', '10.8.0.23'],
|
allowedDevOrigins: ['192.168.0.110', '10.8.0.23'],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 47 KiB |
@@ -10,7 +10,6 @@ import Intro from "@/components/screens/Intro";
|
|||||||
import { useLocalStorage } from "@/hooks/useLocalStorage";
|
import { useLocalStorage } from "@/hooks/useLocalStorage";
|
||||||
import { PREF } from "@/utils/const";
|
import { PREF } from "@/utils/const";
|
||||||
import { Player } from "@/types/player";
|
import { Player } from "@/types/player";
|
||||||
import { formatPlayerData, parsePlayerData } from "@/utils/dataparser";
|
|
||||||
import { parse } from "path";
|
import { parse } from "path";
|
||||||
import Tour from "@/components/screens/Tour";
|
import Tour from "@/components/screens/Tour";
|
||||||
import clsx from "clsx";
|
import clsx from "clsx";
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ export default function ChargedButton({
|
|||||||
<span
|
<span
|
||||||
className={styles["charged-button-frame"]}
|
className={styles["charged-button-frame"]}
|
||||||
aria-hidden="true"
|
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
|
<span
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ import 'maplibre-gl/dist/maplibre-gl.css';
|
|||||||
import styles from '@/css/MapView.module.css';
|
import styles from '@/css/MapView.module.css';
|
||||||
|
|
||||||
export interface PlaceMarker {
|
export interface PlaceMarker {
|
||||||
id: number;
|
id: number | undefined;
|
||||||
lat: number;
|
lat: number | undefined;
|
||||||
lng: number;
|
lng: number | undefined;
|
||||||
title?: string;
|
title?: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,6 +57,11 @@ export default function Riddle_4({
|
|||||||
<div className={styles["content"]}>
|
<div className={styles["content"]}>
|
||||||
<p>Hört euch die Unterhaltung der beiden Bauern aufmerksam an.</p>
|
<p>Hört euch die Unterhaltung der beiden Bauern aufmerksam an.</p>
|
||||||
<p>Irgendetwas daran stimmt nicht.</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>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>
|
<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"]}>
|
<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 === 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>
|
<SelectionButton selected={selection === 3} onSelect={() => setSelection(3)} klein={false}>Den Bund der Tafelrunde neu schmieden</SelectionButton>
|
||||||
</div>
|
</div>
|
||||||
<div style={{display: "flex", justifyContent: "center", flexDirection: "column", rowGap: "2rem", alignItems: "center"}}>
|
<div className="center-flex">
|
||||||
<audio controls controlsList="nodownload nofullscreen" preload="auto" style={{width: "100%"}} playsInline={true}>
|
|
||||||
<source src="/res/tour/riddle_4/audio.mp3" type="audio/mpeg" />
|
|
||||||
</audio>
|
|
||||||
<ChargedButton red={false} onAction={() => {
|
<ChargedButton red={false} onAction={() => {
|
||||||
if (selection === 3) {
|
if (selection === 3) {
|
||||||
addPoints(riddle.points)
|
addPoints(riddle.points)
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ export default function Riddle_5({
|
|||||||
if (s.length < 2) {
|
if (s.length < 2) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const correct = s.startsWith("tiefschlund") || s.startsWith("tief schlund");
|
const correct = s.startsWith("tiefhain") || s.startsWith("tief hain");
|
||||||
if (correct) {
|
if (correct) {
|
||||||
addPoints(riddle.points);
|
addPoints(riddle.points);
|
||||||
setPage(3);
|
setPage(3);
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ export default function Intro() {
|
|||||||
setPlayerCount(playerCountStr);
|
setPlayerCount(playerCountStr);
|
||||||
setRewatchScreen(true);
|
setRewatchScreen(true);
|
||||||
}} holdDuration={500} disabled={!isPlayerCountValid}>
|
}} holdDuration={500} disabled={!isPlayerCountValid}>
|
||||||
Halten, um das Video anzusehen!
|
ABENTEUER BEGINNEN!
|
||||||
</ChargedButton>
|
</ChargedButton>
|
||||||
</div>
|
</div>
|
||||||
:
|
:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
isolation: isolate;
|
isolation: isolate;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: #FFF;
|
color: white;
|
||||||
transition: box-shadow 120ms ease, transform 120ms ease, 150ms ease-out filter, 150ms ease-out color;
|
transition: box-shadow 120ms ease, transform 120ms ease, 150ms ease-out filter, 150ms ease-out color;
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
@@ -22,9 +22,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.charged-button.button-disabled {
|
.charged-button.button-disabled {
|
||||||
|
opacity: 0.5;
|
||||||
filter: grayscale(0.75) var(--shadow);
|
filter: grayscale(0.75) var(--shadow);
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
color: black;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.charged-button:active:not(.button-disabled) {
|
.charged-button:active:not(.button-disabled) {
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
.charged-button-fill {
|
.charged-button-fill {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
filter: brightness(2);
|
/*filter: brightness(2);*/
|
||||||
will-change: clip-path;
|
will-change: clip-path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ export function setPlayerAnswers(answers: string[]) {
|
|||||||
window.dispatchEvent(new Event('storage'));
|
window.dispatchEvent(new Event('storage'));
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getAnswers(): Player[] {
|
export function getAnswers(): string[] {
|
||||||
const answers = localStorage.getItem(PREF.worthyWords);
|
const answers = localStorage.getItem(PREF.worthyWords);
|
||||||
if (answers === null) {
|
if (answers === null) {
|
||||||
return [];
|
return [];
|
||||||
|
|||||||