From 1d7e55bf98b4c666f6418f8906c049bb445178d4 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Thu, 18 Dec 2025 18:16:22 -0500 Subject: [PATCH] add gradient to saas --- src/components/DashboardLoginForm.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/DashboardLoginForm.tsx b/src/components/DashboardLoginForm.tsx index ccb5c497..e64a4c70 100644 --- a/src/components/DashboardLoginForm.tsx +++ b/src/components/DashboardLoginForm.tsx @@ -17,6 +17,7 @@ import { cleanRedirect } from "@app/lib/cleanRedirect"; import BrandingLogo from "@app/components/BrandingLogo"; import { useTranslations } from "next-intl"; import { useLicenseStatusContext } from "@app/hooks/useLicenseStatusContext"; +import { build } from "@server/build"; type DashboardLoginFormProps = { redirect?: string; @@ -48,9 +49,14 @@ export default function DashboardLoginForm({ ? env.branding.logo?.authPage?.height || 58 : 58; + const gradientClasses = + build === "saas" + ? "border-b border-primary/30 bg-gradient-to-br dark:from-primary/20 from-primary/20 via-background to-background overflow-hidden rounded-t-lg" + : "border-b"; + return ( - +