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
docs: add terms and privacy policy to menu
Brad Barbineb74e0849b1b
diff --git a/apps/erp/app/components/AvatarMenu.tsx b/apps/erp/app/components/AvatarMenu.tsxindex f49b24c2bb..fbd164c040 100644--- a/apps/erp/app/components/AvatarMenu.tsx+++ b/apps/erp/app/components/AvatarMenu.tsx@@ -22,6 +22,7 @@ import {LuLogOut,LuMoon,LuPalette,+ LuShieldCheck,LuSun,LuUser,} from "react-icons/lu";@@ -78,10 +79,11 @@ const AvatarMenu = () => {</Link></DropdownMenuItem><DropdownMenuSeparator />+<DropdownMenuItem asChild>- <Link to={path.to.profile}>- <DropdownMenuIcon icon={<LuUser />} />- Account Settings+ <Link to={path.to.apiIntroduction}>+ <DropdownMenuIcon icon={<LuFileText />} />+ API Documentation</Link></DropdownMenuItem><DropdownMenuSeparator />@@ -144,13 +146,36 @@ const AvatarMenu = () => {</DropdownMenuRadioGroup></DropdownMenuSubContent></DropdownMenuSub>+<DropdownMenuSeparator /><DropdownMenuItem asChild>- <Link to={path.to.apiIntroduction}>- <DropdownMenuIcon icon={<LuFileText />} />- API Documentation+ <Link to={path.to.profile}>+ <DropdownMenuIcon icon={<LuUser />} />+ Account Settings</Link></DropdownMenuItem>++ <DropdownMenuSub>+ <DropdownMenuSubTrigger>+ <DropdownMenuIcon icon={<LuFileText />} />+ Terms and Privacy+ </DropdownMenuSubTrigger>+ <DropdownMenuSubContent>+ <DropdownMenuItem asChild>+ <a href={path.to.legal.termsAndConditions}>+ <DropdownMenuIcon icon={<LuFileText />} />+ Terms of Service+ </a>+ </DropdownMenuItem>+ <DropdownMenuItem asChild>+ <a href={path.to.legal.privacyPolicy}>+ <DropdownMenuIcon icon={<LuShieldCheck />} />+ Privacy Policy+ </a>+ </DropdownMenuItem>+ </DropdownMenuSubContent>+ </DropdownMenuSub>+<DropdownMenuSeparator /><DropdownMenuItem asChild><Form method="post" action={path.to.logout}>diff --git a/apps/erp/app/utils/path.ts b/apps/erp/app/utils/path.tsindex 8b358a0b5e..3b63a88970 100644--- a/apps/erp/app/utils/path.ts+++ b/apps/erp/app/utils/path.ts@@ -86,6 +86,10 @@ export const path = {salesOrder: (id: string) => generatePath(`${file}/sales-order/${id}.pdf`),quote: (id: string) => generatePath(`${file}/quote/${id}.pdf`),},+ legal: {+ termsAndConditions: "https://carbonos.dev/terms",+ privacyPolicy: "https://carbonos.dev/privacy",+ },onboarding: {company: `${onboarding}/company`,location: `${onboarding}/location`,