diff options
| author | physcik <mynameisgennadiy@vk.com> | 2026-05-05 11:39:54 +0500 |
|---|---|---|
| committer | physcik <mynameisgennadiy@vk.com> | 2026-05-05 11:39:54 +0500 |
| commit | 164b76fad806b078aad8c537ba9bdcfbfc757dca (patch) | |
| tree | 9e3d38765c307a88792c8e98c22a4d4673a03e40 /front/src/Authentication/ForbiddenPage.tsx | |
| parent | b82265994c5f72c40f68c6b3a4960869b6a67951 (diff) | |
css changes + error handling
Diffstat (limited to 'front/src/Authentication/ForbiddenPage.tsx')
| -rw-r--r-- | front/src/Authentication/ForbiddenPage.tsx | 15 |
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; |
