Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat: add Separator between OAuth and email sign-in on login pages

Claude168561aab8f5
diff --git a/apps/academy/app/routes/_auth+/login.tsx b/apps/academy/app/routes/_auth+/login.tsx
index e4003825ba..3c187b8910 100644
--- a/apps/academy/app/routes/_auth+/login.tsx
+++ b/apps/academy/app/routes/_auth+/login.tsx
@@ -18,6 +18,7 @@ import {
AlertTitle,
Button,
Heading,
+ Separator,
toast,
VStack
} from "@carbon/react";
@@ -201,6 +202,8 @@ export default function LoginRoute() {
</Button>
)}
+ {(hasGoogleAuth || hasOutlookAuth) && <Separator />}
+
<Input name="email" label="" placeholder="Email Address" />
<Submit
@@ -209,6 +212,7 @@ export default function LoginRoute() {
size="lg"
className="w-full"
withBlocker={false}
+ variant="secondary"
>
Sign in with Email
</Submit>
diff --git a/apps/erp/app/routes/_public+/login.tsx b/apps/erp/app/routes/_public+/login.tsx
index 5ced6b0705..f3431425c1 100644
--- a/apps/erp/app/routes/_public+/login.tsx
+++ b/apps/erp/app/routes/_public+/login.tsx
@@ -22,6 +22,7 @@ import {
AlertTitle,
Button,
Heading,
+ Separator,
toast,
VStack
} from "@carbon/react";
@@ -289,6 +290,7 @@ export default function LoginRoute() {
size="lg"
className="w-full"
withBlocker={false}
+ variant="secondary"
>
Sign in with Email
</Submit>
diff --git a/apps/mes/app/routes/_public+/login.tsx b/apps/mes/app/routes/_public+/login.tsx
index b24e9b2e8c..b0998ee659 100644
--- a/apps/mes/app/routes/_public+/login.tsx
+++ b/apps/mes/app/routes/_public+/login.tsx
@@ -19,6 +19,7 @@ import {
AlertTitle,
Button,
Heading,
+ Separator,
toast,
VStack
} from "@carbon/react";
@@ -212,6 +213,8 @@ export default function LoginRoute() {
</Button>
)}
+ {(hasGoogleAuth || hasOutlookAuth) && <Separator />}
+
<Input name="email" label="" placeholder="Email Address" />
<Submit
@@ -220,6 +223,7 @@ export default function LoginRoute() {
size="lg"
className="w-full"
withBlocker={false}
+ variant="secondary"
>
Sign in with Email
</Submit>
diff --git a/apps/starter/app/routes/_public+/login.tsx b/apps/starter/app/routes/_public+/login.tsx
index ae5b69e3d1..218065eca1 100644
--- a/apps/starter/app/routes/_public+/login.tsx
+++ b/apps/starter/app/routes/_public+/login.tsx
@@ -18,6 +18,7 @@ import {
AlertTitle,
Button,
Heading,
+ Separator,
toast,
VStack
} from "@carbon/react";
@@ -201,6 +202,8 @@ export default function LoginRoute() {
</Button>
)}
+ {(hasGoogleAuth || hasOutlookAuth) && <Separator />}
+
<Input name="email" label="" placeholder="Email Address" />
<Submit
@@ -209,6 +212,7 @@ export default function LoginRoute() {
size="lg"
className="w-full"
withBlocker={false}
+ variant="secondary"
>
Sign in with Email
</Submit>