-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
88 lines (74 loc) · 2.65 KB
/
index.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
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
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>~</title>
<link rel="icon" type="image/png" href="favicon.png" sizes="32x32"/>
<!-- STYLESHEET -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="clock"></div>
<div id="date"></div>
<div id="welcome"></div>
<script>
var today = new Date();
var curHr = today.getHours();
//Change the name here!
var name = "Isaac";
if (curHr >= 0 && curHr < 6) {
document.getElementById("welcome").innerHTML = 'What are you doing that early?';
} else if (curHr >= 6 && curHr < 12) {
document.getElementById("welcome").innerHTML = 'Good Morning, ' + name;
} else if (curHr >= 12 && curHr < 17) {
document.getElementById("welcome").innerHTML = 'Good Afternoon, ' + name;
} else {
document.getElementById("welcome").innerHTML = 'Good Evening, ' + name;
}
</script>
<div class="searchBox" id="searchBox">
<form action="https://duckduckgo.com/" method="get">
<input class="inputBox" id="searchInput" type="text" name="q" placeholder="Search something..." tabIndex="2"/></form>
</div>
<!-- Shortcuts grid -->
<section class="container-items">
<div class="school-links">
<h1>class</h1>
<ul>
<li><a class="mid" href="https://classroom.google.com/u/1/h">Classroom</a></li>
<li><a class="mid" href="http://aulavirtual.upsin.edu.mx/my/">Aula V.</a></li>
<li><a href="https://siiaa.mx/index.php/login/login_siiaa" class="mid">SIIA</a></li>
<li><a class="mid" href="https://mail.google.com/mail/u/0/#inbox">Gmail</a></li>
</ul>
</div>
<div class="social-links">
<h1>social</h1>
<ul>
<li><a class="mid" href="https://web.whatsapp.com/">WhatsApp</a></li>
<li><a class="mid" href="https://www.youtube.com/">YouTube</a></li>
<li><a href="https://www.reddit.com/" class="mid">Reddit</a></li>
<li><a href="https://twitter.com/home" class="mid">Twitter</a></li>
</ul>
</div>
<div class="work-links">
<h1>work</h1>
<ul>
<li><a href="http://localhost/phpmyadmin/" class="mid">127.0.0.1</a></li>
<li><a class="mid" href="https://github.com/isaacsa51">GitHub</a></li>
<li><a class="mid" href="https://pixlr.com/x/">Pixlr</a></li>
</ul>
</div>
<div class="other-links">
<h1>other</h1>
<ul>
<li><a class="mid" href="https://aur.archlinux.org/">AUR</a></li>
<li><a class="mid" href="https://drive.google.com/">Drive</a></li>
<li><a class="mid" href="https://www.mediafire.com/#myfiles">Mediafire</a></li>
<li><a href="https://translate.google.com/" class="mid">Translate</a></li>
</ul>
</div>
</section>
<script src="js/time.js"></script>
<script src="js/date.js"></script>
</body>
</html>