Path: blob/master/src/packages/next/components/store/payg-info.tsx
1450 views
import { Alert, Tag } from "antd";1import { Icon } from "@cocalc/frontend/components/icon";2import { COLORS } from "@cocalc/util/theme";3import A from "components/misc/A";45export default function PaygInfo({ what }) {6return (7<Alert8showIcon9icon={<Icon name="servers" />}10type="info"11message={12<div>13<Tag style={{ float: "right" }} color={COLORS.ANTD_GREEN}>14new15</Tag>16Compute Servers and Pay As You Go Upgrades -- alternative to {what}17</div>18}19description={20<div>21<ul>22<li>23If you need a large amount of compute power, disk space, GPUs,24root privileges, or to run commercial software, add a{" "}25<A href="https://doc.cocalc.com/compute_server.html">26pay as you go compute server to your project27</A>28.29</li>30<li>31If you need to upgrade your project for a few minutes or a few32hours, you can use{" "}33<A href="https://doc.cocalc.com/paygo.html" external>34pay as you go project upgrades35</A>36.37</li>38</ul>39</div>40}41/>42);43}444546