From b2d631ff69cb28f6eed54a8bbacc3faa84610dcf Mon Sep 17 00:00:00 2001 From: Samuel Rowe Date: Thu, 14 Jul 2022 22:12:55 +0530 Subject: [PATCH] feat: updated UI for empty projects screen --- .../src/components/Projects/index.tsx | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/services/frontend/src/components/Projects/index.tsx b/services/frontend/src/components/Projects/index.tsx index 510ff48..bdf8551 100644 --- a/services/frontend/src/components/Projects/index.tsx +++ b/services/frontend/src/components/Projects/index.tsx @@ -26,7 +26,7 @@ const Projects = () => { className="btn-util text-white bg-blue-600 hover:bg-blue-700 sm:w-auto" to="/projects/new" > - New + Create new project @@ -60,13 +60,32 @@ const Projects = () => { {data.results.length === 0 && ( -
-

- Nothing here -

-

- Get started by creating a project. +

+ +

+ We tried our best, but could not find any projects.

+ + Create new project +
)}