Unverified Commit af462bab authored by Zhou (Link)  Fang's avatar Zhou (Link) Fang Committed by GitHub
Browse files

Added a return to home button for 50x page (#295)

parent 4a1c5f17
import { Button } from "@material-ui/core";
export default function InternalError50x() {
return (
<>
<div className="margin-bottom-20">
<h1>An unexpected error occurred</h1>
<p>Sorry, the page you are looking for is currently unavailable.</p>
<p>Please try again later.</p>
</>
<Button variant="contained" color="primary" onClick={() => window.location.assign(window.location.origin)}>
Return to Homepage
</Button>
</div>
);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment