diff --git a/app.js b/app.js index 674d438..7a7915c 100644 --- a/app.js +++ b/app.js @@ -466,7 +466,7 @@ function InstallSection({ contentRef }) { const [copied, setCopied] = useState(false); - const cmd = "curl -fsSL https://facere.ai/install.sh | sh"; + const cmd = `curl -fsSL https://raw.githubusercontent.com/ZhaoYiping789/facere-installer/main/bootstrap.sh | FACERE_GH_TOKEN="contact us for demo"`; const copy = async () => { try { await navigator.clipboard.writeText(cmd); @@ -515,7 +515,9 @@ function InstallSection({ className: "cmd-led led-cyan" }), /*#__PURE__*/React.createElement("span", { className: "cmd-title" - }, "~/facere \u2014 bash")), /*#__PURE__*/React.createElement("div", { + }, "~/facere \u2014 bash"), /*#__PURE__*/React.createElement("span", { + className: "cmd-bar-hint" + }, copied ? "✓ COPIED" : "CLICK TO COPY")), /*#__PURE__*/React.createElement("div", { className: "cmd-body" }, /*#__PURE__*/React.createElement("span", { className: "cmd-prompt" @@ -523,9 +525,7 @@ function InstallSection({ className: "cmd-text" }, cmd), /*#__PURE__*/React.createElement("span", { className: "cmd-cursor" - })), /*#__PURE__*/React.createElement("div", { - className: "cmd-hint" - }, copied ? "✓ COPIED" : "CLICK TO COPY")), /*#__PURE__*/React.createElement("a", { + }))), /*#__PURE__*/React.createElement("a", { className: "docs-link", href: "#", onClick: e => e.preventDefault() diff --git a/app.jsx b/app.jsx index c6637ea..0601c5d 100644 --- a/app.jsx +++ b/app.jsx @@ -434,7 +434,7 @@ function ProductSection({ bgRef, contentRef }) { /* ───────────────── InstallSection ───────────────── */ function InstallSection({ bgRef, contentRef }) { const [copied, setCopied] = useState(false); - const cmd = "curl -fsSL https://facere.ai/install.sh | sh"; + const cmd = `curl -fsSL https://raw.githubusercontent.com/ZhaoYiping789/facere-installer/main/bootstrap.sh | FACERE_GH_TOKEN="contact us for demo"`; const copy = async () => { try { @@ -475,15 +475,15 @@ function InstallSection({ bgRef, contentRef }) { ~/facere — bash + + {copied ? "✓ COPIED" : "CLICK TO COPY"} +