Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/dashboard/src/dedicated-setup/GettingStartedStep.tsx
2506 views
1
/**
2
* Copyright (c) 2023 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 { FC } from "react";
8
import { Button } from "@podkit/buttons/Button";
9
import { Heading1, Subheading } from "../components/typography/headings";
10
import { SetupLayout } from "./SetupLayout";
11
12
type Props = {
13
onComplete: () => void;
14
progressCurrent?: number;
15
progressTotal?: number;
16
};
17
export const GettingStartedStep: FC<Props> = ({ onComplete, progressCurrent, progressTotal }) => {
18
return (
19
<SetupLayout progressCurrent={progressCurrent} progressTotal={progressTotal}>
20
<Heading1>Let's get started</Heading1>
21
<Subheading>
22
Spin up fresh cloud development environments for each task, fully automated, in seconds.
23
</Subheading>
24
25
<div className="mt-6">
26
<Button className="w-full" onClick={onComplete}>
27
Get Started
28
</Button>
29
</div>
30
</SetupLayout>
31
);
32
};
33
34