-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinstall.js
80 lines (76 loc) · 2.59 KB
/
install.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import dynamic from 'next/dynamic';
import Image from 'next/image';
const InstallButton = dynamic(import ('./installButton'),{ssr:false});
export default function Install() {
return (
<>
<style jsx>{`
@media only screen and (min-width: 768px) {
p {
margin: 1rem auto;
max-width: 600px;
}
}
@media only screen and (max-width: 768px) {
.install-count {
padding-left: 1em;
}
}
.logos {
display: flex;
gap: 12px;
margin-top: 12px;
}
@media only screen and (min-width: 768px) {
.logos {
justify-content: center;
}
}
`}</style>
<p>
OctoLinker is a browser extension. Install and enhance your GitHub experience.
<div className="logos">
<a
href="https://chrome.google.com/webstore/detail/octo-linker/jlmafbaeoofdegohdhinkhilhclaklkp"
onClick={function() { window.plausible("install: chrome")}}
rel="nofollow"
>
<Image alt="Chrome Web Store" src="/static/chrome.png" width="48" height="48" />
</a>
<a
href="https://addons.mozilla.org/en-US/firefox/addon/octolinker/"
onClick={function() { window.plausible("install: mozilla")}}
rel="nofollow"
>
<Image alt="Mozilla Add-ons Store" src="/static/firefox.png" width="48" height="48" />
</a>
<a
href="https://apps.apple.com/app/octolinker/id1549308269"
onClick={function() { window.plausible("install: safari")}}
rel="nofollow"
>
<Image alt="Mac App Store" src="/static/safari.png" width="48" height="48" />
</a>
<a
href="https://microsoftedge.microsoft.com/addons/detail/lbbanfffjfmfdahnfbklminikafhcjjb"
onClick={function() { window.plausible("install: edge")}}
rel="nofollow"
>
<Image alt="Microsoft Store" src="/static/edge.png" width="48" height="48" />
</a>
<a
href="https://addons.opera.com/en/extensions/details/octolinker/"
onClick={function() { window.plausible("install: opera")}}
rel="nofollow"
>
<Image alt="Opera Add-ons Store" src="/static/opera.png" width="48" height="48" />
</a>
</div>
</p>
<InstallButton />
<div className="install-count">
<small>Trusted by over 30,000 developers</small>
</div>
</>
);
}