Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/next/pages/info/doc.tsx
Views: 687
import Footer from "components/landing/footer";1import Header from "components/landing/header";2import Head from "components/landing/head";3import { Layout } from "antd";4import withCustomize from "lib/with-customize";5import { Customize } from "lib/customize";6import A from "components/misc/A";7import { Icon } from "@cocalc/frontend/components/icon";8import IndexList, { DataSource, Item } from "components/landing/index-list";9import { MAX_WIDTH } from "lib/config";1011const dataSource: DataSource = [12{13link: "https://doc.cocalc.com/",14title: "Browse the CoCalc Manual",15logo: "book",16image: "https://doc.cocalc.com/_static/cocalc-doc-logo.svg",17description: (18<>19The reference manual explains the major functionality of CoCalc in20depth. In particular, it contains the{" "}21<A href="https://doc.cocalc.com/teaching-instructors.html">22Instructor Guide23</A>24, which explains how to integrate CoCalc with teaching a course, it25documents{" "}26<A href="https://doc.cocalc.com/project.html">27configuring and using projects in CoCalc28</A>29, explains how to{" "}30<A href="https://doc.cocalc.com/howto/index.html">31install your own software,32</A>33and how to{" "}34<A href="https://doc.cocalc.com/api/">35embed and control CoCalc via the API36</A>37.38</>39),40},41{42landingPages: true,43link: "https://github.com/sagemathinc/cocalc-desktop#readme",44title: "Install the CoCalc Desktop Application",45logo: "laptop",46description: (47<>48If you're having browser compatibility issues with CoCalc, you can try49installing the{" "}50<A href="https://github.com/sagemathinc/cocalc-desktop#readme">51CoCalc desktop application for Windows and MacOS52</A>53. This is a lightweight application that connects to the main cocalc.com54site, but is completely separate from your web browser.55</>56),57},58{59landingPages: true,60link: "/pricing/onprem",61title: "Install CoCalc on Your Own Server or Cluster",62logo: "server",63description: (64<>65It is possible to{" "}66<A href="/pricing/onprem">67fully run your own commercially supported instance of CoCalc68</A>{" "}69on anything from your laptop to a large Kubernetes cluster.70</>71),72},73] as DataSource;7475export default function Help({ customize }) {76const { contactEmail } = customize;77let data = dataSource;78if (contactEmail) {79const link = `mailto:${contactEmail}`;80data = [81{82logo: "envelope",83link,84title: (85<>86<b>Email us at {contactEmail}</b>87</>88),89description: (90<>91If you have a question or problem, please send an email to{" "}92<A href={link}>{contactEmail}</A>. Be as specific as you can. In93particular, include URL's of relevant files!94</>95),96} as Item,97].concat(dataSource);98}99return (100<Customize value={customize}>101<Head title="CoCalc Documentation" />102<Layout>103<Header page="info" subPage="doc" />104<Layout.Content105style={{106backgroundColor: "white",107}}108>109<div110style={{111maxWidth: MAX_WIDTH,112margin: "15px auto",113padding: "15px",114backgroundColor: "white",115}}116>117<IndexList118title={119<>120<Icon name="life-saver" style={{ marginRight: "30px" }} />121CoCalc - Documentation122</>123}124description={125<>126There are many ways that you can connect with the broader127CoCalc community.128</>129}130dataSource={data}131/>132</div>133<Footer />134</Layout.Content>135</Layout>136</Customize>137);138}139140export async function getServerSideProps(context) {141return await withCustomize({ context });142}143144145