"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getServerSideProps = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const A_1 = __importDefault(require("components/misc/A"));
const antd_1 = require("antd");
const footer_1 = __importDefault(require("components/landing/footer"));
const header_1 = __importDefault(require("components/landing/header"));
const head_1 = __importDefault(require("components/landing/head"));
const with_customize_1 = __importDefault(require("lib/with-customize"));
const customize_1 = require("lib/customize");
const latex_1 = __importDefault(require("components/landing/latex"));
const index_list_1 = __importDefault(require("components/landing/index-list"));
const jupyter_logo_svg_1 = __importDefault(require("/public/features/jupyter-logo.svg"));
const cocalc_jupyter2_20170508_png_1 = __importDefault(require("/public/features/cocalc-jupyter2-20170508.png"));
const python_logo_svg_1 = __importDefault(require("/public/features/python-logo.svg"));
const frame_editor_python_png_1 = __importDefault(require("/public/features/frame-editor-python.png"));
const r_logo_svg_1 = __importDefault(require("/public/features/r-logo.svg"));
const cocalc_r_jupyter_png_1 = __importDefault(require("/public/features/cocalc-r-jupyter.png"));
const latex_logo_svg_1 = __importDefault(require("/public/features/latex-logo.svg"));
const cocalc_latex_editor_2019_png_1 = __importDefault(require("/public/features/cocalc-latex-editor-2019.png"));
const whiteboard_sage_png_1 = __importDefault(require("/public/features/whiteboard-sage.png"));
const octave_logo_svg_1 = __importDefault(require("/public/features/octave-logo.svg"));
const cocalc_octave_jupyter_20200511_png_1 = __importDefault(require("/public/features/cocalc-octave-jupyter-20200511.png"));
const x11_logo_svg_1 = __importDefault(require("/public/features/x11-logo.svg"));
const x11_01_png_1 = __importDefault(require("/public/features/x11-01.png"));
const linux_logo_svg_1 = __importDefault(require("/public/features/linux-logo.svg"));
const cocalc_shell_script_run_png_1 = __importDefault(require("/public/features/cocalc-shell-script-run.png"));
const linux_logo_svg_2 = __importDefault(require("/public/features/linux-logo.svg"));
const terminal_png_1 = __importDefault(require("/public/features/terminal.png"));
const fa_graduation_cap_svg_1 = __importDefault(require("/public/features/fa-graduation-cap.svg"));
const cocalc_course_assignments_2019_png_1 = __importDefault(require("/public/features/cocalc-course-assignments-2019.png"));
const api_screenshot_png_1 = __importDefault(require("/public/features/api-screenshot.png"));
const sage_sticker_1x1_inch_small_png_1 = __importDefault(require("/public/features/sage-sticker-1x1_inch-small.png"));
const sage_worksheet_png_1 = __importDefault(require("public/features/sage-worksheet.png"));
const julia_logo_svg_1 = __importDefault(require("public/features/julia-logo.svg"));
const julia_jupyter_png_1 = __importDefault(require("public/features/julia-jupyter.png"));
const dataSource = [
    {
        link: "/features/jupyter-notebook",
        title: "Jupyter notebooks",
        logo: jupyter_logo_svg_1.default,
        image: cocalc_jupyter2_20170508_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["We provide a CoCalc specific version of Jupyter notebooks with real-time collaboration, chat, and high precision edit history. Explore in more detail in", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/jupyter.html", children: "the documentation" }), "."] })),
    },
    {
        link: "/features/python",
        title: "Huge installed Python stack",
        logo: python_logo_svg_1.default,
        image: frame_editor_python_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Use Python in CoCalc for data science, statistics, mathematics, physics, machine learning. Many", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "/software/python", children: "Python packages are included in CoCalc" }), "!"] })),
    },
    {
        link: "/features/whiteboard",
        title: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Collaborative Whiteboard" }),
        logo: "layout",
        image: whiteboard_sage_png_1.default,
        description: ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "CoCalc's collaborative whiteboard fully supports writing mathematics using LaTeX and doing computation using Jupyter code cells on an infinite canvas." })),
    },
    {
        link: "/features/r-statistical-software",
        title: "R Statistical Software",
        logo: r_logo_svg_1.default,
        image: cocalc_r_jupyter_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Use Jupyter notebooks with the R kernel, the R command line, X11 graphics, ", (0, jsx_runtime_1.jsx)(latex_1.default, {}), " with Knitr and RMarkdown, and more. Many", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "/software/r", children: "R packages are included in CoCalc" }), "!"] })),
    },
    {
        link: "/features/latex-editor",
        title: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Collaborative ", (0, jsx_runtime_1.jsx)(latex_1.default, {}), " editor"] })),
        logo: latex_logo_svg_1.default,
        image: cocalc_latex_editor_2019_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["CoCalc's ", (0, jsx_runtime_1.jsx)(latex_1.default, {}), " editor can help you be a more productive author online. Check out", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/latex.html", children: "its documentation" }), "."] })),
    },
    {
        link: "/features/sage",
        title: "SageMath Online",
        logo: sage_sticker_1x1_inch_small_png_1.default,
        image: sage_worksheet_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(A_1.default, { href: "/features/sage", children: "SageMath" }), " is very well supported in CoCalc, because ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://wstein.org", children: "William Stein" }), ", who started SageMath, also started CoCalc. Many versions of Sage are preinstalled and there is excellent integration with", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "/features/latex-editor", children: (0, jsx_runtime_1.jsx)(latex_1.default, {}) }), "."] })),
    },
    {
        link: "/features/octave",
        title: "GNU Octave",
        logo: octave_logo_svg_1.default,
        image: cocalc_octave_jupyter_20200511_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Run ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://www.gnu.org/software/octave/", children: "GNU Octave" }), " on CoCalc \u2013 the syntax is largely compatible with MATLAB", (0, jsx_runtime_1.jsx)("sup", { children: "\u00AE" }), ". Use Jupyter notebooks, write programs, and display X11 graphics. Many", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "/software/octave", children: "Octave packages are included in CoCalc" }), "!"] })),
    },
    {
        link: "/features/julia",
        title: "Julia",
        logo: julia_logo_svg_1.default,
        image: julia_jupyter_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Use ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://julialang.org/", children: "Julia" }), " on CoCalc with", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/howto/pluto.html", children: "Pluto" }), " and", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "/features/jupyter-notebook", children: "Jupyter" }), " notebooks. Edit Julia code and run it in ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "/features/terminal", children: "a terminal" }), " or notebook. ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "/features/teaching", children: "Teach classes using nbgrader" }), " ", "with the Julia kernel. Many", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "/software/julia", children: "Julia packages are included in CoCalc" }), "!"] })),
    },
    {
        link: "/features/x11",
        title: "Linux graphical X11 desktop",
        logo: x11_logo_svg_1.default,
        image: x11_01_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Run graphical applications in CoCalc's remote virtual desktop environment. Read more in the", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/x11.html", children: "X11 documentation" }), "."] })),
    },
    {
        link: "/features/linux",
        title: "Online Linux environment",
        logo: linux_logo_svg_1.default,
        image: cocalc_shell_script_run_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Use a collaborative online", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/terminal.html", children: "Linux terminal" }), ", edit and run Bash scripts, or work in a Jupyter Notebooks running the Bash kernel."] })),
    },
    {
        link: "/features/terminal",
        title: "Linux Terminal",
        logo: linux_logo_svg_2.default,
        image: terminal_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Work in a collaborative remote Linux shell. Read more in our", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/terminal.html", children: "documentation" }), "."] })),
    },
    {
        link: "/features/teaching",
        title: "Teaching a Course",
        logo: fa_graduation_cap_svg_1.default,
        image: cocalc_course_assignments_2019_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Organize and teach a course and automatically grade Jupyter notebooks. Read more in the", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/teaching-instructors.html", children: "instructor guide" }), "."] })),
    },
    {
        link: "/features/api",
        title: "API Interface",
        image: api_screenshot_png_1.default,
        logo: "server",
        description: ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Programmatically control CoCalc from your own server. Embed CoCalc within other products with a customized external look and feel." })),
    },
    {
        link: "https://doc.cocalc.com",
        title: "There is much more to explore",
        logo: sage_sticker_1x1_inch_small_png_1.default,
        image: sage_worksheet_png_1.default,
        description: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Use ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/sagews.html", children: "Sage Worksheets" }), ",", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/teaching-instructors.html", children: "Course management" }), ", ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/tasks.html", children: "Task management" }), ",", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://doc.cocalc.com/chat.html", children: "Chat" }), ",", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://about.cocalc.com/", children: "and more..." })] })),
    },
];
function Features({ customize }) {
    return ((0, jsx_runtime_1.jsxs)(customize_1.Customize, { value: customize, children: [(0, jsx_runtime_1.jsx)(head_1.default, { title: "Features" }), (0, jsx_runtime_1.jsxs)(antd_1.Layout, { children: [(0, jsx_runtime_1.jsx)(header_1.default, { page: "features" }), (0, jsx_runtime_1.jsx)(index_list_1.default, { title: "Overview of CoCalc features", description: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["These pages are an overview of what CoCalc is able to do. You can also", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "https://about.cocalc.com", children: "learn about our mission, developers and features," }), " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "/software", children: "browse installed software" }), ", and", " ", (0, jsx_runtime_1.jsx)(A_1.default, { href: "/share", children: "see how other people are using CoCalc" }), "."] }), dataSource: dataSource }), (0, jsx_runtime_1.jsx)(footer_1.default, {})] })] }));
}
exports.default = Features;
async function getServerSideProps(context) {
    return await (0, with_customize_1.default)({ context });
}
exports.getServerSideProps = getServerSideProps;
//# sourceMappingURL=index.js.map