2023-01-29 16:44:02 +01:00
|
|
|
// 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'
|
2023-01-29 16:44:02 +01:00
|
|
|
import { useRouter } from 'next/router'
|
2023-01-14 22:40:07 +01:00
|
|
|
import { useTranslation } from 'next-i18next'
|
2023-01-29 16:44:02 +01:00
|
|
|
// Dependencies
|
|
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
2023-01-14 22:40:07 +01:00
|
|
|
import Link from 'next/link'
|
2023-01-29 16:44:02 +01:00
|
|
|
// Components
|
2023-04-16 19:37:57 +02:00
|
|
|
import { PageWrapper, ns as pageNs } from 'shared/components/wrappers/page.mjs'
|
|
|
|
import { BareLayout, ns as layoutNs } from 'site/components/layouts/bare.mjs'
|
2023-01-29 16:44:02 +01:00
|
|
|
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,
|
2023-01-28 18:10:29 +01:00
|
|
|
ns as gdprNs,
|
2023-01-29 16:44:02 +01:00
|
|
|
} from 'site/components/gdpr/details.mjs'
|
2023-01-14 22:40:07 +01:00
|
|
|
|
|
|
|
// Translation namespaces used on this page
|
2023-04-16 19:37:57 +02:00
|
|
|
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) => {
|
2023-04-28 21:23:06 +02:00
|
|
|
return <PageWrapper></PageWrapper>
|
2023-01-14 22:40:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export default ConfirmSignUpPage
|
|
|
|
|
|
|
|
export async function getStaticProps({ locale }) {
|
|
|
|
return {
|
|
|
|
props: {
|
2023-01-28 18:10:29 +01:00
|
|
|
...(await serverSideTranslations(locale, ns)),
|
2023-01-14 22:40:07 +01:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export async function getStaticPaths() {
|
|
|
|
return {
|
|
|
|
paths: [],
|
|
|
|
fallback: true,
|
|
|
|
}
|
|
|
|
}
|