diff --git a/src/components/App/App.jsx b/src/components/App/App.jsx index 46c5601..b86c168 100644 --- a/src/components/App/App.jsx +++ b/src/components/App/App.jsx @@ -2,7 +2,6 @@ import React, { Component } from 'react'; import './App.scss'; import Navbar from '../Navbar/Navbar'; import GameContainer from '../GameContainer/GameContainer'; -import Footer from '../Footer/Footer'; import { removeHash } from '../../data/helperFuncs'; const options = {}; @@ -25,6 +24,16 @@ class App extends Component { this.setState({gameState: 'chooseCharacters'}); } + componentWillUpdate(nextProps, nextState) { + // This is primarily for demo site purposes. Hides footer when game is on. + if(document.getElementById('footer')) { + if(nextState.gameState=='chooseCharacters') + document.getElementById('footer').style.visibility = "visible"; + else + document.getElementById('footer').style.visibility = "hidden"; + } + } + render() { return (
Kana refers to the two syllabic writing systems used in Japanese: Hiragana and Katakana.
-There is no "the right way" to use Kana Quiz. - If you are a beginner, you might want to start by choosing the first two groups (a -> ko) of hiragana. Once you manage to pass the last stage, add in one or two more groups. Aim for the perfection - you want to be answering quickly.
-Have fun!
- -
- 27 March 2017 · Bufix: Allow mobile browsers to change a locked stage number.
- 24 March 2017 · Enhancement: Improved mobile browser usability with reduced margins.
- 18 March 2017 · Bugfix: Fixed unintended behavior when same group was selected from both hiragana & katakana. Thanks for the bug report!
-
Coders needed! This app is open source, but I'm currently the only one working on it. If you'd like to practice your React.js skills, - feel free to check the issues and fork it on GitHub!
-- 14 Aug 2016 · Launch: Here we are finally with a new version of Kana Quiz. - This app doesn't require flash anymore, and should work great with mobile phones and tablets. - Note that this is still a beta version, so there may be a few quirks. I would love to hear - your thoughts, so if you'd like, be sure to shoot me some feedback! {' '} - If you for some reason want to use the old version, it's still available here. -
-