Skip to content

Commit 326edb5

Browse files
committed
update links and redirect to documentation
1 parent b0966da commit 326edb5

2 files changed

Lines changed: 34 additions & 7 deletions

File tree

ui_openvpn/src/App.js

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import FaWindows from "./icons/FaWindows";
3131

3232
window.saveAs = saveAs;
3333

34-
const instructionsBaseUrl =
34+
const dappnodeVpnDocsUrl =
3535
"https://docs.dappnode.io/docs/user/access-your-dappnode/vpn/openvpn";
3636

3737
const adminUiUrl = "http://my.dappnode/";
@@ -42,42 +42,42 @@ const options = [
4242
route: "macos",
4343
component: MacOS,
4444
icon: FaApple,
45-
link: `${instructionsBaseUrl}#macos`,
45+
link: `https://openvpn.net/client/`,
4646
},
4747
{
4848
name: "iOS",
4949
route: "ios",
5050
component: iOS,
5151
icon: FaMobile,
52-
link: `${instructionsBaseUrl}#ios`,
52+
link: `https://apps.apple.com/us/app/openvpn-connect/id590379981`,
5353
},
5454
{
5555
name: "Windows",
5656
route: "windows",
5757
component: Windows,
5858
icon: FaWindows,
59-
link: `${instructionsBaseUrl}#windows`,
59+
link: `https://openvpn.net/client/`,
6060
},
6161
{
6262
name: "Android",
6363
route: "android",
6464
component: Android,
6565
icon: FaAndroid,
66-
link: `${instructionsBaseUrl}#android`,
66+
link: `https://play.google.com/store/apps/details?id=net.openvpn.openvpn`,
6767
},
6868
{
6969
name: "Linux",
7070
route: "linux",
7171
component: Linux,
7272
icon: FaLinux,
73-
link: `${instructionsBaseUrl}#linux`,
73+
link: `https://openvpn.net/community-docs/openvpn-client-for-linux.html`,
7474
},
7575
{
7676
name: "Chromebook",
7777
route: "chromebook",
7878
component: Chromebook,
7979
icon: FaChrome,
80-
link: `${instructionsBaseUrl}#android`,
80+
link: `https://play.google.com/store/apps/details?id=net.openvpn.openvpn`,
8181
},
8282
];
8383

@@ -230,6 +230,22 @@ export default class App extends Component {
230230
</div>
231231
</div>
232232

233+
<div className="help-section">
234+
<div className="container">
235+
<p>
236+
Having trouble?{" "}
237+
<a
238+
className="dappnode-color"
239+
href={dappnodeVpnDocsUrl}
240+
target="_blank"
241+
rel="noopener noreferrer"
242+
>
243+
Check out the full documentation
244+
</a>
245+
</p>
246+
</div>
247+
</div>
248+
233249
<HiddenRedirector />
234250
</React.Fragment>
235251
);

ui_openvpn/src/index.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,17 @@ ol li {
275275
}
276276

277277
/* ===== Responsive ===== */
278+
.help-section {
279+
text-align: center;
280+
/* padding: 28px 0 40px; */
281+
color: var(--muted);
282+
}
283+
284+
.help-section p {
285+
margin: 0;
286+
font-size: 0.95rem;
287+
}
288+
278289
@media (max-width: 640px) {
279290
.hero-section {
280291
margin-top: 2rem;

0 commit comments

Comments
 (0)