-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathabout.html
46 lines (43 loc) · 1.75 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
45
46
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>About Sandman</title>
<link rel="stylesheet" href="./css/main.css">
</head>
<body class="app" id="about">
<img src="../assets/sleep.png" alt="sleep" class="logo">
<hr />
<div class="about info-text">
<p>Sandman will remind you to take a rest and that you can always come back to the work tomorrow.</p>
<p>Inspired by <strong class="link">http://sleepyti.me</strong> a website that calculates optimal times to fall asleep based on when you want to wake up.</p>
<p>It will notify you throughout the night when the optimal times to shutdown your computer and start to head to sleep and provide a button to do just that.</p>
<p>This application works well with <strong class="link">https://justgetflux.com/</strong></p>
<div>
<div class="button-wrapper" >
<button onclick="donate()">Donate</button> <button onclick="personalPage()">Authors Page</button>
</div>
<hr />
<div class="electron info-other" style="text-align:center">
Sandman Version
<script>
fs = require('fs');
path = require("path"); //allow for use of path
filePath = path.join(__dirname, '../package.json')
json = JSON.parse(fs.readFileSync(filePath, 'utf8'));
version = json.version;
document.write(version);
</script><br> Node.js Version
<script>
document.write(process.versions.node)
</script><br> Chromium Version
<script>
document.write(process.versions.chrome)
</script><br> Electron Version
<script>
document.write(process.versions.electron)
</script><br>
<script src="../js/about.js"></script>
</div>
</body>
</html>