progress
This commit is contained in:
1 parent
11d575e8cb
commit
b5a088cf9c
16 files changed
+99
-5
No files matched your search
+12
-3
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user