import { Col, Layout, Row } from "antd";
import Footer from "components/landing/footer";
import Head from "components/landing/head";
import Header from "components/landing/header";
import SanitizedMarkdown from "components/misc/sanitized-markdown";
import { Customize } from "lib/customize";
import withCustomize from "lib/with-customize";
export default function Policies({ customize }) {
const { policies } = customize;
return (
<Customize value={customize}>
<Head title="Policies" />
<Layout>
<Header page="policies" subPage="policies" />
<Row>
<Col
xs={{ span: 12, offset: 6 }}
style={{ marginTop: "30px", marginBottom: "30px" }}
>
{policies && <SanitizedMarkdown value={policies} />}
</Col>
</Row>
<Footer />
</Layout>
</Customize>
);
}
export async function getServerSideProps(context) {
return await withCustomize({ context });
}