Farmbot-Web-App/webpack/404.tsx
2017-08-09 10:55:05 -05:00

23 lines
476 B
TypeScript

import * as React from "react";
import { t } from "i18next";
// No reusability here. Why not just keep it from taking up sass?
const STYLES = {
"textAlign": "center",
"marginTop": "5rem"
};
export class FourOhFour extends React.Component<{}, {}> {
render() {
return (
<div className="404">
<div className="all-content-wrapper">
<h1 style={STYLES}>
{t("Page Not Found.")}
</h1>
</div>
</div>
);
}
}