-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
228 lines (200 loc) · 9.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="google-site-verification" content="y0mgvDJ26LcHGs5D61JCy_7_7x7EWCw7EdGTEmgKgGo" />
<meta name="description" content="My little space on the internet.">
<meta name="keywords" content="Awashcard0, Awashcard0 projects , awash, wash card, wash card0">
<meta name="author" content="Awashcard0">
<meta property="og:title" content="Awashcard0" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://awashcard0.com/" />
<meta property="og:image" content="https://awashcard0.com/icon.png" />
<meta property="og:description" content="My little space on the internet." />
<meta property="og:site_name" content="Awashcard0's lovely website" />
<link rel="manifest" href="manifest.json" />
<link href="favicon.ico" type="image/x-icon" rel="shortcut icon"><link href="favicon.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" href="style.css">
<title>Awashcard0</title>
</head>
<body>
<section class="hero">
<div class="hero-content">
<div>
<img class="centerimg hero-title" src="/icon-big.png" style="vertical-align: bottom;">
<h1 style="display: inline; font-size: 50px;" class="gradient hero-title">Hello, I'm Awashcard0</h1>
</div>
<h2 class="hero-subtitle">A <a id="distro">Linux Connoisseur</a>, Avid Programmer and Open Source lover.</h2>
<noscript>
<p>It is <strong>new Date().getFullYear();</strong> and you dont have javascript on. You do you I guess.</p>
</noscript>
ㅤ<br onclick="document.getElementById('main').scrollIntoView({behavior: 'smooth', block: 'center'});">
<div class="scroll-down" onclick="document.getElementById('main').scrollIntoView({behavior: 'smooth', block: 'center'});"></div>
ㅤ<br onclick="document.getElementById('main').scrollIntoView({behavior: 'smooth', block: 'center'});">ㅤ<br onclick="document.getElementById('main').scrollIntoView({behavior: 'smooth', block: 'center'});">
</div>
</section>
<div class="premain">
<div class="main" id="main">
<div class="top">
<img id="img" class="centerimg" src="/icon-big.png" style="vertical-align: bottom;">
<div style="display: inline; font-size: 50px;" class="gradient"> ⋅</div>
<h1 style="display: inline; font-size: 50px;" class="gradient">Awashcard0</h1>
</div>
<br>ㅤ
<div class="mainContent">
<div class="tile">
<h2>About Me</h2>
<p>Welcome to my little spot on the web.</p>
<p>To see my projects, visit my <a style="color: rgb(202, 211, 245);" href="/projects">projects page</a>.</p>
</div>
<div class="tile">
<h2 id="profiles">Online Profiles</h2>
<div class="profile">
<a target="_blank" rel="noopener noreferrer" href="https://github.com/Awashcard0">
<img src="/images/icons/github.svg" alt="GitHub">
<h2 style="display: inline;">Awashcard0</h2>
</a>
</div>
<div class="profile">
<a target="_blank" rel="noopener noreferrer" href="https://discord.com/users/598999688103985223">
<img src="/images/icons/discord.svg" alt="Discord">
<h2 style="display: inline;">@awashcard0</h2>
</a>
</div>
<div class="profile">
<a target="_blank" rel="noopener noreferrer" href="mailto:mail@awashcard0.com">
<img src="/images/icons/email.svg" alt="Email">
<h2 style="display: inline;">mail@awashcard0.com</h2>
</a>
</div>
</div>
<!--- <div class="tile">
<h2>Skills</h2>
<div class="skills">
<div class="section-1">
<h2>Stuff I know</h2>
<h3>Programming</h3>
<p>C++, Java, JavaScript, HTML, CSS</p>
<h3>Tools</h3>
<p>Git, Docker, Linux, Android</p>
</div>
<div class="section-2">
<h2>Skills I'm learning</h2>
<h3>Programming</h3>
<p>Python, TypeScript</p>
<h3>Frameworks</h3>
<p>React, TailwindCSS</p>
</div>
<div class="section-3">
<h2>Skills I want to learn</h2>
<h3>Programming</h3>
<p>Rust, Go, C</p>
<h3>Tools</h3>
<p>Ansible, Kubernetes</p>
</div>
</div>
</div> -->
<div class="footer tilenottop">
<p>Made By Awashcard0</p>
<div class="88x31">
<a target="_blank" rel="noopener noreferrer" href="https://awashcard0.com/">
<img src="/images/88x31.png" alt="Awash 88x31">
</a>
</div>
</div>
<!-- <div class="tile tilenottop">
<h2>What I use</h2>
<p>The hardware and software I use</p>
<h3>Hardware</h3>
<p>I use the Framework Laptop 13.</p>
<h3>Software</h3>
<p>I use Endeavor OS on my laptop and Kubuntu on my desktop. I care more about stability on my desktop but Endeavor OS has been pritty stable (Once it told me to run fsck manually which was not fun because I have never seen it before).</p>
</div>
<div class="tile tilenottop">
<h2>Interests</h2>
</div> -->
</div>
</div>
</div>
</body>
<script>
const img = document.getElementById("img");
let spining = false;
var deg = spining ? 14400 : 0;
img.addEventListener("mouseenter", () => {
spining = true;
spin();
});
img.addEventListener("mouseleave", () => {
spining = false;
spin();
});
function spin() {
deg = spining ? 14400 : 0;
img.style.transform = "rotate(" + deg + "deg)";
}
const profiles = document.getElementById("profiles");
profiles.addEventListener("mouseenter", () => {
profiles.innerText = "Ways to stalk me";
});
profiles.addEventListener("mouseleave", () => {
profiles.innerText = "Online Profiles";
});
const distro = document.getElementById("distro");
distro.addEventListener("mouseenter", () => {
distro.innerHTML = "EndeavorOS user so basically <b>I use Arch btw<b>";
});
distro.addEventListener("mouseleave", () => {
distro.innerText = "Linux Connoisseur";
});
const images = [
"./images/nestThermostatVro.jpg", // vro is hot
];
let colors = [];
let vroed = false;
function setRandomBackground() {
colors = [];
for (let i = 0; i < 6; i++) {
colors.push(Math.floor(Math.random() * 255));
}
document.documentElement.style.setProperty("background", `linear-gradient(rgba(${colors[0]}, ${colors[1]}, ${colors[2]}, 0.6), rgba(${colors[3]}, ${colors[4]}, ${colors[5]}, 0.6))${vroed ? `, url('${images[0]}')` : ''}`);
document.documentElement.style.setProperty("background-size", "cover");
document.documentElement.style.setProperty("background-position", "center center");
document.documentElement.style.setProperty("background-attachment", "fixed");
document.documentElement.style.setProperty("background-repeat", "no-repeat");
document.documentElement.style.setProperty("transition", "background 2s ease-in-out, background-color 2s ease-in-out");
document.documentElement.style.transition = "background 2s ease-in-out, background-color 2s ease-in-out";
}
// setInterval(setRandomBackground, 5000);
// setRandomBackground();
setTimeout(() => {
if (Math.floor(Math.random() * 10) == 5) {
return; // disable vro temporarily
const index = Math.floor(Math.random() * images.length);
const pic = images[index];
if (pic === images[0]) {
document.querySelector('.hero-subtitle').innerText = "Vro is hot";
}
vroed = true;
document.documentElement.style.setProperty("background", `linear-gradient(rgba(255, 30, 30, 0.5), rgba(11, 0, 105, 0.5)), url('${pic}'`)
document.documentElement.style.setProperty("background-size", "cover");
document.documentElement.style.setProperty("background-position", "center center");
document.documentElement.style.setProperty("background-attachment", "fixed");
document.documentElement.style.setProperty("background-repeat", "no-repeat");
}
}, 15000);
let scrolled = false;
addEventListener("scroll", () => {
if (Math.floor(window.scrollY) > 30 && !scrolled) {
document.getElementById("main").scrollIntoView({behavior: "smooth", block: "center"});
setTimeout(() => {
scrolled = true;
}, 750);
} else if (Math.floor(window.scrollY) < 30) {
scrolled = false;
}
});
</script>
</html>
</div>