Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

style(frontend): enhance SignUpPage layout during redirection

Victor Santosca55caa09f3e
diff --git a/frontend/src/pages/admin/SignUpPage/SignUpPage.tsx b/frontend/src/pages/admin/SignUpPage/SignUpPage.tsx
index 81959a647f..52c8526f51 100644
--- a/frontend/src/pages/admin/SignUpPage/SignUpPage.tsx
+++ b/frontend/src/pages/admin/SignUpPage/SignUpPage.tsx
@@ -62,7 +62,13 @@ export const SignUpPage = () => {
navigate({ to: "/admin" });
};
- if (config?.initialized) return <ContentLoader text="Redirecting to admin page..." />;
+ if (config?.initialized) {
+ return (
+ <div className="flex min-h-screen flex-col justify-center bg-linear-to-tr from-mineshaft-600 via-mineshaft-800 to-bunker-700">
+ <ContentLoader text="Redirecting to admin page..." />
+ </div>
+ );
+ }
return (
<div className="flex max-h-screen min-h-screen flex-col justify-center overflow-y-auto bg-linear-to-tr from-mineshaft-600 via-mineshaft-800 to-bunker-700 px-6">