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/auth/password-reset.tsx
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2021 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
import { Layout } from "antd";
7
import PasswordReset from "components/auth/password-reset";
8
import Footer from "components/landing/footer";
9
import Head from "components/landing/head";
10
import Header from "components/landing/header";
11
import { Customize } from "lib/customize";
12
import withCustomize from "lib/with-customize";
13
14
export default function Home({ customize }) {
15
return (
16
<Customize value={customize}>
17
<Head title={"Forgot your Password?"} />
18
<Layout>
19
<Header page="sign-in" />
20
<Layout.Content style={{ backgroundColor: "white" }}>
21
<PasswordReset />
22
<Footer />
23
</Layout.Content>
24
</Layout>
25
</Customize>
26
);
27
}
28
29
export async function getServerSideProps(context) {
30
return await withCustomize({ context });
31
}
32
33