提交 187aab76 authored 作者: Will Chen's avatar Will Chen

Add node.js help callout

上级 531cf236
......@@ -203,6 +203,7 @@ export function SetupBanner() {
)}
</div>
)}
<NodeJsHelpCallout />
</AccordionContent>
</AccordionItem>
......@@ -287,3 +288,28 @@ export function SetupBanner() {
</>
);
}
function NodeJsHelpCallout() {
return (
<div className="mt-3 p-3 bg-(--background-lighter) border rounded-lg text-sm">
<p>
If you run into issues, read our{" "}
<a
onClick={() => {
IpcClient.getInstance().openExternalUrl(
"https://www.dyad.sh/docs/help/nodejs"
);
}}
className="text-blue-600 dark:text-blue-400 hover:underline font-medium"
>
Node.js troubleshooting guide
</a>
.{" "}
</p>
<p className="mt-2">
Still stuck? Click the <b>Help</b> button in the bottom-left corner and
then <b>Report a Bug</b>.
</p>
</div>
);
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论