summaryrefslogtreecommitdiff
path: root/front/src/Authentication/ForbiddenPage.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'front/src/Authentication/ForbiddenPage.tsx')
-rw-r--r--front/src/Authentication/ForbiddenPage.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/front/src/Authentication/ForbiddenPage.tsx b/front/src/Authentication/ForbiddenPage.tsx
new file mode 100644
index 0000000..477940d
--- /dev/null
+++ b/front/src/Authentication/ForbiddenPage.tsx
@@ -0,0 +1,15 @@
+import { useContext } from "react";
+import { LanguageContext } from "../Locales/Context";
+import { GetLocalizedString } from "../Locales/Locales";
+
+function ForbidenPage() {
+ const lang = useContext(LanguageContext);
+ return (
+ <div>
+ <h1> { GetLocalizedString("Forbidden", lang) } </h1>
+ <p> { GetLocalizedString("*forbidden*", lang) } </p>
+ </div>
+ );
+}
+
+export default ForbidenPage;