-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.html
44 lines (35 loc) · 1.4 KB
/
about.html
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
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>About</title>
<link href="https://fonts.googleapis.com/css?family=Work+Sans:400,600,700" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="container">
<center>
<img src="assets/pages/logo.png" width="50%">
<h1>Justice Coin</h1>
<p class="greytext">version 1.0</p>
<p> share the project </p>
<a class="about-share" href="https://www.facebook.com/JusticeCoin2020/" target="_blank"><img src="assets/social/fb.png"></a>
<a class="about-share" href="https://twitter.com/Justice_Coin" target="_blank"><img src="assets/social/twitter.png"></a>
<p>
<a href="https://justicecoin.org"> justicecoin.org </a>
</p>
</center>
</div>
<script>
const { remote } = require('electron');
const $ = require('./jquery.min.js');
const shell = require('electron').shell;
document.querySelector('#version').textContent = remote.getCurrentWindow().version;
// document.querySelector('#uuid').textContent = remote.getCurrentWindow().uuid;
// assuming $ is jQuery
$(document).on('click', 'a[href^="https"]', function(event) {
event.preventDefault();
shell.openExternal(this.href);
});
</script>
</body>
</html>