Path: blob/main/components/dashboard/src/teams/TeamNetworking.tsx
2501 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 { isGitpodIo } from "../utils";7import { Heading2, Heading3, Subheading } from "../components/typography/headings";8import { OrgSettingsPage } from "./OrgSettingsPage";9import { ConfigurationSettingsField } from "../repositories/detail/ConfigurationSettingsField";10import { useDocumentTitle } from "../hooks/use-document-title";11import { LinkButton } from "@podkit/buttons/LinkButton";12import { CheckCircle2Icon } from "lucide-react";13import { Redirect } from "react-router";14import PillLabel from "../components/PillLabel";1516export default function TeamPoliciesPage() {17useDocumentTitle("Organization Settings - Networking");1819if (!isGitpodIo) {20return <Redirect to="/settings" />;21}2223return (24<>25<OrgSettingsPage>26<div className="space-y-8">27<div>28<Heading2 className="flex items-center gap-4">29Networking30<PillLabel type="warn">Enterprise</PillLabel>31</Heading2>32<Subheading className="mt-1">33Self-host a single-tenant installation in your own cloud account.34</Subheading>35</div>3637<SelfHostedCalloutCard />38<DeployedRegionCard />39<VPNCard />40</div>41</OrgSettingsPage>42</>43);44}4546const SelfHostedCalloutCard = () => {47return (48<ConfigurationSettingsField className="bg-pk-surface-secondary">49<Heading3>Self-host in your cloud account</Heading3>50<Subheading className="mt-1">51Deploy the Gitpod infrastructure into your own cloud account and connect to your private network52</Subheading>5354<div className="mt-8 flex flex-col space-y-2">55<div className="flex flex-row gap-2 items-center text-pk-content-secondary">56<CheckCircle2Icon size={20} className="text-pk-content-primary" />57Managed application feature release and backup process58</div>59<div className="flex flex-row gap-2 items-center text-pk-content-secondary">60<CheckCircle2Icon size={20} className="text-pk-content-primary" />61Managed security updates and patches62</div>63</div>6465<LinkButton66href="https://www.gitpod.io/contact/enterprise-self-serve"67isExternalUrl={true}68className="mt-8"69>70Request Free Trial71</LinkButton>72</ConfigurationSettingsField>73);74};7576const DeployedRegionCard = () => {77return (78<ConfigurationSettingsField className="bg-pk-surface-secondary">79<Heading3>Choose your deployed region</Heading3>80<Subheading className="mt-1">81Deploy Gitpod to any location, such as: United States, South America, Europe and Asia Pacific82</Subheading>8384<div className="mt-8 flex flex-col space-y-2">85<div className="flex flex-row gap-2 items-center text-pk-content-secondary">86<CheckCircle2Icon size={20} className="text-pk-content-primary" />87Meet data residency compliance requirements88</div>89<div className="flex flex-row gap-2 items-center text-pk-content-secondary">90<CheckCircle2Icon size={20} className="text-pk-content-primary" />91Reduce latency and bring your code closer to your data92</div>93</div>9495<LinkButton96variant="secondary"97className="mt-8 border border-pk-content-tertiary text-pk-content-primary bg-pk-surface-primary"98href="https://www.gitpod.io/docs/enterprise/overview#aws-support-and-regions"99isExternalUrl={true}100>101Documentation102</LinkButton>103</ConfigurationSettingsField>104);105};106107const VPNCard = () => {108return (109<ConfigurationSettingsField className="bg-pk-surface-secondary">110<Heading3>Virtual Private Network (VPN)</Heading3>111<Subheading className="mt-1">112Restrict access to your instance using your own private VPN network113</Subheading>114115<LinkButton116variant="secondary"117className="mt-8 border border-pk-content-tertiary text-pk-content-primary bg-pk-surface-primary"118href="https://www.gitpod.io/docs/enterprise/getting-started/networking#private-networking-configuration-highly-restrictive"119isExternalUrl={true}120>121Documentation122</LinkButton>123</ConfigurationSettingsField>124);125};126127128