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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
feat: move Google/Outlook sign-in buttons before email/turnstile on login pages
Claude8860aa5feff7
diff --git a/apps/academy/app/routes/_auth+/login.tsx b/apps/academy/app/routes/_auth+/login.tsxindex 2e1128461e..e4003825ba 100644--- a/apps/academy/app/routes/_auth+/login.tsx+++ b/apps/academy/app/routes/_auth+/login.tsx@@ -174,18 +174,6 @@ export default function LoginRoute() {</Alert>)}- <Input name="email" label="" placeholder="Email Address" />-- <Submit- isDisabled={fetcher.state !== "idle"}- isLoading={fetcher.state === "submitting"}- size="lg"- className="w-full"- withBlocker={false}- >- Sign in with Email- </Submit>-{hasGoogleAuth && (<Buttontype="button"@@ -212,6 +200,18 @@ export default function LoginRoute() {Sign in with Outlook</Button>)}++ <Input name="email" label="" placeholder="Email Address" />++ <Submit+ isDisabled={fetcher.state !== "idle"}+ isLoading={fetcher.state === "submitting"}+ size="lg"+ className="w-full"+ withBlocker={false}+ >+ Sign in with Email+ </Submit></VStack></ValidatedForm>)}diff --git a/apps/erp/app/routes/_public+/login.tsx b/apps/erp/app/routes/_public+/login.tsxindex 92e0570a75..5ced6b0705 100644--- a/apps/erp/app/routes/_public+/login.tsx+++ b/apps/erp/app/routes/_public+/login.tsx@@ -305,33 +305,6 @@ export default function LoginRoute() {/></div>)}-- {hasGoogleAuth && (- <Button- type="button"- size="lg"- className="w-full"- onClick={onSignInWithGoogle}- isDisabled={fetcher.state !== "idle"}- variant="secondary"- leftIcon={<GoogleIcon />}- >- Sign in with Google- </Button>- )}- {hasOutlookAuth && (- <Button- type="button"- size="lg"- className="w-full"- onClick={onSignInWithAzure}- isDisabled={fetcher.state !== "idle"}- variant="secondary"- leftIcon={<OutlookIcon className="size-6" />}- >- Sign in with Outlook- </Button>- )}</VStack></ValidatedForm>)}diff --git a/apps/mes/app/routes/_public+/login.tsx b/apps/mes/app/routes/_public+/login.tsxindex 4d32404d8c..b24e9b2e8c 100644--- a/apps/mes/app/routes/_public+/login.tsx+++ b/apps/mes/app/routes/_public+/login.tsx@@ -185,18 +185,6 @@ export default function LoginRoute() {</Alert>)}- <Input name="email" label="" placeholder="Email Address" />-- <Submit- isDisabled={fetcher.state !== "idle"}- isLoading={fetcher.state === "submitting"}- size="lg"- className="w-full"- withBlocker={false}- >- Sign in with Email- </Submit>-{hasGoogleAuth && (<Buttontype="button"@@ -223,6 +211,18 @@ export default function LoginRoute() {Sign in with Outlook</Button>)}++ <Input name="email" label="" placeholder="Email Address" />++ <Submit+ isDisabled={fetcher.state !== "idle"}+ isLoading={fetcher.state === "submitting"}+ size="lg"+ className="w-full"+ withBlocker={false}+ >+ Sign in with Email+ </Submit></VStack></ValidatedForm>)}diff --git a/apps/starter/app/routes/_public+/login.tsx b/apps/starter/app/routes/_public+/login.tsxindex 38c146a91b..ae5b69e3d1 100644--- a/apps/starter/app/routes/_public+/login.tsx+++ b/apps/starter/app/routes/_public+/login.tsx@@ -174,18 +174,6 @@ export default function LoginRoute() {</Alert>)}- <Input name="email" label="" placeholder="Email Address" />-- <Submit- isDisabled={fetcher.state !== "idle"}- isLoading={fetcher.state === "submitting"}- size="lg"- className="w-full"- withBlocker={false}- >- Sign in with Email- </Submit>-{hasGoogleAuth && (<Buttontype="button"@@ -212,6 +200,18 @@ export default function LoginRoute() {Sign in with Outlook</Button>)}++ <Input name="email" label="" placeholder="Email Address" />++ <Submit+ isDisabled={fetcher.state !== "idle"}+ isLoading={fetcher.state === "submitting"}+ size="lg"+ className="w-full"+ withBlocker={false}+ >+ Sign in with Email+ </Submit></VStack></ValidatedForm>)}