1
1
import dynamic from 'next/dynamic' ;
2
-
2
+ import Image from 'next/image' ;
3
3
const InstallButton = dynamic ( import ( './installButton' ) , { ssr :false } ) ;
4
4
5
5
export default function Install ( ) {
@@ -18,42 +18,58 @@ export default function Install() {
18
18
padding-left: 1em;
19
19
}
20
20
}
21
+
22
+ .logos {
23
+ display: flex;
24
+ gap: 12px;
25
+ margin-top: 12px;
26
+ }
27
+
28
+ @media only screen and (min-width: 768px) {
29
+ .logos {
30
+ justify-content: center;
31
+ }
32
+ }
21
33
` } </ style >
22
34
< p >
23
- OctoLinker is a browser extension and available on{ " " }
24
- < a
25
- href = "https://chrome.google.com/webstore/detail/octo-linker/jlmafbaeoofdegohdhinkhilhclaklkp"
26
- onClick = { function ( ) { window . plausible ( "install: chrome" ) } }
27
- rel = "nofollow"
28
- >
29
- < nobr > Chrome Web Store</ nobr >
30
- </ a >
31
- ,{ " " }
32
- < a
33
- href = "https://addons.mozilla.org/en-US/firefox/addon/octolinker/"
34
- onClick = { function ( ) { window . plausible ( "install: mozilla" ) } }
35
- rel = "nofollow"
36
- >
37
- < nobr > Mozilla Add-ons Store</ nobr >
38
- </ a >
39
- ,{ " " }
40
- < a
41
- href = "https://microsoftedge.microsoft.com/addons/detail/lbbanfffjfmfdahnfbklminikafhcjjb"
42
- onClick = { function ( ) { window . plausible ( "install: edge" ) } }
43
- rel = "nofollow"
44
- >
45
- < nobr > Microsoft Store</ nobr >
46
- </ a >
47
- { " and " }
48
- < a
49
- href = "https://addons.opera.com/en/extensions/details/octolinker/"
50
- onClick = { function ( ) { window . plausible ( "install: opera" ) } }
51
- rel = "nofollow"
52
- >
53
- < nobr > Opera Add-ons Store</ nobr >
54
- </ a > .
55
- < br />
56
- Install and enhance your GitHub experience.
35
+ OctoLinker is a browser extension. Install and enhance your GitHub experience.
36
+ < div className = "logos" >
37
+ < a
38
+ href = "https://chrome.google.com/webstore/detail/octo-linker/jlmafbaeoofdegohdhinkhilhclaklkp"
39
+ onClick = { function ( ) { window . plausible ( "install: chrome" ) } }
40
+ rel = "nofollow"
41
+ >
42
+ < Image alt = "Chrome Web Store" src = "/static/chrome.png" width = "48" height = "48" />
43
+ </ a >
44
+ < a
45
+ href = "https://addons.mozilla.org/en-US/firefox/addon/octolinker/"
46
+ onClick = { function ( ) { window . plausible ( "install: mozilla" ) } }
47
+ rel = "nofollow"
48
+ >
49
+ < Image alt = "Mozilla Add-ons Store" src = "/static/firefox.png" width = "48" height = "48" />
50
+ </ a >
51
+ < a
52
+ href = "https://apps.apple.com/app/octolinker/id1549308269"
53
+ onClick = { function ( ) { window . plausible ( "install: safari" ) } }
54
+ rel = "nofollow"
55
+ >
56
+ < Image alt = "Mac App Store" src = "/static/safari.png" width = "48" height = "48" />
57
+ </ a >
58
+ < a
59
+ href = "https://microsoftedge.microsoft.com/addons/detail/lbbanfffjfmfdahnfbklminikafhcjjb"
60
+ onClick = { function ( ) { window . plausible ( "install: edge" ) } }
61
+ rel = "nofollow"
62
+ >
63
+ < Image alt = "Microsoft Store" src = "/static/edge.png" width = "48" height = "48" />
64
+ </ a >
65
+ < a
66
+ href = "https://addons.opera.com/en/extensions/details/octolinker/"
67
+ onClick = { function ( ) { window . plausible ( "install: opera" ) } }
68
+ rel = "nofollow"
69
+ >
70
+ < Image alt = "Opera Add-ons Store" src = "/static/opera.png" width = "48" height = "48" />
71
+ </ a >
72
+ </ div >
57
73
</ p >
58
74
< InstallButton />
59
75
< div className = "install-count" >
0 commit comments