"use client"; import { observer } from "mobx-react"; import Image from "next/image"; // ui import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; import { Button } from "@plane/ui"; // hooks import { useCommandPalette, useEventTracker, useUserPermissions } from "@/hooks/store"; // assets import ProjectEmptyStateImage from "@/public/empty-state/onboarding/dashboard-light.webp"; export const DashboardProjectEmptyState = observer(() => { // store hooks const { toggleCreateProjectModal } = useCommandPalette(); const { setTrackElement } = useEventTracker(); const { allowPermissions } = useUserPermissions(); // derived values const canCreateProject = allowPermissions([EUserPermissions.ADMIN], EUserPermissionsLevel.WORKSPACE); return (
Welcome to Plane, we are excited to have you here. Create your first project and track your work items, and this page will transform into a space that helps you progress. Admins will also see items which help their team progress.