aboutsummaryrefslogtreecommitdiff
path: root/src/routes.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes.tsx')
-rw-r--r--src/routes.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/routes.tsx b/src/routes.tsx
new file mode 100644
index 0000000..af129c7
--- /dev/null
+++ b/src/routes.tsx
@@ -0,0 +1,15 @@
+import { Switch, Route } from 'react-router-dom';
+import './css/nomargin.css';
+
+import home from './pages/home';
+
+function Router() {
+ return (
+ <Switch>
+ <Route exact path='/' component={home}/>
+ </Switch>
+ );
+}
+
+export default Router;
+