mirror of https://github.com/garritfra/garrit.xyz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
427 B
20 lines
427 B
import React from "react"; |
|
import { BrowserRouter as Router, Switch, Route } from "react-router-dom"; |
|
|
|
import Home from "./home/Home"; |
|
import Throwback from "./Throwback/Throwback"; |
|
|
|
export default function App() { |
|
return ( |
|
<Router> |
|
<Switch> |
|
<Route path="/throwback"> |
|
<Throwback /> |
|
</Route> |
|
<Route path="/"> |
|
<Home /> |
|
</Route> |
|
</Switch> |
|
</Router> |
|
); |
|
}
|
|
|