Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/dashboard/src/projects/InstallGitHubApp.tsx
2500 views
1
/**
2
* Copyright (c) 2021 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 { Button } from "@podkit/buttons/Button";
8
import InfoBox from "../components/InfoBox";
9
import { gitpodHostUrl } from "../service/service";
10
import { Heading1, Subheading } from "@podkit/typography/Headings";
11
12
export default function InstallGitHubApp() {
13
const goToApp = () => (window.location.href = gitpodHostUrl.toString());
14
15
return (
16
<>
17
<div className="app-container flex flex-col space-y-2">
18
<div className="px-6 py-3 flex justify-between space-x-2">
19
<div className="flex flex-col items-center m-auto max-w-lg mt-40">
20
<Heading1 className="text-center pb-3">GitHub App 🌅</Heading1>
21
<Subheading className="text-center pb-6">
22
You likely tried to install the GitHub App for Gitpod.
23
</Subheading>
24
<InfoBox>Gitpod no longer requires to install the GitHub App on repositories.</InfoBox>
25
<div className="mt-6">
26
<Button onClick={goToApp}>Go to Dashboard</Button>
27
</div>
28
</div>
29
</div>
30
</div>
31
</>
32
);
33
}
34
35