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/policies/index.tsx
Views: 687
/*1* This file is part of CoCalc: Copyright © 2021 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 { POLICIES } from "components/landing/sub-nav";12import A from "components/misc/A";13import { Customize } from "lib/customize";14import withCustomize from "lib/with-customize";1516const dataSourceCoCalcCom = [17{18link: "/policies/terms",19title: "Terms of service",20logo: "thumbs-up",21description: (22<>23The <A href="/policies/terms">Terms of Service</A> govern use of CoCalc.24</>25),26},27{28link: "/policies/copyright",29title: "Copyright policies",30logo: "dot-circle",31description: (32<>33The <A href="/policies/copyright">Copyright Policy</A> explains how34SageMath, Inc. respects copyright policies, and provides a site that35does not infringe on others' copyright.36</>37),38},39{40link: "/policies/privacy",41title: "Privacy",42logo: "user-secret",43description: (44<>45The <A href="/policies/privacy">Privacy Policy</A> describes how46SageMath, Inc. respects the privacy of its users.47</>48),49},50{51link: "/policies/trust",52title: POLICIES.trust.label,53logo: "lock-outlined",54description: (55<>56The <A href="/policies/trust">{POLICIES.trust.label}</A> page highlights57our SOC 2 {/*and GDPR*/} compliance. We adhere to rigorous standards to58protect your data and maintain transparency and accountability in all59our operations.60</>61),62},63{64link: "/policies/thirdparties",65title: "Third parties",66logo: "users",67description: (68<>69Our <A href="/policies/thirdparties">List of third parties</A>{" "}70enumerates what is used to provide CoCalc.71</>72),73},74{75link: "/policies/ferpa",76title: "FERPA compliance statement",77logo: "graduation-cap",78description: (79<>80<A href="/policies/ferpa">CoCalc's FERPA Compliance statement</A>{" "}81explains how we address FERPA requirements at US educational82instituations.83</>84),85},86{87link: "/policies/accessibility",88title: "Accessibility",89logo: "eye",90description: (91<>92CoCalc's{" "}93<A href="/policies/accessibility">94Voluntary Product Accessibility Template (VPAT)95</A>{" "}96describes how we address accessibility issues.97</>98),99},100] as DataSource;101102export default function Policies({ customize }) {103function dataSourceOnPrem(): DataSource {104const ret: DataSource = [];105if (customize.imprint) {106ret.push({107link: "/policies/imprint",108title: "Imprint",109logo: "dot-circle",110description: <></>,111});112}113if (customize.policies) {114ret.push({115link: "/policies/policies",116title: "Policies",117logo: "thumbs-up",118description: <></>,119});120}121return ret;122}123124const dataSource = customize.onCoCalcCom125? dataSourceCoCalcCom126: dataSourceOnPrem();127const description = customize.onCoCalcCom128? "SageMath, Inc.'s terms of service, copyright, privacy and other policies."129: "";130return (131<Customize value={customize}>132<Head title="Policies" />133<Layout>134<Header page="policies" />135<IndexList136title={`${customize.siteName} Policies`}137description={description}138dataSource={dataSource}139/>140<Footer />{" "}141</Layout>142</Customize>143);144}145146export async function getServerSideProps(context) {147return await withCustomize({ context });148}149150151