Path: blob/master/src/packages/frontend/compute/compute-servers-alert.tsx
1503 views
/*1An alert that points users at the existence of compute servers.2*/34import { computeServersEnabled } from "@cocalc/frontend/compute";5import { Alert, Button } from "antd";6import { Icon } from "@cocalc/frontend/components";7import { redux } from "@cocalc/frontend/app-framework";89export default function ComputeServersAlert({ project_id }) {10if (!computeServersEnabled()) {11return null;12}13return (14<Alert15style={{ margin: "15px 0" }}16type="success"17showIcon18icon={<Icon name="servers" />}19message={<>Compute Servers</>}20description={21<>22You can also easily use a dedicated server where you have full admin23root permissions and nearly unlimited resources. These are charged by24the second and have up to{" "}25<strong>26416 vCPUs, 65TB of disk space, 11TB of RAM and high end GPUs27including 8x NVIDIA H100s.{" "}28</strong>29<br />30Click the{" "}31<Button32onClick={() => {33redux.getProjectActions(project_id).set_active_tab("servers", {34change_history: true,35});36}}37>38<Icon name="server" /> Servers39</Button>{" "}40button to get started.41</>42}43/>44);45}464748