Path: blob/master/src/packages/next/pages/auth/password-reset-done.tsx
1450 views
/*1* This file is part of CoCalc: Copyright © 2021 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45import { Alert, Layout } from "antd";6import Footer from "components/landing/footer";7import Head from "components/landing/head";8import Header from "components/landing/header";9import { Customize } from "lib/customize";10import withCustomize from "lib/with-customize";11import { LOGIN_STYLE } from "components/auth/shared";1213export default function Home({ customize }) {14return (15<Customize value={customize}>16<Head title={"Forgot your Password?"} />17<Layout>18<Header page="sign-in" />19<Layout.Content style={{ backgroundColor: "white" }}>20<div style={LOGIN_STYLE}>21<Alert22style={{ marginTop: "20px" }}23message={<b>Success</b>}24description={25<div style={{ fontSize: "12pt" }}>26Password successfully set. You are now signed in using your27new password.28</div>29}30type="success"31showIcon32/>33</div>34<Footer />35</Layout.Content>36</Layout>37</Customize>38);39}4041export async function getServerSideProps(context) {42return await withCustomize({ context });43}444546