Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
573a595
commit 49d5423
Showing
5 changed files
with
47 additions
and
14 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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from "react"; | ||
import {Button, Col, Row} from "react-bootstrap"; | ||
import {useHistory} from "react-router-dom"; | ||
import {GiLongAntennaeBug} from "react-icons/all"; | ||
|
||
export default function GameNotFound(props) { | ||
const history = useHistory(); | ||
|
||
const onCreate = () => { | ||
history.push("/create") | ||
} | ||
|
||
return <Row className="text-center"> | ||
<Col md={{span: 12}}> | ||
<h1><GiLongAntennaeBug/></h1> | ||
<h1>404</h1> | ||
<h4>Sorry, we couldn't find the room...</h4> | ||
<Button onClick={onCreate}>Create New</Button> | ||
</Col> | ||
</Row> | ||
} |
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