This commit is contained in:
2020-08-22 16:26:09 +02:00
parent 26028445bf
commit 7750829b39
8 changed files with 205 additions and 77 deletions

View File

@@ -5,8 +5,10 @@ import {
Route,
} from 'react-router-dom';
import Intro from './screens/Intro';
import Encrypt from './screens/Encrypt';
import Decrypt from './screens/Decrypt';
import SetupKey from './screens/SetupKey';
import Welcome from './screens/Welcome';
import Debug from './screens/Debug';
@@ -19,12 +21,18 @@ const AppRouter: React.FC = () => (
<Route path="/welcome">
<Welcome />
</Route>
<Route path="/decrypt">
<Route path="/key">
<SetupKey />
</Route>
<Route path="/receive">
<Decrypt />
</Route>
<Route path="/">
<Route path="/send">
<Encrypt />
</Route>
<Route path="/">
<Intro />
</Route>
</Switch>
</Router>
);