import React from "react"; import Image from "next/image"; import { observer } from "mobx-react-lite"; // hooks import { useApplication, useUser } from "hooks/store"; // layouts import DefaultLayout from "layouts/default-layout"; // components import { SignUpRoot } from "components/account"; // ui import { Spinner } from "@plane/ui"; // assets import BluePlaneLogoWithoutText from "public/plane-logos/blue-without-text.png"; // types import { NextPageWithLayout } from "lib/types"; const SignUpPage: NextPageWithLayout = observer(() => { // store hooks const { config: { envConfig }, } = useApplication(); const { currentUser } = useUser(); if (currentUser || !envConfig) return (