"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"; // hooks import { useInstance, useTheme } from "@/hooks/store"; // icons import TakeoffIconLight from "/public/logos/takeoff-icon-light.svg"; import TakeoffIconDark from "/public/logos/takeoff-icon-dark.svg"; export const NewUserPopup: React.FC = observer(() => { // hooks const { isNewUserPopup, toggleNewUserPopup } = useTheme(); const { instance } = useInstance(); // theme const { resolvedTheme } = nextUseTheme(); const redirectionLink = `${instance?.config?.app_base_url ? `${instance?.config?.app_base_url}/create-workspace` : `/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
); });