diff --git a/src/App.css b/src/App.css
index 1264c166..9e1cda4d 100644
--- a/src/App.css
+++ b/src/App.css
@@ -2,4 +2,13 @@ html {
background: #f5f5f5;
font-family: -apple-system, "Helvetica Neue", "Lucida Grande";
padding: 16px;
+}
+
+a {
+ text-decoration: none;
+}
+
+h1 {
+ color: #444;
+ font-weight: 500;
}
\ No newline at end of file
diff --git a/src/App.tsx b/src/App.tsx
index 88f46ffe..64991b34 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -2,6 +2,7 @@ import React, {useState, useEffect} from 'react'
import './App.css'
import Header from './Header/Header'
+import Main from './Main/Main'
function App() {
const [parties, setParties] = useState(false)
@@ -11,7 +12,7 @@ function App() {
}, [])
function getParty() {
- fetch('http://localhost:3001')
+ fetch('http://localhost:3001/parties')
.then(response => {
return response.text()
})
@@ -54,12 +55,7 @@ function App() {
return (
-
- {parties ? parties : 'There are no parties available'}
-
-
-
-
+
)
}
diff --git a/src/Main/Main.tsx b/src/Main/Main.tsx
index e69de29b..668edee6 100644
--- a/src/Main/Main.tsx
+++ b/src/Main/Main.tsx
@@ -0,0 +1,23 @@
+import React from 'react'
+import { Switch, Route } from 'react-router-dom'
+
+import New from '../routes/New/New'
+import Party from '../routes/Party/Party'
+import Parties from '../routes/Parties/Parties'
+
+// The Main component renders one of the three provided
+// Routes (provided that one matches). Both the /roster
+// and /schedule routes will match any pathname that starts
+// with /roster or /schedule. The / route will only match
+// when the pathname is exactly the string "/"
+const Main = () => (
+
+
+
+
+
+
+
+)
+
+export default Main
diff --git a/src/routes/New/New.tsx b/src/routes/New/New.tsx
new file mode 100644
index 00000000..bc644659
--- /dev/null
+++ b/src/routes/New/New.tsx
@@ -0,0 +1,10 @@
+import React from 'react'
+import WeaponGrid from '../../WeaponGrid/WeaponGrid'
+
+const New = () => (
+