diff --git a/src/App.jsx b/src/App.jsx index 26c5c85..87f4a58 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,15 +1,17 @@ import { useState, useEffect } from 'react' import { generateToken, loadState, saveState } from './api.js' import { createState } from './gameState.js' -import Game from './Game.jsx' +import Ledger from './screens/Ledger.jsx' import './App.css' const TOKEN_KEY = 'otivm_token' +const SCREENS = ['ledger', 'map'] export default function App() { const [state, setState] = useState(null) const [token, setToken] = useState(null) const [loading, setLoading] = useState(true) + const [screen, setScreen] = useState('ledger') useEffect(() => { async function bootstrap() { @@ -45,5 +47,35 @@ export default function App() { ) } - return + return ( +
+ +
+
+ +
+
+
+

Map — coming in OTIVM-II

+
+
+
+
+ ) } diff --git a/src/Game.jsx b/src/screens/Ledger.jsx similarity index 100% rename from src/Game.jsx rename to src/screens/Ledger.jsx