diff --git a/netlify.toml b/netlify.toml index 339178814..b0fd9012f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -406,3 +406,8 @@ from = "/blog/gitlab-integration/+" to = "/blog/gitlab-integration/" status = 301 + +[[redirects]] + from = "/gitpod-vs-codespaces" + to = "/gitpod-vs-github-codespaces/" + status = 301 diff --git a/src/components/gitpod-vs-codespaces/SpeedComparison.tsx b/src/components/gitpod-vs-codespaces/SpeedComparison.tsx index a74fc2b39..892c7bcff 100644 --- a/src/components/gitpod-vs-codespaces/SpeedComparison.tsx +++ b/src/components/gitpod-vs-codespaces/SpeedComparison.tsx @@ -10,7 +10,7 @@ const StyledSpeedComparison = styled.div` margin: 5rem 0 7rem; @media(max-width: ${sizes.breakpoints.lg}) { - margin: 0rem 0 3rem; + margin: 0rem 0 3rem; } @media (max-width: 560px) { @@ -39,15 +39,6 @@ const StyledSpeedComparison = styled.div` } } - h4 { - margin-bottom: 1rem; - margin-left: 1.5rem; - - @media (max-width: ${sizes.breakpoints.sm}) { - text-align: left; - } - } - p { color: ${colors.textLight}; } @@ -56,6 +47,17 @@ const StyledSpeedComparison = styled.div` position: relative; display: flex; + &__title { + margin-bottom: 1rem; + margin-left: 1.5rem; + font-weight: 600; + color: ${colors.textDark}; + + @media (max-width: ${sizes.breakpoints.sm}) { + text-align: left; + } + } + @media (max-width: 605px) { flex-wrap: wrap; } @@ -141,7 +143,7 @@ const SpeedComparison = () => ( Click
-

Gitpod

+
Gitpod
@@ -150,7 +152,7 @@ const SpeedComparison = () => (
-

GitHub Codespaces

+
GitHub Codespaces
Load
diff --git a/src/contents/gitpod-vs-codespaces.tsx b/src/contents/gitpod-vs-codespaces.tsx index da828d11a..1484ff043 100644 --- a/src/contents/gitpod-vs-codespaces.tsx +++ b/src/contents/gitpod-vs-codespaces.tsx @@ -44,8 +44,8 @@ export const features: FeatureCardProps[] = [ ), Figure: PowerComparison, - figFootnote: <>Compared resources for 100 active hours at $9/month. Last verified 25 Sep 2020. Sources: Gitpod Pricing, GitHub Codespaces Pricing., + figFootnote: <>Compared resources for 100 active hours at $9/month. Last verified 25 Sep 2020. Sources: Gitpod, GitHub Codespaces., }, { id: 'open-source', diff --git a/src/pages/gitpod-vs-codespaces.tsx b/src/pages/gitpod-vs-github-codespaces.tsx similarity index 97% rename from src/pages/gitpod-vs-codespaces.tsx rename to src/pages/gitpod-vs-github-codespaces.tsx index ac78947c9..ad363828d 100644 --- a/src/pages/gitpod-vs-codespaces.tsx +++ b/src/pages/gitpod-vs-github-codespaces.tsx @@ -39,7 +39,7 @@ const QuestionMark = () => Cross -const StyledGitpodVsCodespacesPage = styled.div` +const StyledGitpodVsGitHubCodespacesPage = styled.div` .main { padding: 0; } @@ -69,9 +69,9 @@ const StyledGitpodVsCodespacesPage = styled.div` } ` -const GitpodVsCodespacesPage = () => ( - - +const GitpodVsGitHubCodespacesPage = () => ( + +
@@ -378,8 +378,8 @@ const GitpodVsCodespacesPage = () => ( } ]} /> - + ) -export default GitpodVsCodespacesPage +export default GitpodVsGitHubCodespacesPage