From 164b76fad806b078aad8c537ba9bdcfbfc757dca Mon Sep 17 00:00:00 2001 From: physcik Date: Tue, 5 May 2026 11:39:54 +0500 Subject: css changes + error handling --- front/src/Authentication/ForbiddenPage.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 front/src/Authentication/ForbiddenPage.tsx (limited to 'front/src/Authentication/ForbiddenPage.tsx') 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 ( +
+

{ GetLocalizedString("Forbidden", lang) }

+

{ GetLocalizedString("*forbidden*", lang) }

+
+ ); +} + +export default ForbidenPage; -- cgit v1.3