-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into jbranch3
- Loading branch information
Showing
5 changed files
with
100 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,4 @@ openai-env | |
*.sln | ||
*.sw? | ||
.env | ||
__pycache__ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,78 @@ | ||
import React from "react"; | ||
import { Button, Container, Row, Col} from 'react-bootstrap'; | ||
import '../App.css'; | ||
import { FaRegFolderOpen } from "react-icons/fa"; | ||
|
||
function Home() { | ||
return ( | ||
<div id="test"> | ||
<h2 class="mt-5 mb-3">Customize Your Game!</h2> | ||
<div class="container"> | ||
<div class="justify-content-center d-flex text-start"> | ||
<form class="border rounded-4 p-5 col-5" id="customForm"> | ||
<label class="form-label">Game Name</label> | ||
<input type="text" class="form-control" required></input> | ||
<label class="form-label mt-3">Catgeories</label> | ||
<div class="form-check"> | ||
<input type="checkbox" class="form-check-input" name="category"></input> | ||
<label class="form-check-label" for="category">History</label> | ||
</div> | ||
<div class="form-check"> | ||
<input type="checkbox" class="form-check-input" name="category"></input> | ||
<label class="form-check-label" for="category">Science</label> | ||
</div> | ||
<div class="form-check"> | ||
<input type="checkbox" class="form-check-input" name="category"></input> | ||
<label class="form-check-label" for="category">Geography</label> | ||
</div> | ||
<div class="form-check"> | ||
<input type="checkbox" class="form-check-input" name="category"></input> | ||
<label class="form-check-label" for="category">Sports</label> | ||
</div> | ||
<div class="form-check"> | ||
<input type="checkbox" class="form-check-input" name="category"></input> | ||
<label class="form-check-label" for="category">Art and Literature</label> | ||
</div> | ||
<label class="form-label mt-3">Number of Questions</label> | ||
<input type="number" class="form-control" min="1"></input> | ||
<label class="form-label mt-3">Difficulty</label> | ||
<div class="form-check"> | ||
<input type="radio" class="form-check-input" name="category"></input> | ||
<label class="form-check-label" for="category">Easy</label> | ||
</div> | ||
<div class="form-check"> | ||
<input type="radio" class="form-check-input" name="category"></input> | ||
<label class="form-check-label" for="category">Medium</label> | ||
</div> | ||
<div class="form-check mb-3"> | ||
<input type="radio" class="form-check-input" name="category"></input> | ||
<label class="form-check-label" for="category">Hard</label> | ||
</div> | ||
<div class="text-center"> | ||
<button type="submit" class="btn btn-warning">Submit</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
<Container className="homepage-container"> | ||
<Row> | ||
<Col> | ||
<h1>Trivia Forge</h1> | ||
</Col> | ||
</Row> | ||
<Row > | ||
<Col> | ||
<Button variant="primary"> <FaRegFolderOpen /> My Trivia Games </Button> | ||
</Col> | ||
</Row> | ||
<Row> | ||
<Col> | ||
<Button variant="primary">Create New Game </Button> | ||
</Col> | ||
</Row> | ||
</Container> | ||
); | ||
}; | ||
export default Home; | ||
|
||
} | ||
export default Home; | ||
{/* // <div id="test"> | ||
// <h2 class="mt-5 mb-3">Customize Your Game!</h2> | ||
// <div class="container"> | ||
// <div class="justify-content-center d-flex text-start"> | ||
// <form class="border rounded-4 p-5 col-5" id="customForm"> | ||
// <label class="form-label">Game Name</label> | ||
// <input type="text" class="form-control" required></input> | ||
// <label class="form-label mt-3">Catgeories</label> | ||
// <div class="form-check"> | ||
// <input type="checkbox" class="form-check-input" name="category"></input> | ||
// <label class="form-check-label" for="category">History</label> | ||
// </div> | ||
// <div class="form-check"> | ||
// <input type="checkbox" class="form-check-input" name="category"></input> | ||
// <label class="form-check-label" for="category">Science</label> | ||
// </div> | ||
// <div class="form-check"> | ||
// <input type="checkbox" class="form-check-input" name="category"></input> | ||
// <label class="form-check-label" for="category">Geography</label> | ||
// </div> | ||
// <div class="form-check"> | ||
// <input type="checkbox" class="form-check-input" name="category"></input> | ||
// <label class="form-check-label" for="category">Sports</label> | ||
// </div> | ||
// <div class="form-check"> | ||
// <input type="checkbox" class="form-check-input" name="category"></input> | ||
// <label class="form-check-label" for="category">Art and Literature</label> | ||
// </div> | ||
// <label class="form-label mt-3">Number of Questions</label> | ||
// <input type="number" class="form-control" min="1"></input> | ||
// <label class="form-label mt-3">Difficulty</label> | ||
// <div class="form-check"> | ||
// <input type="radio" class="form-check-input" name="category"></input> | ||
// <label class="form-check-label" for="category">Easy</label> | ||
// </div> | ||
// <div class="form-check"> | ||
// <input type="radio" class="form-check-input" name="category"></input> | ||
// <label class="form-check-label" for="category">Medium</label> | ||
// </div> | ||
// <div class="form-check mb-3"> | ||
// <input type="radio" class="form-check-input" name="category"></input> | ||
// <label class="form-check-label" for="category">Hard</label> | ||
// </div> | ||
// <div class="text-center"> | ||
// <button type="submit" class="btn btn-warning">Submit</button> | ||
// </div> | ||
// </form> | ||
// </div> | ||
// </div> | ||
// </div> */} |