"use client"; import React from "react"; import { observer } from "mobx-react-lite"; import Image from "next/image"; import { useTheme as nextUseTheme } from "next-themes"; // ui import { Button, getButtonStyling } from "@plane/ui"; // helpers import { resolveGeneralTheme } from "helpers/common.helper"; // icons import TakeoffIconLight from "/public/logos/takeoff-icon-light.svg"; import TakeoffIconDark from "/public/logos/takeoff-icon-dark.svg"; import { useTheme } from "@/hooks"; export const NewUserPopup: React.FC = observer(() => { // hooks const { isNewUserPopup, toggleNewUserPopup } = useTheme(); // theme const { resolvedTheme } = nextUseTheme(); const redirectionLink = `${process.env.NEXT_PUBLIC_APP_URL ? `${process.env.NEXT_PUBLIC_APP_URL}/create-workspace` : `${process.env.NEXT_PUBLIC_DEPLOY_WITH_NGINX === "1" ? `/god-mode/` : `/`}`}`; if (!isNewUserPopup) return <>; return (
Create workspace
Instance setup done! Welcome to Plane instance portal. Start your journey with by creating your first workspace, you will need to login again.
Create workspace
Plane icon
); });