WIP for not found error pages BOD-119

This commit is contained in:
Patrick Fic
2020-08-25 11:17:01 -07:00
parent 5e4a825bcf
commit b78b6ef876
11 changed files with 121 additions and 31 deletions

View File

@@ -6,8 +6,6 @@ export default function Test() {
console.log("handleQbSignIn -> result", result.data);
// window.open(result.data, "_blank", "toolbar=0,location=0,menubar=0");
var win;
var checkConnect;
var parameters = "location=1,width=800,height=650";
parameters +=
",left=" +
@@ -16,7 +14,7 @@ export default function Test() {
(window.screen.height - 650) / 2;
// Launch Popup
win = window.open(result.data, "connectPopup", parameters);
window.open(result.data, "connectPopup", parameters);
};
return (

View File

@@ -0,0 +1,16 @@
import React from "react";
import { Result } from "antd";
import { useTranslation } from "react-i18next";
export default function NotFound() {
const { t } = useTranslation();
return (
<div>
<Result
status="404"
title={t("general.messages.notfoundtitle")}
subTitle={t("general.messages.notfoundsub")}
/>
</div>
);
}