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

Commit 9a9aa7e

Browse files
nisarhassan12svenefftinge
authored andcommitted
[self-hosted] install add urls.
1 parent 5732b9a commit 9a9aa7e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/components/self-hosted/Install.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ const installs: InstallProps[] = [
2020
img: Kubernetes,
2121
alt: "Kubernetes",
2222
text: "All you need is a domain and a Kubernetes cluster.",
23-
linkPath: '' // Todo add link path here
23+
linkPath: 'install-on-kubernetes'
2424
},
2525
{
2626
title: "Google Cloud Platform",
2727
img: GoogleCloudLogo,
2828
alt: "Google Cloud",
2929
text: " Install Gitpod optimised for Google Cloud Platform.",
30-
linkPath: '' // Todo add link path here
30+
linkPath: 'install-on-gcp-script'
3131
}
3232
]
3333

@@ -78,9 +78,7 @@ const StyledSection = styled.section`
7878
margin: 0 auto;
7979
}
8080
}
81-
8281
}
83-
8482
`
8583

8684
const Install = () => (
@@ -89,14 +87,14 @@ const Install = () => (
8987
<h2>Install Self-Hosted Gitpod</h2>
9088
<div className="install">
9189
{
92-
installs.map(({ title, text, img, alt }: InstallProps, i) => (
90+
installs.map(({ title, text, img, alt, linkPath }: InstallProps, i) => (
9391
<div key={`${i}+${title}`}className="install__box">
9492
<img src={img} alt={alt} />
9593
<h3>{title}</h3>
9694
<p>
9795
{text}
9896
</p>
99-
<Link to="/docs/" className="btn">Install Now</Link>
97+
<Link to={`/docs/self-hosted/latest/install/${linkPath}/`} className="btn">Install Now</Link>
10098
</div>
10199
))
102100
}

0 commit comments

Comments
 (0)