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/features/api.tsx
Views: 687
/*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 { Icon } from "@cocalc/frontend/components/icon";8import Content from "components/landing/content";9import Footer from "components/landing/footer";10import Head from "components/landing/head";11import Header from "components/landing/header";12import Info from "components/landing/info";13import A from "components/misc/A";14import { Customize } from "lib/customize";15import withCustomize from "lib/with-customize";1617import screenshot from "public/features/api-screenshot.png";1819const title = "API";2021export default function API({ customize }) {22const { siteName } = customize;23return (24<Customize value={customize}>25<Head title={title} />26<Layout>27<Header page="features" subPage="api" />28<Layout.Content>29<Content30landing31startup={siteName}32title={title}33body={<Icon name="api" style={{ fontSize: "60px" }} />}34subtitle={35<>36Programmatically control CoCalc from your own server. Embed37CoCalc within other products with a customized external look and38feel.39</>40}41image={screenshot}42alt={"Using the API"}43/>44<Info.Heading45description={46<>47The documentation explains what you can do with the CoCalc API.48</>49}50>51<A href="https://doc.cocalc.com/api/">CoCalc API Documentation</A>52</Info.Heading>53</Layout.Content>54<Footer />55</Layout>56</Customize>57);58}5960export async function getServerSideProps(context) {61return await withCustomize({ context });62}636465