-
-
-
- Add any links you need for quick access to your work.
-
-
+
+
+
- );
+
Save links to work things that you{"'"}d like handy.
+
+);
diff --git a/web/core/components/home/widgets/empty-states/root.tsx b/web/core/components/home/widgets/empty-states/no-projects.tsx
similarity index 51%
rename from web/core/components/home/widgets/empty-states/root.tsx
rename to web/core/components/home/widgets/empty-states/no-projects.tsx
index b359f2bb486..c3b9a8807a7 100644
--- a/web/core/components/home/widgets/empty-states/root.tsx
+++ b/web/core/components/home/widgets/empty-states/no-projects.tsx
@@ -2,6 +2,8 @@ import React from "react";
import Link from "next/link";
import { useParams } from "next/navigation";
import { Briefcase, Hotel, Users } from "lucide-react";
+// plane ui
+import { Avatar } from "@plane/ui";
// helpers
import { getFileURL } from "@/helpers/file.helper";
// hooks
@@ -9,7 +11,7 @@ import { useCommandPalette, useEventTracker, useUser, useUserPermissions } from
// plane web constants
import { EUserPermissions, EUserPermissionsLevel } from "@/plane-web/constants";
-export const EmptyWorkspace = () => {
+export const NoProjectsEmptyState = () => {
// navigation
const { workspaceSlug } = useParams();
// store hooks
@@ -26,11 +28,11 @@ export const EmptyWorkspace = () => {
const EMPTY_STATE_DATA = [
{
id: "create-project",
- title: "Create a project",
- description: "Create your first project now to get started",
- icon:
,
+ title: "Create a project.",
+ description: "Most things start with a project in Plane.",
+ icon:
,
cta: {
- text: "Create Project",
+ text: "Get started",
onClick: (e: React.MouseEvent
) => {
if (!canCreateProject) return;
e.preventDefault();
@@ -42,66 +44,56 @@ export const EmptyWorkspace = () => {
},
{
id: "invite-team",
- title: "Invite your team",
- description: "The sub text will be of two lines and that will be placed.",
- icon: ,
+ title: "Invite your team.",
+ description: "Build, ship, and manage with coworkers.",
+ icon: ,
cta: {
- text: "Invite now",
+ text: "Get them in",
link: `/${workspaceSlug}/settings/members`,
},
},
{
id: "configure-workspace",
- title: "Configure your workspace",
- description: "The sub text will be of two lines and that will be placed.",
- icon: ,
+ title: "Set up your workspace.",
+ description: "Turn features on or off or go beyond that.",
+ icon: ,
cta: {
- text: "Configure workspace",
+ text: "Configure this workspace",
link: "settings",
},
},
{
id: "personalize-account",
- title: "Personalize your account",
- description: "The sub text will be of two lines and that will be placed.",
- icon:
- currentUser?.avatar_url && currentUser?.avatar_url.trim() !== "" ? (
-
-
-
-
-
- ) : (
-
-
- {(currentUser?.email ?? currentUser?.display_name ?? "?")[0]}
-
-
- ),
+ title: "Make Plane yours.",
+ description: "Choose your picture, colors, and more.",
+ icon: (
+
+ ),
cta: {
- text: "Personalize account",
+ text: "Personalize now",
link: "/profile",
},
},
];
return (
-
+
{EMPTY_STATE_DATA.map((item) => (
-
+
{item.icon}
-
{item.title}
-
{item.description}
-
+
{item.title}
+
{item.description}
{item.cta.link ? (
{
) : (