CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/next/pages/support/new.tsx
Views: 687
1
import { Layout } from "antd";
2
3
import Footer from "components/landing/footer";
4
import Head from "components/landing/head";
5
import Header from "components/landing/header";
6
import Create from "components/support/create";
7
import { Customize } from "lib/customize";
8
import withCustomize from "lib/with-customize";
9
10
export default function Preferences({ customize }) {
11
return (
12
<Customize value={customize}>
13
<Head title="New Support Ticket" />
14
<Layout>
15
<Header page="support" subPage="new" />
16
<Create />
17
<Footer />
18
</Layout>
19
</Customize>
20
);
21
}
22
23
export async function getServerSideProps(context) {
24
return await withCustomize({ context }, { name: true });
25
}
26
27