import { PageOptions } from '@graphcommerce/framer-next-pages' import { ForgotPasswordForm } from '@graphcommerce/magento-customer' import { PageMeta, StoreConfigDocument } from '@graphcommerce/magento-store' import { AppShellTitle, GetStaticProps, SheetShellHeader, Title } from '@graphcommerce/next-ui' import { Box, Container, NoSsr } from '@material-ui/core' import React from 'react' import SheetShell, { SheetShellProps } from '../../components/AppShell/SheetShell' import apolloClient from '../../lib/apolloClient' type GetPageStaticProps = GetStaticProps function AccountForgotPasswordPage() { return ( <> Forgot your password? {/* Forgot your password? */} Forgot your password?

No worries! Enter your email address and we will send an email with instructions to reset your password.

) } const pageOptions: PageOptions = { overlayGroup: 'account-public', SharedComponent: SheetShell, } AccountForgotPasswordPage.pageOptions = pageOptions export default AccountForgotPasswordPage export const getStaticProps: GetPageStaticProps = async ({ locale }) => { const client = apolloClient(locale, true) const conf = client.query({ query: StoreConfigDocument }) return { props: { apolloState: await conf.then(() => client.cache.extract()), variant: 'bottom', size: 'max', backFallbackHref: '/account/signin', backFallbackTitle: 'Sign In', }, } }