Path: blob/master/src/packages/next/pages/pricing/index.tsx
1450 views
/*1* This file is part of CoCalc: Copyright © 2022 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45import { Layout } from "antd";67import Footer from "components/landing/footer";8import Head from "components/landing/head";9import Header from "components/landing/header";10import IndexList, { DataSource } from "components/landing/index-list";11import A from "components/misc/A";12import { Customize } from "lib/customize";13import withCustomize from "lib/with-customize";1415const dataSource: DataSource = [16{17link: "/store",18title: "Store",19logo: "shopping-cart",20description: (21<>22Purchase a license for upgrades or dedicated resources at{" "}23<A href="/store">the store</A>.24</>25),26},27{28link: "/pricing/products",29title: "Products",30logo: "credit-card",31description: (32<>33Overview of <A href="/pricing/products">what you can purchase</A> to34enhance your use of CoCalc.35</>36),37},38{39link: "/pricing/subscriptions",40title: "Subscriptions",41logo: "calendar",42description: (43<>44How to keep some of your projects upgraded via{" "}45<A href="/pricing/subscriptions">a periodic subscription.</A>46</>47),48},49{50link: "/pricing/courses",51title: "Courses",52logo: "graduation-cap",53description: (54<>55What to purchase when{" "}56<A href="/pricing/courses">57<b>using CoCalc to teach a course.</b>58</A>59</>60),61},62{63link: "/pricing/institutions",64title: "Institutions",65logo: "home",66description: (67<>68What to purchase when{" "}69<A href="/pricing/institutions">70<b>using CoCalc in an institution.</b>71</A>72</>73),74},75// {76// link: "/pricing/dedicated",77// title: "Dedicated Resources",78// logo: "server",79// description: (80// <>81// How to{" "}82// <A href="/pricing/dedicated">83// rent a dedicated powerful virtual machine84// </A>85// , which can greatly improve collaboration and scalability in your86// research group.87// </>88// ),89// },90{91link: "/pricing/onprem",92title: "On-Premises Installations",93logo: "server",94description: (95<>96You can run CoCalc on{" "}97<A href="/pricing/onprem">your own Kubernetes cluster.</A>98</>99),100},101{102link: "/vouchers",103title: "Vouchers",104logo: "gift",105description: (106<>107Vouchers are a convenient way to{" "}108<A href="/vouchers">share and resell licenses</A>.109</>110),111},112];113114export default function Pricing({ customize }) {115return (116<Customize value={customize}>117<Head title="Pricing" />118<Layout>119<Header page="pricing" />120<IndexList121title="Products and Pricing"122description={123<>124You can read more about {customize.siteName}{" "}125<A href="/pricing/products">products</A> and{" "}126<A href="/pricing/subscriptions">subscriptions</A> below or{" "}127<A href="/store">visit the store</A>.128</>129}130dataSource={dataSource}131/>132<Footer />133</Layout>134</Customize>135);136}137138export async function getServerSideProps(context) {139return await withCustomize({ context });140}141142143