diff --git a/frontend/src/components/domain-warning/domain-warning.tsx b/frontend/src/components/domain-warning/domain-warning.tsx index 2af9229..6af2048 100644 --- a/frontend/src/components/domain-warning/domain-warning.tsx +++ b/frontend/src/components/domain-warning/domain-warning.tsx @@ -24,9 +24,9 @@ export const DomainWarning = (props: Props) => { const redirectUri = searchParams.get("redirect_uri"); return ( - - - {t("domainWarningTitle")} + + + {t("domainWarningTitle")} { /> - + diff --git a/frontend/src/components/layout/layout.tsx b/frontend/src/components/layout/layout.tsx index ac3cf9f..02a01b4 100644 --- a/frontend/src/components/layout/layout.tsx +++ b/frontend/src/components/layout/layout.tsx @@ -25,7 +25,7 @@ const BaseLayout = ({ children }: { children: React.ReactNode }) => { -
{children}
+
{children}
); }; diff --git a/frontend/src/pages/authorize-page.tsx b/frontend/src/pages/authorize-page.tsx index 7b0ce3b..f81fd1b 100644 --- a/frontend/src/pages/authorize-page.tsx +++ b/frontend/src/pages/authorize-page.tsx @@ -154,7 +154,7 @@ export const AuthorizePage = () => { return ( -
+
{getClientInfo.data?.name.slice(0, 1)}
@@ -163,7 +163,7 @@ export const AuthorizePage = () => { app: getClientInfo.data?.name || "Unknown", })} - + {scopes.includes("openid") ? t("authorizeSubtitle") : t("authorizeSubtitleOAuth")} diff --git a/frontend/src/pages/continue-page.tsx b/frontend/src/pages/continue-page.tsx index a64ce67..e2ac4d4 100644 --- a/frontend/src/pages/continue-page.tsx +++ b/frontend/src/pages/continue-page.tsx @@ -94,7 +94,7 @@ export const ContinuePage = () => { if (showUntrustedWarning) { return ( - + {t("continueUntrustedRedirectTitle")} @@ -133,8 +133,8 @@ export const ContinuePage = () => { if (showInsecureWarning) { return ( - - + + {t("continueInsecureRedirectTitle")} @@ -168,7 +168,7 @@ export const ContinuePage = () => { } return ( - + {t("continueRedirectingTitle")} @@ -176,8 +176,8 @@ export const ContinuePage = () => { {t("continueRedirectingSubtitle")} {showRedirectButton && ( - - diff --git a/frontend/src/pages/error-page.tsx b/frontend/src/pages/error-page.tsx index 783c89e..636778d 100644 --- a/frontend/src/pages/error-page.tsx +++ b/frontend/src/pages/error-page.tsx @@ -14,7 +14,7 @@ export const ErrorPage = () => { const error = searchParams.get("error") ?? ""; return ( - + {t("errorTitle")} diff --git a/frontend/src/pages/forgot-password-page.tsx b/frontend/src/pages/forgot-password-page.tsx index 9a1d52e..3b6c3a7 100644 --- a/frontend/src/pages/forgot-password-page.tsx +++ b/frontend/src/pages/forgot-password-page.tsx @@ -2,16 +2,20 @@ import { Card, CardContent, CardDescription, + CardFooter, CardHeader, CardTitle, } from "@/components/ui/card"; +import { Button } from "@/components/ui/button"; import { useAppContext } from "@/context/app-context"; import { useTranslation } from "react-i18next"; import Markdown from "react-markdown"; +import { useNavigate } from "react-router"; export const ForgotPasswordPage = () => { const { forgotPasswordMessage } = useAppContext(); const { t } = useTranslation(); + const navigate = useNavigate(); return ( @@ -27,6 +31,17 @@ export const ForgotPasswordPage = () => { + + + ); }; diff --git a/frontend/src/pages/login-page.tsx b/frontend/src/pages/login-page.tsx index bc61b89..60bb305 100644 --- a/frontend/src/pages/login-page.tsx +++ b/frontend/src/pages/login-page.tsx @@ -220,7 +220,7 @@ export const LoginPage = () => { ); } return ( - + {title} {providers.length > 0 && ( @@ -264,14 +264,16 @@ export const LoginPage = () => { )} - + {userAuthConfigured && ( + + )} ); diff --git a/frontend/src/pages/logout-page.tsx b/frontend/src/pages/logout-page.tsx index af03531..f60bd65 100644 --- a/frontend/src/pages/logout-page.tsx +++ b/frontend/src/pages/logout-page.tsx @@ -52,7 +52,7 @@ export const LogoutPage = () => { } return ( - + {t("logoutTitle")} @@ -84,8 +84,10 @@ export const LogoutPage = () => { )} - + diff --git a/frontend/src/pages/totp-page.tsx b/frontend/src/pages/totp-page.tsx index 1b7e24a..1b723eb 100644 --- a/frontend/src/pages/totp-page.tsx +++ b/frontend/src/pages/totp-page.tsx @@ -83,8 +83,13 @@ export const TotpPage = () => { onSubmit={(values) => totpMutation.mutate(values)} /> - - diff --git a/frontend/src/pages/unauthorized-page.tsx b/frontend/src/pages/unauthorized-page.tsx index 2888cb7..e5bce8b 100644 --- a/frontend/src/pages/unauthorized-page.tsx +++ b/frontend/src/pages/unauthorized-page.tsx @@ -47,7 +47,7 @@ export const UnauthorizedPage = () => { } return ( - + {t("unauthorizedTitle")} @@ -65,8 +65,13 @@ export const UnauthorizedPage = () => { /> - -