import { observer } from "mobx-react"; import Image from "next/image"; // ui import { Button } from "@plane/ui"; // constants import { EUserWorkspaceRoles } from "@/constants/workspace"; // hooks import { useCommandPalette, useEventTracker, useUser } from "@/hooks/store"; // assets import ProjectEmptyStateImage from "public/empty-state/dashboard/project.svg"; export const DashboardProjectEmptyState = observer(() => { // store hooks const { toggleCreateProjectModal } = useCommandPalette(); const { setTrackElement } = useEventTracker(); const { membership: { currentWorkspaceRole }, } = useUser(); // derived values const canCreateProject = currentWorkspaceRole === EUserWorkspaceRoles.ADMIN; return (
Welcome to Plane, we are excited to have you here. Create your first project and track your issues, and this page will transform into a space that helps you progress. Admins will also see items which help their team progress.