-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
116 lines (116 loc) · 5.85 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
<!DOCTYPE html>
<html lang="en" translate="no">
<head>
<meta charset="UTF-8">
<meta property="og:type" content="profile">
<meta property="og:title" content="belomaxorka's space!">
<meta name="description" content="belomaxorka's homepage!">
<title>belomaxorka's space!</title>
<link href="assets/modern-normalize.css" rel="stylesheet">
<link href="assets/styles.css" rel="stylesheet">
<script type="text/javascript" src="assets/scripts.js"></script>
<script type="text/javascript" src="assets/Cookie.min.js"></script>
</head>
<body class="notranslate">
<main>
<code>belomaxorka's space! [Version <span id="placeVersion">6.0.6000</span>]<br></code>
<code>Copyleft 1337-2956. All wrongs reserved.<br><br></code>
<code>A:\><span class="command">belomaxorka about</span><br></code>
<pre>
___ __ __
/ | / /_ ____ __ __/ /_ ____ ___ ___
/ /| | / __ \/ __ \/ / / / __/ / __ `__ \/ _ \
/ ___ |/ /_/ / /_/ / /_/ / /_ / / / / / / __/
/_/ |_/_.___/\____/\__,_/\__/ /_/ /_/ /_/\___/
</pre>
<code>hi there!<br></code>
<code>i'm <a href="#">belomaxorka</a> and this is my homepage.<br><br></code>
<code>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></code>
<code>> nickname(s): belomaxorka, corew<br></code>
<code>> real name: Roman Kelesidis<br></code>
<code>> sex: male<br></code>
<code>> pronouns: he/him<br></code>
<code>> age: <span id="calculatedAge">...</span> years old<br></code>
<code>> birthday: 25 May 2006<br></code>
<code>> languages: ru, en<br></code>
<code>> born in: Greece<br></code>
<code>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br></code>
<code>A:\><span class="command">belomaxorka miscellaneous</span><br></code>
<pre>
__ ____ ____
/ |/ (_)____________ / / /___ _____ ___ ____ __ _______
/ /|_/ / / ___/ ___/ _ \/ / / __ `/ __ \/ _ \/ __ \/ / / / ___/
/ / / / (__ ) /__/ __/ / / /_/ / / / / __/ /_/ / /_/ (__ )
/_/ /_/_/____/\___/\___/_/_/\__,_/_/ /_/\___/\____/\__,_/____/
</pre>
<code>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></code>
<code>> favorite colors: #000, #fff<br></code>
<code>> last played song: <span id="nowPlaying">Getting API response...</span><br></code>
<code>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br></code>
<code>A:\><span class="command">belomaxorka social</span><br></code>
<pre>
_____ _ __ ___ ______ __ __
/ ___/____ _____(_)___ _/ / ( _ ) / ____/___ ____ / /_____ ______/ /______
\__ \/ __ \/ ___/ / __ `/ / / __ \/| / / / __ \/ __ \/ __/ __ `/ ___/ __/ ___/
___/ / /_/ / /__/ / /_/ / / / /_/ < / /___/ /_/ / / / / /_/ /_/ / /__/ /_(__ )
/____/\____/\___/_/\__,_/_/ \____/\/ \____/\____/_/ /_/\__/\__,_/\___/\__/____/
</pre>
<code>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></code>
<code>> telegram: <a target="_blank" href="https://t.me/belomaxorka">@belomaxorka</a><br></code>
<code>> github: <a target="_blank" href="https://github.com/belomaxorka">belomaxorka</a><br></code>
<code>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br></code>
<code>A:\><span class="command"><label><input id="submittedText" maxlength="40" size="40" type="text"></label></span><br></code>
<code id="notifyMessage"></code>
</main>
</body>
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", () => {
// Set white theme
if (Cookie.exists('whiteTheme')) {
document.body.classList.toggle('whiteTheme');
document.getElementById("notifyMessage").style.display = 'inline-block';
document.getElementById("notifyMessage").innerHTML = '<br>white mode activated!';
}
// Place version
document.getElementById("placeVersion").innerHTML = placeVersion();
// Calculate age
document.getElementById("calculatedAge").innerHTML = calculateAge('2006-05-25');
// Now playing
document.getElementById("nowPlaying").innerHTML = nowPlaying();
// Console input
let submittedText = document.querySelector("#submittedText");
submittedText.value = ''; // Reset input by default
submittedText.addEventListener('keydown', (event) => {
if (event.key === 'Enter') {
document.getElementById("notifyMessage").style.display = 'none';
let enteredCommand = submittedText.value;
enteredCommand = enteredCommand.trim();
if (enteredCommand.length !== 0) {
document.getElementById("notifyMessage").style.display = 'inline-block';
switch (enteredCommand) {
case 'belomaxorka about':
case 'belomaxorka misc':
case 'belomaxorka miscellaneous':
case 'belomaxorka social':
// Set cookie for white theme (Easter egg 🥚)
if (Cookie.exists('whiteTheme')) {
Cookie.remove('whiteTheme');
} else {
Cookie.set('whiteTheme', 1, {
sameSite: 'Strict'
});
}
window.location.reload();
break;
default:
enteredCommand = enteredCommand.split(' ')[0];
document.getElementById("notifyMessage").innerHTML = '<br> \'' + enteredCommand + '\' is not recognized as an internal or external command,<br>operable program or batch file.';
window.scrollTo(0, document.body.scrollHeight);
break;
}
}
}
});
});
</script>
</html>