From ae83113081a086aac0992a5dc752623451dcadf4 Mon Sep 17 00:00:00 2001 From: Maximilian Benner Date: Mon, 21 Jun 2021 14:28:06 +0200 Subject: [PATCH] added footer --- public/fotura_logo.jpg | Bin 0 -> 5122 bytes src/components/three/Viewer.js | 14 ++--------- .../canvasBackground/CanvasBackground.js | 8 ------ src/pages/studio/Studio.js | 13 ++++++++-- src/pages/studio/studio.module.css | 23 ++++++++++++++++++ src/states/modelState.js | 3 --- 6 files changed, 36 insertions(+), 25 deletions(-) create mode 100644 public/fotura_logo.jpg diff --git a/public/fotura_logo.jpg b/public/fotura_logo.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e05ae501b55541a4a4e5b0b1feacf038ed787fab GIT binary patch literal 5122 zcmeHKX;f3!7T%d5VgW%^6paBD(2NKRB4HE+Bo-q$fZB%S2BKsj35Gb&I8`kUh*c2* zDMfKig2 z6`Q62vRMzHLQh;!WV65d$>;KU0U=fU843p~dPxO@Q8UP5OyG|ygQC-y~{)PwO* zrn)}CiF&<8z~QKLY>7-AkFlj{B_~y);qcg84*2?~Y9!LRn4S@jB`8!v=CjkkFc}J& zkU7m$#1(0Ru|!4Kd@VL*{-kK>{JBye8Png7;hQQ*Rce%&UcyLKCaH9SR3XzGT!1jH z<}ev%6a8EvbGj&s5v3=d+LnOJ`K+C8;cx&bceXcuXhNDl~e9TE)O4O5)WidLa|dY)(m&sMf1>iE2%E z@V_z8J#6No%L!HWdGjv9J~0%D{@GNi#91)sqSJ@WL#h4KO6a1E8jK^xbm|nX6bqS$ zsr1fFMt7EiV0DsOD^klaA=BeieRyzilvXWQB%uMFctQ{(JS5nQ=i}wY;D5|e=b}!* zk~>k7f?+ONAd%t=BxGu|YFUaDlQBE>I<;JHkZ7^M1XQVz87P-4R0_S3fmT(Kpu)5a z9@~eFD*YJ6kcgoeUrwHbrsd$9;9~}y|4hz2_Q{6nGDo`*huz!RkI^f=4D>S4%Rny! zy$tj+@c+j^&w&_Ip;NE{9d}JnVN6ulX_Dc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+^IBPSis@(3>~_19;ejkrDhVtR3|u4bX}&6cwK)z0G{xwpB@4qg>A zHTLSE{7GfUpS5ykQvL7zF=6rRbL$GG3v;917SY%IXB~KPzlSImY={1 zid%La@y<-29ohC(f8TKoYL^)%G~1IyfC3IE6@b`OEE{QwybaZ?u<3fgI*e1RW$A8tI)Yo8+ROg z-WZcV@pq@_?G+E*+${CZ_2GkRvKz`owCBX7H#o!t2gYaC#ST$KAXAbfl57F)mqf=aLu{1 s7rt8S1Vfh+T7N3Neq&N(OLB6<`bb5ZEZ`7%S { decrementDecalSize, incrementDecalSize, setGl, - setLoadingFinished, set, backgroundImage, } = useStore() const { active, mode } = useRecorderStore() - const progress = useProgress() - - // Set load progress - useEffect(() => { - if (progress.progress === 100) { - setTimeout(() => { - setLoadingFinished(true) - }, 500) - } - }, [progress]) + useEffect(() => console.log(decalPath), [decalPath]) // KEYDOWN useEffect(() => { function handlekeydownEvent(e) { diff --git a/src/components/three/canvasBackground/CanvasBackground.js b/src/components/three/canvasBackground/CanvasBackground.js index 1cbec47..119a086 100644 --- a/src/components/three/canvasBackground/CanvasBackground.js +++ b/src/components/three/canvasBackground/CanvasBackground.js @@ -1,16 +1,8 @@ import styles from "./canvasBackground.module.css" -import useStore from "../../../states/modelState" const CanvasBackground = ({ children }) => { - const { loadingFinished } = useStore() return (
{children}
- {!loadingFinished && ( - - )}
) } diff --git a/src/pages/studio/Studio.js b/src/pages/studio/Studio.js index 07ee887..70ff868 100644 --- a/src/pages/studio/Studio.js +++ b/src/pages/studio/Studio.js @@ -15,11 +15,11 @@ export default function Studio() { return ( <> -