Farmbot-Web-App/frontend/404.tsx

21 lines
481 B
TypeScript
Raw Permalink Normal View History

2017-06-29 12:54:02 -06:00
import * as React from "react";
2019-04-02 13:59:37 -06:00
import { t } from "./i18next_wrapper";
2017-06-29 12:54:02 -06:00
// No reusability here. Why not just keep it from taking up sass?
const STYLES: React.CSSProperties = {
2017-06-29 12:54:02 -06:00
"textAlign": "center",
"marginTop": "5rem"
};
export class FourOhFour extends React.Component<{}, {}> {
render() {
2017-08-28 05:44:37 -06:00
return <div className="404">
<div className="all-content-wrapper">
<h1 style={STYLES}>
{t("Page Not Found.")}
</h1>
2017-06-29 12:54:02 -06:00
</div>
2017-08-28 05:44:37 -06:00
</div>;
2017-06-29 12:54:02 -06:00
}
}