-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (46 loc) · 2.17 KB
/
index.html
File metadata and controls
47 lines (46 loc) · 2.17 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BootInstallSim - Boot Install Simulator</title>
<link rel="stylesheet" href="assets/css/mainpg.css" />
<link rel="shortcut icon" href="assets/img/logo.png" type="image/x-icon" />
</head>
<body>
<div id="logodiv">
<img id="logo" src="assets/img/logo.png" alt="BootInstallSim Logo" />
<h1 id="logotxt">BootInstallSim</h1>
</div>
<div>
<h2 id="wishtitle">Hi</h2>
<h3 id="wishlearn">What would you like to learn to install today?</h3>
</div>
<div id="butdiv">
<button class="btn" onclick="location.replace('windows/win1.html')" id="winbtn">
<img src="assets/img/winlogo.png" /> Windows
</button>
<button class="btn" onclick="location.replace('macos/macos1.html')" id="macos">
<img src="assets/img/applelogo.png" /> Mac Os X
</button>
<button class="btn" onclick="location.replace('linux/linux1.html')" id="linux">
<img src="assets/img/linuxlogo.png" /> Linux
</button>
</div>
<footer id="foot">
<p>This project has been made by <a class="link" target="_blank" href="https://linktr.ee/avversion">@AVVERSION</a> and is registered under the <a class="link" href="LICENSE">GNU General Public License v3</a>. It's source code is available on <a class="link" target="_blank" href="https://github.com/AVVERSION/BootInstallSim">Github</a> which may be used but must be credited to the original author (Besides from private use). For more Information, Check out the github page. To Contribute to the code, Submit a Pull Request. To join the team, contact @AVVERSION on Github.</p>
</footer>
<script>
let today = new Date();
let hour = today.getHours();
let wishtitle = document.getElementById("wishtitle");
if (hour >= 0 && hour < 12) {
wishtitle.innerHTML = "Good Morning!";
} else if (hour >= 12 && hour < 17) {
wishtitle.innerHTML = "Good Afternoon!";
} else if (hour >= 17 && hour < 23) {
wishtitle.innerHTML = "Good Evening!";
}
</script>
</body>
</html>