-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
232 lines (193 loc) · 8.28 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Page Metadata and OpenGraph -->
<title>PWRScript</title>
<link rel="canonical" href="https://old.www.miguelallopes.dev/">
<link rel="manifest" href="/manifest.webmanifest">
<meta name="description"
content="PWRScript">
<meta name="author" content="PWRScript">
<!-- OpenGraph -->
<meta property="og:title" content="PWRScript" />
<meta property="og:type" content="website" />
<meta property="og:description" content="PWRScript" />
<meta property="og:url" content="https://old.www.miguelallopes.dev/" />
<meta property="og:image" content="https://old.www.miguelallopes.dev/static/img/pwrscript.png" />
<meta property="og:site_name" content="PWRScript" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary"></meta>
<meta name="twitter:site" content="@miguelallopes"></meta>
<meta name="twitter:creator" content="@miguelallopes"></meta>
<meta name="twitter:title" content="PWRScript" /></meta>
<meta name="twitter:description" content="PWRScript" /></meta>
<meta name="twitter:image" content="https://old.www.miguelallopes.dev/static/img/pwrscript.png" /></meta>
<!-- Atom/RSS Feed -->
<link rel="alternate" type="application/rss+xml" href="https://old.www.miguelallopes.dev/rss.xml" title="News from PWRScript">
<!-- Favicon -->
<link rel="shortcut icon" href="static/favicon/favicon.ico">
<link rel="icon" sizes="16x16 32x32 64x64" href="static/favicon/favicon.ico">
<link rel="icon" type="image/png" sizes="196x196" href="static/favicon/favicon-192.png">
<link rel="icon" type="image/png" sizes="160x160" href="static/favicon/favicon-160.png">
<link rel="icon" type="image/png" sizes="96x96" href="static/favicon/favicon-96.png">
<link rel="icon" type="image/png" sizes="64x64" href="static/favicon/favicon-64.png">
<link rel="icon" type="image/png" sizes="32x32" href="static/favicon/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="static/favicon/favicon-16.png">
<link rel="apple-touch-icon" href="static/favicon/favicon-57.png">
<link rel="apple-touch-icon" sizes="114x114" href="static/favicon/favicon-114.png">
<link rel="apple-touch-icon" sizes="72x72" href="static/favicon/favicon-72.png">
<link rel="apple-touch-icon" sizes="144x144" href="static/favicon/favicon-144.png">
<link rel="apple-touch-icon" sizes="60x60" href="static/favicon/favicon-60.png">
<link rel="apple-touch-icon" sizes="120x120" href="static/favicon/favicon-120.png">
<link rel="apple-touch-icon" sizes="76x76" href="static/favicon/favicon-76.png">
<link rel="apple-touch-icon" sizes="152x152" href="static/favicon/favicon-152.png">
<link rel="apple-touch-icon" sizes="180x180" href="static/favicon/favicon-180.png">
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="static/favicon/favicon-144.png">
<meta name="msapplication-config" content="static/favicon/browserconfig.xml">
<meta name="apple-mobile-web-app-status-bar" content="#1B129C" />
<meta name="theme-color" content="#1B129C" />
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="static/css/aboutme.css" />
<link rel="stylesheet" type="text/css" href="static/css/blog.css" />
<link rel="stylesheet" type="text/css" href="static/css/clock.css" />
<link rel="stylesheet" type="text/css" href="static/css/search.css" />
<link rel="stylesheet" type="text/css" href="static/css/nav.css" />
<link rel="stylesheet" type="text/css" href="static/css/loader.css" />
<!-- Scripts -->
<script src="static/js/search.js"></script>
<script src="static/js/redirect.js"></script>
<script>
if('serviceWorker' in navigator) {
window.addEventListener("load", function() {
navigator.serviceWorker
.register("serviceWorker.js")
.then(res => console.log("service worker registered"))
.catch(err => console.log("service worker not registered", err))
})
};
// Online Verification
function isOnline() {
if (navigator.onLine == true) {
document.getElementById("offline-warning").style.display = "none"
} else {
document.getElementById("offline-warning").style.display = "inline-block"
}
}
setInterval(isOnline, 30000)
</script>
</head>
<body>
<div id="g">
<table id="clock-table">
<tr>
<td >
<span class="hour-minute-show" id="clock_hour"></span>
<span class="hour-minute-show" id="clock_minute"></span>
</td>
<td>
<img id="sun-state-image" width="64px" >
</td>
</tr>
</table>
<div id="clock-calendar">
<span id="clock_weekday"></span>
<span id="clock_day"></span>
<span id="clock_month"></span>
<span id="clock_year"></span>
</div>
</div>
<form id="search-form" autocomplete="off" class="search-form" role="search">
<input type="search" id="search-term" name="search-term" class="search-input" required>
<select id="search-engine" name="search-engine" title="Motor de Pesquisa">
<optgroup label="Web">
<option>Google</option>
<option>Bing</option>
<option>DuckDuckGo</option>
<option>Ecosia</option>
<option>Yahoo</option>
<option>Yandex</option>
</optgroup>
<optgroup label="Development">
<option>Github</option>
<option>Github Gist</option>
<option>GitLab</option>
<option>Stack Overflow</option>
</optgroup>
<optgroup label="Image">
<option>GIPHY</option>
<option>Tenor</option>
</optgroup>
<optgroup label="Video">
<option>Vimeo</option>
<option>Youtube</option>
</optgroup>
<optgroup label="Music">
<option>Apple Music</option>
<option>Musixmatch</option>
<option>Spotify</option>
</optgroup>
</select>
<input id="search-button" type="button" onclick="search(document.getElementById('search-term').value);" value="🔍">
<br>
</form>
<ul id="ul-nav-bar">
<li>
<img src="static/img/blog.png" onclick="Blog()" width="50px">
</li>
<li>
<img src="static/img/contact-us.png" onclick="Social()" width="50px">
</li>
<li class="active">
<img src="static/img/search.png" onclick="Search();" width="50px">
</li>
<li>
<img src="static/img/my_projects.png" onclick="Projects()" width="50px">
</li>
<li>
<img src="static/img/about_me.png" onclick="AboutMe()" width="50px">
</li>
</ul>
<div id="blog" class="blog">
</div>
<div id="my-projects" class="my-projects">
<input type="search" id="project-search" placeholder="Search for projects by their name..." oninput="showAdequateProjects()">
<div id="projects-loader" class="loader"></div>
<span id="projects-footer">See all of my work at <a href="https://github.com/PWRScript"><img src="static/img/github.png" height="16px"></a> and <a href="https://gitlab.com/PWRScript"><img src="static/img/gitlab.png" height="16px"></a></span>
</div>
<div id="contact-me" class="contact-me">
<div class="center">
<h1> Get in touch with me:</h1>
<center>
<a id="social-email"><img class="social-icon" src="static/img/email.png" height="5px"></a>
<a id="social-discord" ><img class="social-icon" src="static/img/discord.png" height="5px"></a>
<a id="social-github" ><img class="social-icon" src="static/img/github.png" height="5px"></a>
<a id="social-gitlab" ><img class="social-icon" src="static/img/gitlab.png" height="5px"></a>
<a id="social-instagram" ><img class="social-icon" src="static/img/instagram.png" height="5px"></a>
</center>
</div>
</div>
<div id="about-me" class="about-me">
<div id="about-me-card" class="center">
<img src="static/img/miguelallopes.jpeg">
<br>
<span id="about-me-name"></span>
<br>
<span id="about-me-description"></span>
<br><br>
<button onclick="Social()">Contact Me</button>
</div>
</div>
<div id="offline-warning" style="position: absolute; top: 0;left: 0; display: inline-block; width: 100%; height: 20px; background-color: crimson;text-align: center; display: none;">
<span>Some features may not work when you're offline</span>
</div>
</body>
</html>
<!-- Scripts -->
<script src="static/js/background.js"></script>
<script src="static/js/clock.js"></script>
<script src="static/js/nav.js"></script>
<script async src="static/js/projectsload.js"></script>
<script src="static/js/feedloader.js"></script>