-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathEmptyWorkspacesContent.tsx
41 lines (39 loc) · 1.8 KB
/
EmptyWorkspacesContent.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
* Copyright (c) 2023 Gitpod GmbH. All rights reserved.
* Licensed under the GNU Affero General Public License (AGPL).
* See License.AGPL.txt in the project root for license information.
*/
import { Heading2 } from "../components/typography/headings";
import { StartWorkspaceModalKeyBinding } from "../App";
import { LinkButton } from "@podkit/buttons/LinkButton";
export const EmptyWorkspacesContent = () => {
return (
<div className="app-container flex flex-col space-y-2">
<div className="px-6 py-3 flex flex-col text-gray-400 border-t border-gray-200 dark:border-gray-800">
<div className="flex flex-col items-center justify-center h-96 w-96 mx-auto">
<Heading2 color="light" className="text-center pb-3">
No Workspaces
</Heading2>
<div className="text-center pb-6 text-gray-500">
Prefix any Git repository URL with {window.location.host}/# or create a new workspace for a
recently used project.{" "}
<a
className="gp-link"
target="_blank"
rel="noreferrer"
href="https://www.gitpod.io/docs/getting-started/"
>
Learn more
</a>
</div>
<span>
<LinkButton className="mt-6 w-full" href="/new">
New Workspace{" "}
<span className="opacity-60 hidden md:inline">{StartWorkspaceModalKeyBinding}</span>
</LinkButton>
</span>
</div>
</div>
</div>
);
};