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