-
+
diff --git a/services/frontend/src/components/Projects/index.tsx b/services/frontend/src/components/Projects/index.tsx
index bdf8551..7ebe1e1 100644
--- a/services/frontend/src/components/Projects/index.tsx
+++ b/services/frontend/src/components/Projects/index.tsx
@@ -5,6 +5,7 @@ import { IProject } from "../../types";
import Spinner from "../../components/global/Spinner";
import PreviewBlock from "./PreviewBlock";
import { useProjects } from "../../hooks/useProjects";
+import { PlusIcon } from "@heroicons/react/outline";
const Projects = () => {
const [limit] = useState(PROJECTS_FETCH_LIMIT);
@@ -22,22 +23,24 @@ const Projects = () => {
Projects
-
- Create new project
-
+ {data && data.results.length > 0 && (
+
+ Create new project
+
+ )}
- {isFetching && (
+ {(isFetching || isLoading) && (
)}
- {!isFetching && (
+ {!isFetching && !isLoading && (
<>
{error && (
@@ -70,22 +73,23 @@ const Projects = () => {
minHeight: "calc(100vh - 120px)"
}}
>
-

-
- We tried our best, but could not find any projects.
+
+ No projects
+
+
+ Get started by creating a new project.
-
-
Create new project
-
+
+
+
+
+ New Project
+
+
+
)}
diff --git a/services/frontend/src/components/Record.tsx b/services/frontend/src/components/Record.tsx
index 4444a0c..b273fe7 100644
--- a/services/frontend/src/components/Record.tsx
+++ b/services/frontend/src/components/Record.tsx
@@ -28,6 +28,9 @@ const Root = styled("div")`
justify-content: flex-start;
align-items: flex-start;
column-gap: ${({ theme }) => theme.spacing(2)};
+ @media (max-width: 768px) {
+ column-gap: ${({ theme }) => theme.spacing(1)};
+ }
`;
const RemoveButton = styled(IconButton)``;
diff --git a/services/frontend/src/components/global/FormElements/TextField.tsx b/services/frontend/src/components/global/FormElements/TextField.tsx
index 89ba3bc..c5cd5d5 100644
--- a/services/frontend/src/components/global/FormElements/TextField.tsx
+++ b/services/frontend/src/components/global/FormElements/TextField.tsx
@@ -12,6 +12,7 @@ export interface ITextFieldProps {
const Root = styled("div")`
display: flex;
flex-direction: column;
+ width: 100%;
`;
const TextField: FunctionComponent
= (
@@ -25,10 +26,7 @@ const TextField: FunctionComponent = (
return (
{label && (
-