Path: blob/main/components/dashboard/src/projects/InstallGitHubApp.tsx
2500 views
/**1* Copyright (c) 2021 Gitpod GmbH. All rights reserved.2* Licensed under the GNU Affero General Public License (AGPL).3* See License.AGPL.txt in the project root for license information.4*/56import { Button } from "@podkit/buttons/Button";7import InfoBox from "../components/InfoBox";8import { gitpodHostUrl } from "../service/service";9import { Heading1, Subheading } from "@podkit/typography/Headings";1011export default function InstallGitHubApp() {12const goToApp = () => (window.location.href = gitpodHostUrl.toString());1314return (15<>16<div className="app-container flex flex-col space-y-2">17<div className="px-6 py-3 flex justify-between space-x-2">18<div className="flex flex-col items-center m-auto max-w-lg mt-40">19<Heading1 className="text-center pb-3">GitHub App 🌅</Heading1>20<Subheading className="text-center pb-6">21You likely tried to install the GitHub App for Gitpod.22</Subheading>23<InfoBox>Gitpod no longer requires to install the GitHub App on repositories.</InfoBox>24<div className="mt-6">25<Button onClick={goToApp}>Go to Dashboard</Button>26</div>27</div>28</div>29</div>30</>31);32}333435