From 9a35e965774f1cd9487f91e8f2e6e3a22aa89ab2 Mon Sep 17 00:00:00 2001 From: Nisar Hassan Naqvi Date: Mon, 18 Jan 2021 18:21:40 +0000 Subject: [PATCH] wip. Fixes gitpod-io/website#801 --- src/pages/gitpod-vs-github-codespaces.tsx | 77 ++++++++++++++++++++++- 1 file changed, 75 insertions(+), 2 deletions(-) diff --git a/src/pages/gitpod-vs-github-codespaces.tsx b/src/pages/gitpod-vs-github-codespaces.tsx index 9962f79d3..898155008 100644 --- a/src/pages/gitpod-vs-github-codespaces.tsx +++ b/src/pages/gitpod-vs-github-codespaces.tsx @@ -67,6 +67,36 @@ const StyledGitpodVsGitHubCodespacesPage = styled.div` .glance { text-align: center; } + + .comparison-table { + &__wrap { + + } + + &__row { + display: grid; + grid-template-columns: 33.33333% auto; + grid-column-gap: 4rem; + + .h3 { + margin-bottom: 0; + } + } + + &__field-name { + font-weight: 600; + } + + &__field-value { + background: ${colors.offWhite}; + + &-wrapper { + display: grid; + grid-template-columns: repeat(2,1fr); + grid-column-gap: 4rem; + } + } + } ` const GitpodVsGitHubCodespacesPage = () => ( @@ -94,9 +124,52 @@ const GitpodVsGitHubCodespacesPage = () => (
+ +
+

Gitpod vs GitHub Codespaces at a Glance

+ +
+
+
+
+

+ Gitpod +

+

+ GitHub Codespaces +

+
+
+ +
+
Pricing (Hosted)
+
+
+ Free for Open-Source +
+
+ +
+
+
+ +
+
License
+
+
+ Open-Source +
+
+ Proprietary +
+
+
+
+
+ Gitpod vs GitHub Codespaces at a Glance} - styles={{ minWidth: '800px', borderCollapse: 'separate', borderSpacing: '2rem 0', margin: '0 auto', tableLayout: 'fixed' }} + // title={Gitpod vs GitHub Codespaces at a Glance} + styles={{ minWidth: '800px', borderCollapse: 'separate', borderSpacing: '2rem 0', margin: '0 auto', tableLayout: 'fixed', display: 'none' }} containerMaxWidthLarge={true} disableMarginBottom={true} >