1
0
Fork 0
freesewing/sites/org/pages/confirm/signup/[...confirmation].mjs

46 lines
1.4 KiB
JavaScript
Raw Normal View History

// Hooks
import { useEffect, useState } from 'react'
2023-03-24 17:43:38 +01:00
import { useAccount } from 'shared/hooks/use-account.mjs'
import { useBackend } from 'shared/hooks/use-backend.mjs'
import { useRouter } from 'next/router'
2023-01-14 22:40:07 +01:00
import { useTranslation } from 'next-i18next'
// Dependencies
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
2023-01-14 22:40:07 +01:00
import Link from 'next/link'
// Components
import { PageWrapper, ns as pageNs } from 'shared/components/wrappers/page.mjs'
import { BareLayout, ns as layoutNs } from 'site/components/layouts/bare.mjs'
import { WelcomeWrapper } from 'site/components/wrappers/welcome.mjs'
import { Spinner } from 'shared/components/spinner.mjs'
import { Popout } from 'shared/components/popout.mjs'
import { Robot } from 'shared/components/robot/index.mjs'
2023-01-14 22:40:07 +01:00
import {
GdprProfileDetails,
GdprMeasurementsDetails,
ns as gdprNs,
} from 'site/components/gdpr/details.mjs'
2023-01-14 22:40:07 +01:00
// Translation namespaces used on this page
const ns = Array.from(new Set([...pageNs, ...layoutNs, ...gdprNs, 'confirm', 'locales', 'themes']))
2023-01-15 10:51:45 +01:00
2023-01-14 22:40:07 +01:00
const ConfirmSignUpPage = (props) => {
return <PageWrapper></PageWrapper>
2023-01-14 22:40:07 +01:00
}
export default ConfirmSignUpPage
export async function getStaticProps({ locale }) {
return {
props: {
...(await serverSideTranslations(locale, ns)),
2023-01-14 22:40:07 +01:00
},
}
}
export async function getStaticPaths() {
return {
paths: [],
fallback: true,
}
}