completed ch7 front-end work

This commit is contained in:
2022-02-09 15:04:11 -06:00
parent 8a3a833cd9
commit d285ac33a0
5 changed files with 73 additions and 4 deletions
+10 -4
View File
@@ -1,13 +1,19 @@
import React from "react"
import { Route } from "react-router-dom"
import { EventList } from "./game/EventList.js"
import { GameList } from "./game/GameList.js"
export const ApplicationViews = () => {
return <>
<main style={{
margin: "5rem 2rem",
backgroundColor: "lightgoldenrodyellow"
lineHeight: "1.75rem"
}}>
Application views
<Route exact path="/">
<GameList />
</Route>
<Route exact path="/">
<EventList />
</Route>
</main>
</>
}
}