Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit 5e0233d

Browse files
committed
minor updates
1 parent 9ae79a0 commit 5e0233d

File tree

7 files changed

+60
-42
lines changed

7 files changed

+60
-42
lines changed

gatsby-config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
module.exports = {
44
siteMetadata: {
5-
title: 'Gitpod - Online IDE for GitHub and GitLab',
6-
description: 'Gitpod is an online IDE for GitHub and GitLab that launches ready-to-code dev environments for any project with a single click.',
5+
title: 'Gitpod - Prebuilt Dev Environments for GitLab, GitHub and Bitbucket',
6+
description: 'Describe your dev environment as code and get fully prebuilt, ready-to-code development environments for any GitLab, GitHub, and Bitbucket project.',
77
siteUrl: 'https://www.gitpod.io',
88
author: {
9-
name: 'TypeFox',
10-
url: 'https://www.typefox.io',
9+
name: 'Gitpod',
10+
url: 'https://www.gitpod.io',
1111
1212
}
1313
},

src/components/index/Banner.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const Styled = styled.div`
3535
}
3636
3737
@media(min-width: calc(${sizes.breakpoints.lg} + 1px)) {
38-
width: 40%;
38+
width: 41%;
3939
}
4040
}
4141
@@ -97,11 +97,11 @@ const Banner = () => (
9797
<header role="banner" className="banner pattern">
9898
<div className="banner__text-box">
9999
<h1>
100-
Dev Environment as Code <span>for modern DevOps teams.</span>
100+
Dev Environments as Code <span>for modern DevOps teams.</span>
101101
</h1>
102-
<p>Describe your dev environment as code and get a fully prebuilt, ready-to-code development environment for any GitLab, GitHub, and Bitbucket project.</p>
102+
<p>Describe your dev environment as code and get fully prebuilt, ready-to-code development environments for any GitLab, GitHub, and Bitbucket project.</p>
103103
<div className="btn-wrapper">
104-
<a href="https://gitpod.io/#https://github.com/gitpod-io/spring-petclinic" className="btn btn--cta">Try Now</a>
104+
<a href="#get-started" className="btn btn--cta">Try Now</a>
105105
</div>
106106
</div>
107107
<div className="banner__screenshot-container">

src/components/index/PrefixInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ const Styled = styled.label`
231231
const errorMessage = 'Please Enter a valid Github or GitLab repo Url!'
232232

233233
const PrefixInput = () => {
234-
const [url, setUrl] = useState<string>(`https://github.com/freeCodeCamp/freeCodeCamp`)
234+
const [url, setUrl] = useState<string>(`https://github.com/gitpod-io/spring-petclinic`)
235235
const [error, setError] = useState<string>('')
236236

237237
const validateUrl = (url: string) => {

src/components/index/StartWorkspace.tsx

Lines changed: 48 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -55,39 +55,57 @@ interface StartWorkspaceProps {
5555
setIsShown: (val: boolean) => void
5656
}
5757

58+
function prefix(url: string) {
59+
return 'https://gitpod.io/#' + url;
60+
}
61+
5862
const StartWorkspace = ({ shown, setIsShown, githubUrl, gitlabUrl, bitbucketUrl }: StartWorkspaceProps) => (
5963
<StyledStartWorkspace>
60-
<a
61-
style={!shown ? {} : { display: 'none' }}
62-
className="btn btn--small"
63-
onClick={() => setIsShown(true)}
64-
title="Choose your Platform"
65-
>
66-
Start Workspace
64+
{
65+
!gitlabUrl && !bitbucketUrl ?
66+
<a
67+
style={!shown ? {} : { display: 'none' }}
68+
className="btn btn--small"
69+
title="Choose your Platform"
70+
target="_blank"
71+
href={prefix(githubUrl!)}
72+
>
73+
Start Workspace
74+
</a>
75+
:
76+
<><a
77+
style={!shown ? {} : { display: 'none' }}
78+
className="btn btn--small"
79+
onClick={() => setIsShown(true)}
80+
title="Choose your Platform"
81+
>
82+
Start Workspace
6783
</a>
68-
<ul style={!shown ? { display: 'none' } : {}}>
69-
{
70-
githubUrl ? <li>
71-
<a className="platform" href={githubUrl} title={"GitHub"} target="_blank">
72-
<img src={GitHub} alt="GitHub" />
73-
</a>
74-
</li> : null
75-
}
76-
{
77-
gitlabUrl ? <li>
78-
<a className="platform" href={gitlabUrl} target="_blank">
79-
<img src={GitLab} alt="Gitlab" title={"GitLab"} />
80-
</a>
81-
</li> : null
82-
}
83-
{
84-
bitbucketUrl ? <li>
85-
<a className="platform" href={bitbucketUrl} target="_blank">
86-
<img src={Bitbucket} alt="Bitbucket" title={"Bitbucket"} />
87-
</a>
88-
</li> : null
89-
}
90-
</ul>
84+
<ul style={!shown ? { display: 'none' } : {}}>
85+
{
86+
githubUrl ? <li>
87+
<a className="platform" href={prefix(githubUrl)} title={"GitHub"} target="_blank">
88+
<img src={GitHub} alt="GitHub" />
89+
</a>
90+
</li> : null
91+
}
92+
{
93+
gitlabUrl ? <li>
94+
<a className="platform" href={prefix(gitlabUrl)} target="_blank">
95+
<img src={GitLab} alt="Gitlab" title={"GitLab"} />
96+
</a>
97+
</li> : null
98+
}
99+
{
100+
bitbucketUrl ? <li>
101+
<a className="platform" href={prefix(bitbucketUrl)} target="_blank">
102+
<img src={Bitbucket} alt="Bitbucket" title={"Bitbucket"} />
103+
</a>
104+
</li> : null
105+
}
106+
</ul></>
107+
}
108+
91109
</StyledStartWorkspace>
92110
)
93111

src/layouts/docs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ interface DocsLayoutProps {
125125
}
126126

127127
const DocsLayout: React.SFC<DocsLayoutProps> = ({ canonical, title, body}) => (
128-
<IndexLayout canonical={canonical} title={title} description="The documentation site of Gitpod, the online IDE for GitHub and GitLab.">
128+
<IndexLayout canonical={canonical} title={title} description="Documentation site for Gitpod.">
129129
<StyledDocsLayout>
130130
<div className="row">
131131
<div className="content">

src/layouts/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class IndexLayout extends React.Component<{ title?: string, canonical?: string,
6666
<html lang="en" />
6767
<title>{title && `${title} - Gitpod` || data.site.siteMetadata.title}</title>
6868
<meta name="description" content={description || data.site.siteMetadata.description} />
69-
<meta name="keywords" content="cloud ide, github ide, gitlab ide, javascript, online ide, web ide, code review" />
69+
<meta name="keywords" content="dev environment, development environment, devops, cloud ide, github ide, gitlab ide, javascript, online ide, web ide, code review" />
7070
{
7171
canonical ? <link rel="canonical" href={`${data.site.siteMetadata.siteUrl}${canonical}`} /> : null
7272
}

src/utils/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const features: FeatureCardProps[] = [
1515
title: <>Skip the Waiting with<br /><strong>Prebuilt Dev Environments</strong></>,
1616
text: (<>
1717
<p>Avoid all the friction and get beamed into a fully set up, compiled, and tested dev environment with one click.</p>
18-
<p>More about <Link to="/">Continuous Dev Environments.</Link></p>
18+
<p>More about <Link to="/blog/continuous-dev-environment-in-devops/">Continuous Dev Environments.</Link></p>
1919
</>),
2020
Buttons: FullAutomationButtons
2121
},

0 commit comments

Comments
 (0)