diff --git a/src/routes/Join.js b/src/routes/Join.js index 343cc38..7fc3d89 100644 --- a/src/routes/Join.js +++ b/src/routes/Join.js @@ -1,11 +1,27 @@ -import React from "react"; -import { A } from "hookrouter"; +import React, { useState } from "react"; +import { navigate } from "hookrouter"; +import { Container, Box, Label, Input, Button } from "theme-ui"; function Join() { + const [id, setId] = useState(""); + + function handleChange(event) { + setId(event.target.value); + } + + function handleSubmit(event) { + event.preventDefault(); + navigate("/game"); + } + return ( -
- GO TO GAMEJOIN! -
+ + + + + + + ); }