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: basic content for home page (#109)
Brad Barbind34823024826
diff --git a/apps/carbon/app/routes/x+/_index.tsx b/apps/carbon/app/routes/x+/_index.tsxindex 6862f18103..6eea64a562 100644--- a/apps/carbon/app/routes/x+/_index.tsx+++ b/apps/carbon/app/routes/x+/_index.tsx@@ -1,3 +1,38 @@+import { Heading } from "@carbon/react";+import { formatDate } from "@carbon/utils";+import { getLocalTimeZone, today } from "@internationalized/date";+import { Link } from "@remix-run/react";+import { useModules } from "~/components/Layout/Navigation/useModules";+import { useUser } from "~/hooks";+export default function AppIndexRoute() {- return null;+ const user = useUser();+ const modules = useModules();+ return (+ <div className="p-8 w-full">+ <Heading size="h3">Hello, {user.firstName}</Heading>+ <p className="text-muted-foreground text-base font-light">+ {formatDate(today(getLocalTimeZone()).toString(), {+ dateStyle: "full",+ })}+ </p>+ <hr className="h-px my-8 bg-black/10 border-0 dark:bg-white/10" />+ <p className="text-muted-foreground text-base font-light mb-8">Modules</p>+ <div className="grid grid-cols-1 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-6">+ {modules.map((module) => (+ <Link+ key={module.name}+ to={module.to}+ prefetch="intent"+ className="flex flex-col gap-6 items-center justify-center py-8 bg-gradient-to-bl from-card to-background rounded-lg shadow text-center group ring-2 ring-transparent hover:ring-white/10 cursor-pointer"+ >+ <module.icon className="text-3xl" />+ <span className="text-sm py-1 px-4 border border-border rounded-full group-hover:bg-accent">+ {module.name}+ </span>+ </Link>+ ))}+ </div>+ </div>+ );}