Skip to content

Commit b16e34a

Browse files
authored
Update dev console (#237)
1 parent 18ad3c5 commit b16e34a

5 files changed

Lines changed: 298 additions & 162 deletions

File tree

src/_includes/footer.njk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@
7979
</div>
8080
</div>
8181

82+
<div class="relative group">
83+
<button id="self-destruct-btn" onclick="startSelfDestruct()" class="w-full py-2 bg-red-600/20 hover:bg-red-600/40 text-red-500 text-[10px] border border-red-500/50 rounded-lg transition-all flex justify-between px-3 overflow-hidden">
84+
<span id="destruct-text">SYS_SELF_DESTRUCT</span>
85+
<span id="destruct-timer" class="font-black"></span>
86+
</button>
87+
<div id="destruct-bar" class="absolute bottom-0 left-0 h-[2px] bg-red-500 w-0 transition-all"></div>
88+
</div>
89+
8290
<div class="mt-4 pt-4 border-t border-white/10">
8391
<p class="text-[9px] text-slate-500 leading-tight">Secret Console: <span class="text-white">'D'</span></p>
8492
</div>

src/_includes/header.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<div class="flex items-center gap-3 md:gap-4">
3636
{% if page.url == "/" %}
3737
<button onclick="scrollToRandomUser()"
38-
class="px-4 py-2 md:px-6 md:py-3 bg-accent text-white text-[10px] md:text-[11px] font-black uppercase tracking-widest rounded-xl hover:brightness-110 hover:-translate-y-0.5 transition-all shadow-lg shadow-accent/20">
38+
class="surprise-btn px-4 py-2 md:px-6 md:py-3 bg-accent text-white text-[10px] md:text-[11px] font-black uppercase tracking-widest rounded-xl hover:brightness-110 hover:-translate-y-0.5 transition-all shadow-lg shadow-accent/20">
3939
✨ Surprise
4040
</button>
4141
{% endif %}

0 commit comments

Comments
 (0)