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.

style: center logo on homepage

Brad Barbin8722d0bf9c9d
diff --git a/apps/erp/app/routes/x+/_index.tsx b/apps/erp/app/routes/x+/_index.tsx
index 0cabf2c765..3f6cb91b97 100644
--- a/apps/erp/app/routes/x+/_index.tsx
+++ b/apps/erp/app/routes/x+/_index.tsx
@@ -38,17 +38,15 @@ export default function AppIndexRoute() {
<div className="p-8 w-full flex flex-col h-[calc(100dvh-var(--header-height)*2)] bg-muted">
<Heading size="h3">Hello, {user.firstName}</Heading>
<Subheading>{formatter.format(date)}</Subheading>
- <div className="flex flex-col flex-grow items-center justify-center gap-3 p-8">
- <img
- src={logo}
- alt="Carbon"
- className="max-w-lg -mt-[var(--header-height)]"
- />
- {!hasCustomLogo && permissions.can("update", "settings") && (
- <Button asChild size="sm" variant="secondary">
- <Link to={path.to.logos}>Update Logo</Link>
- </Button>
- )}
+ <div className="flex flex-col flex-grow items-center justify-center p-8">
+ <div className="flex flex-col items-center justify-center gap-3 -mt-[var(--header-height)] ml-0 md:-ml-[30px]">
+ <img src={logo} alt="Carbon" className="max-w-full lg:max-w-lg" />
+ {!hasCustomLogo && permissions.can("update", "settings") && (
+ <Button asChild size="sm" variant="secondary">
+ <Link to={path.to.logos}>Update Logo</Link>
+ </Button>
+ )}
+ </div>
</div>
</div>
);