-
1. Install GPUStack
+
+ 1. {intl.formatMessage({ id: 'resources.register.install.title' })}
+
- Download Package and install it on
- your macOS machine.
+
2.
-
- Click Copy the token
-
+
+
+
+
+
+
3. {labels.step2}{' '}
@@ -53,13 +74,21 @@ const AddWorkerMacOS: React.FC = () => {
>
-
- {registerWorkerSteps.map((step, index) => (
-
- {index + 1}. {step}
-
- ))}
-
+
+
+ {registerWorkerSteps.map((step, index) => (
+
+ {index + 1}.{' '}
+
+
+ ))}
+
+
+
4. {labels.step3}
diff --git a/src/pages/resources/components/add-worker.tsx b/src/pages/resources/components/add-worker.tsx
index e7047cee..7b16725b 100644
--- a/src/pages/resources/components/add-worker.tsx
+++ b/src/pages/resources/components/add-worker.tsx
@@ -1,8 +1,14 @@
+import {
+ AppleOutlined,
+ LinuxOutlined,
+ WindowsOutlined
+} from '@ant-design/icons';
import { useIntl } from '@umijs/max';
import { Modal, Tabs, TabsProps } from 'antd';
import React from 'react';
+import MacOS from './add-worker-macos';
+import Windows from './add-worker-windows';
import ContainerInstall from './container-install';
-import ScriptInstall from './script-install';
type ViewModalProps = {
open: boolean;
@@ -13,32 +19,27 @@ const AddWorker: React.FC