diff options
author | Loek Le Blansch <32883851+lonkaars@users.noreply.github.com> | 2021-01-31 14:33:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 14:33:50 +0100 |
commit | 75255cd0085e4d7457a7af45e6192c6cfaf5e6e5 (patch) | |
tree | f3dd2503199729941355b662f3799b67e06f2485 /src/routes.tsx | |
parent | cd876e0e3000855cf407eee86b9a4d46e8875d91 (diff) | |
parent | 8de79c8869b254992e5c6df391c5ebd1e1da2f1a (diff) |
Merge pull request #2 from lonkaars/nextjs
move from react routing thingy to next.js
Diffstat (limited to 'src/routes.tsx')
-rw-r--r-- | src/routes.tsx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/routes.tsx b/src/routes.tsx deleted file mode 100644 index baff382..0000000 --- a/src/routes.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import { Switch, Route } from 'react-router-dom'; - -import './global.css'; - -import HomePage from './pages/home'; -import SettingsPage from './pages/settings'; -import GamePage from './pages/game'; -import LoginPage from './pages/login'; -import RegisterPage from './pages/register'; - -export default function Router() { - return <Switch> - <Route exact path='/' component={HomePage}/> - <Route exact path='/settings' component={SettingsPage}/> - <Route exact path='/game' component={GamePage}/> - <Route exact path='/login' component={LoginPage}/> - <Route exact path='/register' component={RegisterPage}/> - </Switch>; -} - |