This commit is contained in:
LionTion committed 2026-09-17 01:46:13 +02:00
1 parent 11d575e8cb
commit b5a088cf9c
16 files changed
+99 -5

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@
display: flex;
flex: 1;
width: 100%;
max-width: 800px;
/*max-width: 800px; TODO: rm */
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
+12 -3
View File
@@ -14,6 +14,7 @@ import { formatPlayerData, parsePlayerData } from "@/utils/dataparser";
import { parse } from "path";
import Tour from "@/components/screens/Tour";
import clsx from "clsx";
import StyledContainer from "@/components/StyledContainer";
export default function Main() {
const [ stepStr, setStep ] = useLocalStorage(PREF.step, "0");
@@ -26,16 +27,24 @@ export default function Main() {
console.log("TourCode", tourCode);
const content = [
(<StyledContainer key={-1}><p>Test!</p></StyledContainer>),
(<WelcomeScreen key={0}/>),
(<Intro key={1} />),
(<Tour key={2} />)
];
console.log(styles);
return (
<div className={styles.page + ((step < 2) ? " " + styles["pad"] : "")}>
<div className={clsx(styles.page, (step < 2 && false) && styles["pad"])}>
<main className={styles.main}>
<img src={"/Startseite_Hintergrund.webp"} style={{
position: "absolute",
top: 0,
left: 0,
width: "100%",
height: "100%",
objectFit: "scale-down",
zIndex: 7
}} />
{content[step]}
</main>
</div>