Skip to content

Commit 0168b17

Browse files
committed
Have each provider button link to its specific url on gk.dev
1 parent e7a0b2b commit 0168b17

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

src/popup/components/ConnectAProvider.tsx

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,40 @@ export const ConnectAProvider = () => {
66
<div className="connect-provider-container">
77
<div className="connect-provider-prompt text-center">
88
<div className="text-2xl bold">Connect an integration to see all of your pull requests</div>
9-
<a className="provider-buttons" href={`${GKDotDevUrl}/settings/integrations`} target="_blank">
10-
<div className="provider-button text-sm text-secondary">
9+
<div className="provider-buttons">
10+
<a
11+
className="provider-button text-sm text-secondary"
12+
href={`${GKDotDevUrl}/settings/integrations?connect=github`}
13+
target="_blank"
14+
>
1115
<img src="img/github-color.svg" height={24} />
1216
<div>GitHub</div>
13-
</div>
14-
<div className="provider-button text-sm text-secondary">
17+
</a>
18+
<a
19+
className="provider-button text-sm text-secondary"
20+
href={`${GKDotDevUrl}/settings/integrations?connect=gitlab`}
21+
target="_blank"
22+
>
1523
<img src="img/gitlab-color.svg" height={24} />
1624
<div>GitLab</div>
17-
</div>
18-
<div className="provider-button text-sm text-secondary">
25+
</a>
26+
<a
27+
className="provider-button text-sm text-secondary"
28+
href={`${GKDotDevUrl}/settings/integrations?connect=bitbucket`}
29+
target="_blank"
30+
>
1931
<img src="img/bitbucket-color.svg" height={24} />
2032
<div>Bitbucket</div>
21-
</div>
22-
<div className="provider-button text-sm text-secondary">
33+
</a>
34+
<a
35+
className="provider-button text-sm text-secondary"
36+
href={`${GKDotDevUrl}/settings/integrations?connect=azure`}
37+
target="_blank"
38+
>
2339
<img src="img/azuredevops-color.svg" height={24} />
2440
<div>Azure DevOps</div>
25-
</div>
26-
</a>
41+
</a>
42+
</div>
2743
<div className="text-sm text-secondary italic">
2844
*Only cloud-hosted providers are currently supported.
2945
</div>

0 commit comments

Comments
 (0)