Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/dashboard/src/cell-disabled/DisabledCell.tsx
2506 views
1
/**
2
* Copyright (c) 2024 Gitpod GmbH. All rights reserved.
3
* Licensed under the GNU Affero General Public License (AGPL).
4
* See License.AGPL.txt in the project root for license information.
5
*/
6
7
import { Heading2 } from "@podkit/typography/Headings";
8
import { TextMuted } from "@podkit/typography/TextMuted";
9
import { useTheme } from "../theme-context";
10
11
import cubicleImg from "../images/cubicle.webp";
12
import cubicleDarkImg from "../images/cubicle-dark.webp";
13
import cubicleImg2x from "../images/[email protected]";
14
import cubicleDarkImg2x from "../images/[email protected]";
15
16
export const DisabledCell = () => {
17
const { isDark } = useTheme();
18
19
return (
20
<div className="p-0 h-[100dvh] flex flex-col items-center justify-center">
21
<section className="flex flex-col justify-center items-center text-center">
22
<img
23
src={isDark ? cubicleDarkImg : cubicleImg}
24
srcSet={`${isDark ? cubicleDarkImg : cubicleImg} 1x, ${
25
isDark ? cubicleDarkImg2x : cubicleImg2x
26
} 2x`}
27
alt="cubical illustration"
28
width="240"
29
height="251"
30
/>
31
<Heading2 className="my-4">Thank you for evaluating Gitpod</Heading2>
32
<TextMuted>
33
This evaluation instance is now stopped. <br />
34
Please contact our team to move to next steps.
35
</TextMuted>
36
</section>
37
</div>
38
);
39
};
40
41