Compare commits

..

No commits in common. "4f757ec1e744462abd347245f05eafe06e058979" and "451f121d89cb300bc7ea1c86080b22570dfbd892" have entirely different histories.

6 changed files with 7 additions and 11 deletions

View File

@ -23,8 +23,6 @@ export default function Tutorials() {
document.querySelector("dialog").scrollTo(0, 0);
}
function startGame() {
localStorage.setItem("hasAlreadyCheckedTutorial", true);
setIsTimeRuning(true);
setHasCheckedTutorial(true);
}

View File

@ -5,7 +5,7 @@ export default function AppLogo() {
<div className='application-logo'>
<h1 className='application-logo__title'>stay safe</h1>
<h2 className='application-logo__subtitle'>interactive</h2>
{/* <h3 className='application-logo__draft'>draft</h3> */}
<h3 className='application-logo__draft'>draft</h3>
</div>
);
}

View File

@ -1,6 +1,6 @@
import React from "react";
import appLogo from "../../assets/img/logos/app_logo.svg";
// import appLogo from "../../assets/img/logos/app_logo_beta.svg";
// import appLogo from "../../assets/img/logos/app_logo.svg";
import appLogo from "../../assets/img/logos/app_logo_beta.svg";
import { Link } from "react-router-dom";
export default function Logo() {

View File

@ -1,7 +1,7 @@
import React from "react";
import coverWorker from "../../assets/img/illustrations/cover_worker.svg";
import staySafeLogoHorizontal from "../../assets/img/logos/stay-safe-logo-horizontal.svg";
// import staySafeLogoHorizontal from "../../assets/img/logos/stay-safe-beta-logo-horizontal.svg";
// import staySafeLogoHorizontal from "../../assets/img/logos/stay-safe-logo-horizontal.svg";
import staySafeLogoHorizontal from "../../assets/img/logos/stay-safe-beta-logo-horizontal.svg";
import logoLhoist from "../../assets/img/logos/logo-lhoist.svg";
import { Link } from "react-router-dom";

View File

@ -11,8 +11,6 @@ export const GameContext = createContext();
export function GameContextProvider({ children }) {
const navigate = useNavigate();
const hasAlreadyCheckedTutorial = localStorage.getItem("hasAlreadyCheckedTutorial") || false;
const { language, country } = useUser();
// ##### DATA #####
@ -25,7 +23,7 @@ export function GameContextProvider({ children }) {
const [remainingQuestionsAmount, setRemainingQuestionsAmount] = useState(null);
// ##### INTERFACE #####
const [hasCheckedTutorial, setHasCheckedTutorial] = useState(hasAlreadyCheckedTutorial);
const [hasCheckedTutorial, setHasCheckedTutorial] = useState(false);
const [currentGameModal, setCurrentGameModal] = useState(null);
const [isSoundOn, setIsSoundOn] = useState(true);

View File

@ -30,7 +30,7 @@ export default function Home() {
<div className='screen__content__wrapper'>
<h1 className='application_title'>stay safe</h1>
<h2 className='application_subtitle'>interactive</h2>
{/* <h3 className='application_draft'>draft</h3> */}
<h3 className='application_draft'>draft</h3>
<p className='application_description'>
{currentScreenTranslations.app_description}
</p>