Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/_includes/bio.njk
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@

{% include "footer.njk" %}

<script src="/assets/js/script.js"></script>
<script>
// Specific helper for the bio page email copy
function copyToClipboard(text, el) {
Expand Down
104 changes: 4 additions & 100 deletions src/_includes/footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -45,106 +45,10 @@
</div>
</footer>

<div id="dev-tools" class="fixed bottom-6 left-6 z-[5000] hidden bg-slate-950/90 border border-accent/40 p-3 rounded-xl shadow-2xl backdrop-blur-md w-64 font-mono">
<div class="flex justify-between items-center mb-2 pb-2 border-b border-white/10">
<h3 class="text-accent text-[9px] font-black uppercase tracking-widest">System Override</h3>
<span class="text-[8px] text-white/40">v1.0.4</span>
</div>

<div class="grid grid-cols-2 gap-1.5 mb-2">
<button onclick="triggerSecretUnlock('matrix')" class="override-btn py-1.5 bg-green-500/5 hover:bg-green-500/20 text-green-500 text-[8px] border border-green-500/20 rounded transition-all">
MATRIX
</button>
<button onclick="triggerSecretUnlock('konami')" class="override-btn py-1.5 bg-yellow-500/5 hover:bg-yellow-500/20 text-yellow-500 text-[8px] border border-yellow-500/20 rounded transition-all">
KONAMI
</button>
<button onclick="triggerSecretUnlock('gravity')" class="override-btn py-1.5 bg-red-500/5 hover:bg-red-500/20 text-red-500 text-[8px] border border-red-500/20 rounded transition-all">
GRAVITY
</button>
<button onclick="triggerSecretUnlock('badge_click')" class="override-btn py-1.5 bg-purple-500/5 hover:bg-purple-500/20 text-purple-400 text-[8px] border border-purple-500/20 rounded transition-all">
BADGE_XP
</button>
</div>
{% include "system-override.njk" %}

<div class="space-y-1 mb-2">
<button onclick="addExperience(5); playSound('click');" class="override-btn w-full flex justify-between px-2 py-1 bg-cyan-500/5 text-cyan-400 text-[8px] border border-cyan-500/20 rounded">
<span>💎 SKILL_MINER</span>
<span class="opacity-50">+5</span>
</button>
<button onclick="addExperience(15); playSound('restore');" class="override-btn w-full flex justify-between px-2 py-1 bg-pink-500/5 text-pink-400 text-[8px] border border-pink-500/20 rounded">
<span>🛠️ SYS_OPTIMIZE</span>
<span class="opacity-50">+15</span>
</button>
<button onclick="triggerMagicXP(); playSound('levelUp');" class="override-btn w-full flex justify-between px-2 py-1.5 bg-gradient-to-r from-purple-600/20 to-blue-600/20 text-purple-400 text-[8px] border border-purple-500/30 rounded hover:from-purple-600/40 hover:to-blue-600/40 transition-all group">
<span>✨ CAST_MAGIC_XP</span>
<span class="group-hover:animate-pulse">+50 XP</span>
</button>
<button onclick="toggleScreenshotMode()" class="override-btn w-full flex justify-between px-2 py-1 bg-white/5 text-slate-400 text-[8px] border border-white/10 rounded">
<span>📸 SCREENSHOT</span>
<span class="opacity-50">[5 Seconds]</span>
</button>
</div>
<div class="mt-4 pt-4 border-t border-white/10">
<label class="text-[8px] text-white/60 uppercase tracking-widest mb-1.5 block font-bold">Coordinate Jump (0-200)</label>
<div class="flex gap-2">
<input
type="number"
id="jump-lvl"
placeholder="0"
min="0"
max="200"
class="override-btn"
style="background-color: #000 !important; color: #00ffcc !important; border: 1px solid #00ffcc !important; width: 60px !important; height: 30px !important; font-size: 14px !important; padding: 0 5px !important; border-radius: 4px !important;"
>
<button
onclick="jumpToLevel()"
class="override-btn flex-1 bg-accent/20 hover:bg-accent/40 text-accent text-[10px] font-black py-1 rounded transition-all border border-accent/40 uppercase"
style="height: 30px !important;"
>
EXECUTE
</button>
</div>
</div>
{% include "matrix-overlay.njk" %}

<div class="flex gap-1.5 pt-2 border-t border-white/10">
<button id="self-destruct-btn" onclick="startSelfDestruct()" class="override-btn flex-1 py-1.5 bg-red-600/10 hover:bg-red-600/30 text-red-500 text-[8px] border border-red-500/30 rounded flex justify-center gap-1">
<span id="destruct-text">DESTRUCT</span>
<span id="destruct-timer"></span>
</button>
<button onclick="localStorage.clear(); location.reload();" class="override-btn px-2 py-1.5 bg-blue-600/10 hover:bg-blue-600/30 text-blue-400 text-[8px] border border-blue-500/20 rounded uppercase">
Reset
</button>
</div>
{% include "system-log.njk" %}

<p class="mt-2 text-center uppercase tracking-tighter text-[9px] text-white/60 tracking-widest mb-1.5 block font-bold">Press <span class="text-red-400">'D'</span> to toggle</p>
</div>

<div id="matrix-overlay" class="fixed inset-0 bg-black hidden z-[9999]">
<canvas id="matrix-canvas" class="block"></canvas>
<button onclick="closeMatrix()" class="fixed top-8 right-8 z-[10000] bg-white/10 hover:bg-white/20 text-white px-6 py-3 rounded-full font-mono text-xs border border-white/30 backdrop-blur-md">
[ESC] EXIT_SIMULATION
</button>
</div>
<button id="reopen-console-btn" onclick="reopenConsole()" class="fixed bottom-6 right-6 p-3 bg-black/80 border border-green-500/30 rounded-full text-green-500 hidden hover:scale-110 transition-all z-[999]" title="Open System Log">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"></polyline><line x1="12" y1="19" x2="20" y2="19"></line></svg>
</button>
<div id="matrix-console-container" class="fixed bottom-6 right-6 w-80 z-[1000] transition-all duration-300 ease-in-out">
<div class="bg-black/90 backdrop-blur-xl border border-green-500/30 rounded-t-lg overflow-hidden shadow-2xl">

<div class="bg-green-500/10 border-b border-green-500/30 px-3 py-2 flex justify-between items-center cursor-grab select-none">
<div class="flex items-center gap-2">
<span class="text-[10px] font-mono text-green-500 uppercase tracking-widest opacity-70">System_Log</span>
</div>

<div class="flex gap-2">
<button onclick="minimizeConsole()" class="w-3 h-3 rounded-full bg-yellow-500/20 border border-yellow-500/50 hover:bg-yellow-500/50 transition-colors" title="Minimize"></button>
<button onclick="maximizeConsole()" class="w-3 h-3 rounded-full bg-green-500/20 border border-green-500/50 hover:bg-green-500/50 transition-colors" title="Maximize"></button>
<button onclick="closeConsole()" class="w-3 h-3 rounded-full bg-red-500/20 border border-red-500/50 hover:bg-red-500/50 transition-colors" title="Close"></button>
</div>
</div>

<div id="matrix-console-output" class="h-48 p-3 overflow-y-auto font-mono text-[11px] leading-tight">
<p class="text-green-500/40">// Terminal link established...</p>
</div>
</div>
</div>
<script src="/assets/js/script.js"></script>
6 changes: 6 additions & 0 deletions src/_includes/matrix-overlay.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<div id="matrix-overlay" class="fixed inset-0 bg-black hidden z-[9999]">
<canvas id="matrix-canvas" class="block"></canvas>
<button onclick="closeMatrix()" class="fixed top-8 right-8 z-[10000] bg-white/10 hover:bg-white/20 text-white px-6 py-3 rounded-full font-mono text-xs border border-white/30 backdrop-blur-md">
[ESC] EXIT_SIMULATION
</button>
</div>
23 changes: 23 additions & 0 deletions src/_includes/system-log.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<button id="reopen-console-btn" onclick="reopenConsole()" class="fixed bottom-6 right-6 p-3 bg-black/80 border border-green-500/30 rounded-full text-green-500 hidden hover:scale-110 transition-all z-[999]" title="Open System Log">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"></polyline><line x1="12" y1="19" x2="20" y2="19"></line></svg>
</button>
<div id="matrix-console-container" class="fixed bottom-6 right-6 w-80 z-[1000] transition-all duration-300 ease-in-out">
<div class="bg-black/90 backdrop-blur-xl border border-green-500/30 rounded-t-lg overflow-hidden shadow-2xl">

<div class="bg-green-500/10 border-b border-green-500/30 px-3 py-2 flex justify-between items-center cursor-grab select-none">
<div class="flex items-center gap-2">
<span class="text-[10px] font-mono text-green-500 uppercase tracking-widest opacity-70">System_Log</span>
</div>

<div class="flex gap-2">
<button onclick="minimizeConsole()" class="w-3 h-3 rounded-full bg-yellow-500/20 border border-yellow-500/50 hover:bg-yellow-500/50 transition-colors" title="Minimize"></button>
<button onclick="maximizeConsole()" class="w-3 h-3 rounded-full bg-green-500/20 border border-green-500/50 hover:bg-green-500/50 transition-colors" title="Maximize"></button>
<button onclick="closeConsole()" class="w-3 h-3 rounded-full bg-red-500/20 border border-red-500/50 hover:bg-red-500/50 transition-colors" title="Close"></button>
</div>
</div>

<div id="matrix-console-output" class="h-48 p-3 overflow-y-auto font-mono text-[11px] leading-tight">
<p class="text-green-500/40">// Terminal link established...</p>
</div>
</div>
</div>
73 changes: 73 additions & 0 deletions src/_includes/system-override.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<div id="dev-tools" class="fixed bottom-6 left-6 z-[5000] hidden bg-slate-950/90 border border-accent/40 p-3 rounded-xl shadow-2xl backdrop-blur-md w-64 font-mono">
<div class="flex justify-between items-center mb-2 pb-2 border-b border-white/10">
<h3 class="text-accent text-[9px] font-black uppercase tracking-widest">System Override</h3>
<span class="text-[8px] text-white/40">v1.0.4</span>
</div>

<div class="grid grid-cols-2 gap-1.5 mb-2">
<button onclick="triggerSecretUnlock('matrix')" class="override-btn py-1.5 bg-green-500/5 hover:bg-green-500/20 text-green-500 text-[8px] border border-green-500/20 rounded transition-all">
MATRIX
</button>
<button onclick="triggerSecretUnlock('konami')" class="override-btn py-1.5 bg-yellow-500/5 hover:bg-yellow-500/20 text-yellow-500 text-[8px] border border-yellow-500/20 rounded transition-all">
KONAMI
</button>
<button onclick="triggerSecretUnlock('gravity')" class="override-btn py-1.5 bg-red-500/5 hover:bg-red-500/20 text-red-500 text-[8px] border border-red-500/20 rounded transition-all">
GRAVITY
</button>
<button onclick="triggerSecretUnlock('badge_click')" class="override-btn py-1.5 bg-purple-500/5 hover:bg-purple-500/20 text-purple-400 text-[8px] border border-purple-500/20 rounded transition-all">
BADGE_XP
</button>
</div>

<div class="space-y-1 mb-2">
<button onclick="addExperience(5); playSound('click');" class="override-btn w-full flex justify-between px-2 py-1 bg-cyan-500/5 text-cyan-400 text-[8px] border border-cyan-500/20 rounded">
<span>💎 SKILL_MINER</span>
<span class="opacity-50">+5</span>
</button>
<button onclick="addExperience(15); playSound('restore');" class="override-btn w-full flex justify-between px-2 py-1 bg-pink-500/5 text-pink-400 text-[8px] border border-pink-500/20 rounded">
<span>🛠️ SYS_OPTIMIZE</span>
<span class="opacity-50">+15</span>
</button>
<button onclick="triggerMagicXP(); playSound('levelUp');" class="override-btn w-full flex justify-between px-2 py-1.5 bg-gradient-to-r from-purple-600/20 to-blue-600/20 text-purple-400 text-[8px] border border-purple-500/30 rounded hover:from-purple-600/40 hover:to-blue-600/40 transition-all group">
<span>✨ CAST_MAGIC_XP</span>
<span class="group-hover:animate-pulse">+50 XP</span>
</button>
<button onclick="toggleScreenshotMode()" class="override-btn w-full flex justify-between px-2 py-1 bg-white/5 text-slate-400 text-[8px] border border-white/10 rounded">
<span>📸 SCREENSHOT</span>
<span class="opacity-50">[5 Seconds]</span>
</button>
</div>
<div class="mt-4 pt-4 border-t border-white/10">
<label class="text-[8px] text-white/60 uppercase tracking-widest mb-1.5 block font-bold">Coordinate Jump (0-200)</label>
<div class="flex gap-2">
<input
type="number"
id="jump-lvl"
placeholder="0"
min="0"
max="200"
class="override-btn"
style="background-color: #000 !important; color: #00ffcc !important; border: 1px solid #00ffcc !important; width: 60px !important; height: 30px !important; font-size: 14px !important; padding: 0 5px !important; border-radius: 4px !important;"
>
<button
onclick="jumpToLevel()"
class="override-btn flex-1 bg-accent/20 hover:bg-accent/40 text-accent text-[10px] font-black py-1 rounded transition-all border border-accent/40 uppercase"
style="height: 30px !important;"
>
<span>▶️ EXECUTE</span>
</button>
</div>
</div>

<div class="flex gap-1.5 pt-2 border-t border-white/10">
<button id="self-destruct-btn" onclick="startSelfDestruct()" class="override-btn flex-1 py-1.5 bg-red-600/10 hover:bg-red-600/30 text-red-500 text-[8px] border border-red-500/30 rounded flex justify-center gap-1">
<span id="destruct-text">💥 DESTRUCT</span>
<span id="destruct-timer"></span>
</button>
<button onclick="localStorage.clear(); location.reload();" class="override-btn px-2 py-1.5 bg-blue-600/10 hover:bg-blue-600/30 text-blue-400 text-[8px] border border-blue-500/20 rounded uppercase">
<span>🔄 Reset</span>
</button>
</div>

<p class="mt-2 text-center uppercase tracking-tighter text-[9px] text-white/60 tracking-widest mb-1.5 block font-bold">Press '<span class="text-red-400">D</span>' to toggle</p>
</div>
Loading