mirror of
https://github.com/mileswolfallen2/miles-web.git
synced 2026-09-08 11:23:17 +00:00
Refactor code structure for improved readability and maintainability
This commit is contained in:
+1049
File diff suppressed because it is too large
Load Diff
@@ -71,6 +71,24 @@
|
||||
});
|
||||
})();
|
||||
|
||||
/* GAMES PAGE EASTER EGG: g, a, m, e, s */
|
||||
(function(){
|
||||
const seq = ['g','a','m','e','s'];
|
||||
let pos = 0;
|
||||
window.addEventListener('keydown', function(e){
|
||||
const key = e.key.length === 1 ? e.key.toLowerCase() : e.key;
|
||||
if (key === seq[pos]) {
|
||||
pos++;
|
||||
if (pos === seq.length) {
|
||||
pos = 0;
|
||||
window.location.href = '/games.html';
|
||||
}
|
||||
} else {
|
||||
pos = (key === seq[0]) ? 1 : 0;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
||||
/* CURSOR */
|
||||
(function(){
|
||||
const dot = document.getElementById('cursorDot');
|
||||
|
||||
@@ -326,7 +326,7 @@ html:not(.js) #loadOverlay{display:none}
|
||||
<div class="dev-letter">D</div>
|
||||
<div class="dev-word">DEDICATED</div>
|
||||
<p class="dev-body">Since age 10 I've been building things online — not because anyone asked, but because I couldn't stop. <strong>160 GitHub repos</strong>, a GD demon list with <strong>3,800+ verified runs</strong>, a music app, a rhythm game, and a co-founded studio — all before finishing high school. Dedication isn't a trait, it's a default setting.</p>
|
||||
<div class="dev-tags"><span class="dev-tag">160 repos</span><span class="dev-tag">Est. 2008</span><span class="dev-tag">Pull Shark ×2</span></div>
|
||||
<div class="dev-tags"><span class="dev-tag">160 repos</span><span class="dev-tag">Est. 2011</span><span class="dev-tag">Pull Shark ×2</span></div>
|
||||
</div>
|
||||
<div class="dev-panel">
|
||||
<div class="dev-letter">E</div>
|
||||
@@ -474,7 +474,7 @@ if(reduce){
|
||||
var DOTS=['#e8452a','#2a6ee8','#e8b02a','#2abf6e','#b02ae8','#e82a7a'];
|
||||
var ROWS=[
|
||||
['DEVELOPER','3D ARTIST','DISKETTE LABS','160 REPOS','SEND HELP'],
|
||||
['[email protected]','EST. 2008','GD ADDICT','QUICKDRAW'],
|
||||
['[email protected]','EST. 2011','GD ADDICT','QUICKDRAW'],
|
||||
['MILES WOLF ALLEN','MILES WOLF ALLEN','MILES WOLF ALLEN','MILES WOLF ALLEN','MILES WOLF ALLEN','MILES WOLF ALLEN'],
|
||||
['BUILD. BREAK. REPEAT.','FULL MAXIMALISM','YOLO','CEREAL IS SOUP'],
|
||||
['OMNIEMU','GELECTRON','FEDL','NOVA AI','NOTO','RHYTHM GAME','VANILLA']
|
||||
|
||||
@@ -138,6 +138,12 @@
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://milesallen.site/games.html</loc>
|
||||
<lastmod>2026-08-17</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://milesallen.site/404.html</loc>
|
||||
<lastmod>2026-07-28</lastmod>
|
||||
|
||||
Reference in New Issue
Block a user