CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/next/pages/pricing/index.tsx
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2022 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
import Footer from "components/landing/footer";
7
import Head from "components/landing/head";
8
import Header from "components/landing/header";
9
import IndexList, { DataSource } from "components/landing/index-list";
10
import A from "components/misc/A";
11
import { Customize } from "lib/customize";
12
import withCustomize from "lib/with-customize";
13
import { Layout } from "antd";
14
15
const dataSource: DataSource = [
16
{
17
link: "/store",
18
title: "Store",
19
logo: "shopping-cart",
20
description: (
21
<>
22
Purchase a license for upgrades or dedicated resources at{" "}
23
<A href="/store">the store</A>.
24
</>
25
),
26
},
27
{
28
link: "/pricing/products",
29
title: "Products",
30
logo: "credit-card",
31
description: (
32
<>
33
Overview of <A href="/pricing/products">what you can purchase</A> to
34
enhance your use of CoCalc.
35
</>
36
),
37
},
38
{
39
link: "/pricing/subscriptions",
40
title: "Subscriptions",
41
logo: "calendar",
42
description: (
43
<>
44
How to keep some of your projects upgraded via{" "}
45
<A href="/pricing/subscriptions">a periodic subscription.</A>
46
</>
47
),
48
},
49
{
50
link: "/pricing/courses",
51
title: "Courses",
52
logo: "graduation-cap",
53
description: (
54
<>
55
What to purchase when{" "}
56
<A href="/pricing/courses">
57
<b>using CoCalc to teach a course.</b>
58
</A>
59
</>
60
),
61
},
62
{
63
link: "/pricing/institutions",
64
title: "Institutions",
65
logo: "home",
66
description: (
67
<>
68
What 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 machine
84
// </A>
85
// , which can greatly improve collaboration and scalability in your
86
// research group.
87
// </>
88
// ),
89
// },
90
{
91
link: "/pricing/onprem",
92
title: "On-Premises Installations",
93
logo: "network-wired",
94
description: (
95
<>
96
You can run CoCalc on{" "}
97
<A href="/pricing/onprem">
98
your own Kubernetes cluster, starting at $3,000/year.
99
</A>
100
</>
101
),
102
},
103
{
104
link: "/vouchers",
105
title: "Vouchers",
106
logo: "gift",
107
description: (
108
<>
109
Vouchers are a convenient way to{" "}
110
<A href="/vouchers">share and resell licenses</A>.
111
</>
112
),
113
},
114
];
115
116
export default function Pricing({ customize }) {
117
return (
118
<Customize value={customize}>
119
<Head title="Pricing" />
120
<Layout>
121
<Header page="pricing" />
122
<IndexList
123
title="Products and Pricing"
124
description={
125
<>
126
You can read more about {customize.siteName}{" "}
127
<A href="/pricing/products">products</A> and{" "}
128
<A href="/pricing/subscriptions">subscriptions</A> below or{" "}
129
<A href="/store">visit the store</A>.
130
</>
131
}
132
dataSource={dataSource}
133
/>
134
<Footer />
135
</Layout>
136
</Customize>
137
);
138
}
139
140
export async function getServerSideProps(context) {
141
return await withCustomize({ context });
142
}
143
144