diff --git a/public/media/electronic_key.jpg b/public/media/electronic_key.jpg new file mode 100644 index 0000000..1efd891 Binary files /dev/null and b/public/media/electronic_key.jpg differ diff --git a/public/media/straight_key.jpg b/public/media/straight_key.jpg new file mode 100644 index 0000000..5edb5da Binary files /dev/null and b/public/media/straight_key.jpg differ diff --git a/src/App.js b/src/App.js index 161a6c3..4621d03 100644 --- a/src/App.js +++ b/src/App.js @@ -32,9 +32,12 @@ export default React.memo(function App() { const {gameMode} = useContext(GameModeContext) - function handleClick() { + function toggleRight() { document.querySelector('.sidebar#right').classList.toggle('hide') } + function toggleLeft() { + document.querySelector('.sidebar#left').classList.toggle('hide') + } return ( <> @@ -46,7 +49,7 @@ export default React.memo(function App() { -
+
@@ -74,7 +77,8 @@ export default React.memo(function App() {
-