backup
This commit is contained in:
1 parent
a014775dd9
commit
dfa0206404
10 files changed
+96
-51
No files matched your search
@@ -63,7 +63,7 @@ export default function Intro() {
|
||||
left: 0,
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
objectFit: "cover",
|
||||
objectFit: "fill",
|
||||
zIndex: 1
|
||||
}} alt="Background" loading="eager"/>
|
||||
<StyledContainer innerClassName={styles["permission-container"]}>
|
||||
|
||||
@@ -12,6 +12,7 @@ import PermissionCheck from "../PermissionCheck";
|
||||
import clsx from "clsx";
|
||||
import OldButton from "../OldButton";
|
||||
import RiddleScreen from "../RiddleScreen";
|
||||
import OldPopUp from "../OldPopUp";
|
||||
|
||||
export default function Tour() {
|
||||
const [ stepStr, setStep ] = useLocalStorage(PREF.step, "0");
|
||||
@@ -76,10 +77,26 @@ export default function Tour() {
|
||||
</div>
|
||||
<img src="/icons/krone.svg" className={clsx(styles["crown"])} />
|
||||
<p className="eisenkraft-regular">Rufpunkte</p>
|
||||
<div className={styles["points-outer-box"]}>
|
||||
<span className={styles["points-outer-box"]}>
|
||||
<svg
|
||||
style={{position: "absolute", inset: "0", width: "100%", height: "100%", overflow: "visible"}}
|
||||
viewBox="0 0 100 100"
|
||||
preserveAspectRatio="none"
|
||||
>
|
||||
<rect width="100%" height="100%" fill="none" />
|
||||
<path d="M 10 0 H 90 Q 90 10 100 10 V 90 Q 90 90 90 100 H 10 Q 10 90 0 90 V 10 Q 10 10 10 0 Z"
|
||||
fill="none"
|
||||
stroke="red"
|
||||
strokeWidth="2"
|
||||
vectorEffect="non-scaling-stroke"
|
||||
/>
|
||||
</svg>
|
||||
<div className={styles["points-inner-box"]}>
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
{ false && <div className={styles["points-outer-box"]}>
|
||||
|
||||
</div>}
|
||||
<p className="eisenkraft-regular" style={{marginTop: "4px"}}>6500 / 10.000</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -93,27 +110,21 @@ export default function Tour() {
|
||||
</div>
|
||||
<div className={styles["riddle-overlay"]} style={{display: clickedOnMarker ? "" : "none"}}>
|
||||
{ activeRiddle === null ?
|
||||
<div className={styles["riddle-popup-container"]}>
|
||||
<img src="/bg/Pop-Up.webp" className={styles["riddle-popup-img"]}/>
|
||||
<div className={styles["popup-controls"]}>
|
||||
<div style={{textAlign: "right", width: "100%"}}>
|
||||
<img src="/icons/kreuz.svg" className={styles["riddle-popup-close"]} onClick={dismissFunc}/>
|
||||
</div>
|
||||
<div style={{textAlign: "center", width: "100%"}}>
|
||||
<p className="eisenkraft-regular" style={{fontSize: "1.25rem"}}>Station 1</p>
|
||||
<p className="eisenkraft-regular" style={{fontSize: "1.75rem"}}>Eine merkwürdige Frage</p>
|
||||
<OldButton
|
||||
red={false}
|
||||
long={true}
|
||||
style={{margin: "auto", marginTop: "8px"}}
|
||||
onAction={(e) => {
|
||||
setActiveRiddle("riddle_one");
|
||||
e.stopPropagation();
|
||||
}}
|
||||
>STARTEN</OldButton>
|
||||
</div>
|
||||
<OldPopUp onDismiss={dismissFunc}>
|
||||
<div style={{textAlign: "center", width: "100%"}}>
|
||||
<p className="eisenkraft-regular" style={{fontSize: "1.25rem"}}>Station 1</p>
|
||||
<p className="eisenkraft-regular" style={{fontSize: "1.75rem"}}>Eine merkwürdige Frage</p>
|
||||
<OldButton
|
||||
red={false}
|
||||
long={true}
|
||||
style={{margin: "auto", marginTop: "8px"}}
|
||||
onAction={(e) => {
|
||||
setActiveRiddle("riddle_one");
|
||||
e.stopPropagation();
|
||||
}}
|
||||
>STARTEN</OldButton>
|
||||
</div>
|
||||
</div>
|
||||
</OldPopUp>
|
||||
:
|
||||
<RiddleScreen onDismiss={_dismissFunc} riddle={null}></RiddleScreen>
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ export default function WelcomeScreen() {
|
||||
left: 0,
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
objectFit: "cover",
|
||||
objectFit: "fill",
|
||||
zIndex: 1
|
||||
}} alt="Background"/>
|
||||
<StyledContainer innerClassName={styles["content"]}>
|
||||
|
||||
Reference in new issue
Block a user