import { Layout } from "antd";
import Footer from "components/landing/footer";
import Head from "components/landing/head";
import Header from "components/landing/header";
import Create from "components/support/create";
import { Customize } from "lib/customize";
import withCustomize from "lib/with-customize";
export default function Preferences({ customize }) {
return (
<Customize value={customize}>
<Head title="New Support Ticket" />
<Layout>
<Header page="support" subPage="new" />
<Create />
<Footer />
</Layout>
</Customize>
);
}
export async function getServerSideProps(context) {
return await withCustomize({ context }, { name: true });
}