aboutsummaryrefslogtreecommitdiff
path: root/src/routes.tsx
blob: 0b042d6478cbd3eeef7c7b052b09547189d03941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Switch, Route } from 'react-router-dom';

import './global.css';
import './dark.css';

import HomePage from './pages/home';
import SettingsPage from './pages/settings';
import GamePage from './pages/game';

export default function Router() {
	return <Switch>
		<Route exact path='/' component={HomePage}/>
		<Route exact path='/settings' component={SettingsPage}/>
		<Route exact path='/game' component={GamePage}/>
	</Switch>;
}