Path: blob/master/src/packages/next/pages/support/community.tsx
5968 views
import { Layout } from "antd";12import { Icon } from "@cocalc/frontend/components/icon";3import Footer from "components/landing/footer";4import Head from "components/landing/head";5import Header from "components/landing/header";6import IndexList, { DataSource } from "components/landing/index-list";7import A from "components/misc/A";8import SiteName from "components/share/site-name";9import { MAX_WIDTH } from "lib/config";10import { Customize } from "lib/customize";11import withCustomize from "lib/with-customize";12import MailingList from "public/info/cocalc-mailing-list.png";13import Discord from "public/info/discord.png";14import { COLORS } from "@cocalc/util/theme";15import Facebook from "public/info/facebook.png";16import GitHubDiscussions from "public/info/github-discussions.png";17import Github from "public/info/github.png";18import LinkedIn from "public/info/linkedin.png";19import Share from "public/info/share.png";20import Twitter from "public/info/twitter.png";2122const imageWidth = "300px";2324const dataSource = [25{26link: "https://discord.gg/nEHs2GK",27title: (28<>29<b>Chat</b> about CoCalc on Discord30</>31),32logo: "comment",33image: Discord,34imageWidth,35description: (36<>37Visit the{" "}38<A href="https://discord.gg/EugdaJZ8">CoCalc Discord server</A> to chat39with other CoCalc users, ask questions, and give us quick feedback.40</>41),42},43{44link: "https://github.com/sagemathinc/cocalc",45logo: "github",46imageWidth,47image: Github,48title: (49<A href="https://github.com/sagemathinc/cocalc">50CoCalc's <b>Source Code</b>51</A>52),53description: (54<>55Browse every change to{" "}56<A href="https://github.com/sagemathinc/cocalc">CoCalc source code</A>,57track the status of{" "}58<A href="https://github.com/sagemathinc/cocalc/issues">known issues</A>,{" "}59<A href="https://github.com/sagemathinc/cocalc/issues/new">60report a bug61</A>62, comment on{" "}63<A href="https://github.com/sagemathinc/cocalc/issues">64development ideas65</A>{" "}66and see an{" "}67<A href="https://github.com/sagemathinc/cocalc/graphs/contributors">68overview of the pace of development69</A>70. While you're at it,{" "}71<A href="https://github.com/sagemathinc/cocalc/network/members">72fork CoCalc73</A>{" "}74and send us{" "}75<A href="https://github.com/sagemathinc/cocalc/pulls">a pull request</A>76.77</>78),79},80{81link: "https://www.linkedin.com/company/sagemath-inc./",82logo: "linkedin",83imageWidth,84image: LinkedIn,85title: (86<A href="https://www.linkedin.com/company/sagemath-inc./">87CoCalc on <b>LinkedIn</b>88</A>89),90description: (91<>92Explore{" "}93<A href="https://www.linkedin.com/company/sagemath-inc./">94CoCalc on LinkedIn95</A>96.97</>98),99},100{101shareServer: true,102link: "/share",103logo: "bullhorn",104imageWidth,105image: Share,106title: (107<A href="/share">108CoCalc <b>Published Files</b>109</A>110),111description: (112<>113<A href="/share">114Browse the <SiteName /> share server115</A>{" "}116to see what other users of this site are publishing. You will find117thousands of <A href="/features/jupyter-notebook">Jupyter notebooks</A>,118Sage worksheets, programs, PDF's, final projects from courses,{" "}119<A href="/features/latex-editor">research papers</A> and more.120</>121),122},123{124link: "https://www.facebook.com/CoCalcOnline/",125logo: "facebook",126imageWidth,127image: Facebook,128title: (129<A href="https://www.facebook.com/CoCalcOnline/">130CoCalc on <b>Facebook</b>131</A>132),133description: (134<>135Check out our{" "}136<A href="https://www.facebook.com/CoCalcOnline/">Facebook page</A>,137where you can post something cool you've done using CoCalc, start a138dicussion, or watch out for announcements.139</>140),141},142{143link: "https://github.com/sagemathinc/cocalc/discussions",144logo: "github",145imageWidth,146image: GitHubDiscussions,147title: (148<A href="https://github.com/sagemathinc/cocalc/discussions">149CoCalc <b>GitHub Discussions</b>150</A>151),152description: (153<>154<A href="https://github.com/sagemathinc/cocalc/discussions">155Search or ask questions and start a discussion about CoCalc here!156</A>157</>158),159},160{161link: "https://groups.google.com/forum/?fromgroups#!forum/cocalc",162logo: "envelope",163image: MailingList,164imageWidth,165title: (166<A href="https://groups.google.com/forum/?fromgroups#!forum/cocalc">167CoCalc <b>Google Groups Mailing List</b>168</A>169),170description: (171<>172Get announcements about CoCalc in your inbox, and use email to173participate in discussions with the CoCalc community at the{" "}174<A href="https://groups.google.com/forum/?fromgroups#!forum/cocalc">175CoCalc mailing list176</A>177.178</>179),180},181182{183link: "https://twitter.com/cocalc_com",184logo: "twitter",185imageWidth,186image: Twitter,187title: (188<A href="https://twitter.com/cocalc_com">189CoCalc on <b>Twitter/X</b>190</A>191),192description: (193<>194Follow{" "}195<A href="https://twitter.com/cocalc_com">@cocalc_com on Twitter/X</A>{" "}196for announcements about what's going on with CoCalc. You can also DM197questions to us or tag us in your tweets.198</>199),200},201] as DataSource;202203export default function Connect({ customize }) {204return (205<Customize value={customize}>206<Head title="Community Support" />207<Layout>208<Header page="support" subPage="community" />209<Layout.Content style={{ backgroundColor: "white" }}>210<div211style={{212maxWidth: MAX_WIDTH,213margin: "15px auto",214padding: "15px",215backgroundColor: "white",216}}217>218<div style={{ textAlign: "center", color: COLORS.GRAY_D }}>219<h1 style={{ fontSize: "28pt" }}></h1>220</div>221<IndexList222title={223<>224<Icon name="users" style={{ marginRight: "30px" }} />225Connect with the Cocalc Community226</>227}228description={229<>230There are many ways that you can connect with the broader231CoCalc community.232</>233}234dataSource={dataSource}235/>236</div>237<Footer />238</Layout.Content>239</Layout>240</Customize>241);242}243244export async function getServerSideProps(context) {245return await withCustomize({ context });246}247248249