Skip to content
Open
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
7 changes: 7 additions & 0 deletions .jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## 2026-05-01 - Preventing Navigation Layout Shifts
**Learning:** Adding a border only on hover causes a layout shift (jump) as the element size changes.
**Action:** Initialize `.nav-link` with `border-bottom: 2px solid transparent;` and transition only the `border-color` on hover.

## 2026-05-01 - Global Event Object in HTML Attributes
**Learning:** Relying on the global `event` object in `onclick` attributes is unreliable and can lead to errors in some environments or strict modes.
**Action:** Always pass `this` (or explicitly pass the event) to the handler function, e.g., `onclick="copyCode(this)"`.
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@
.industrial-border { border: 2px solid #27272a; }
.license-box { background: #000; border: 1px solid #3f3f46; position: relative; }

.nav-link { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; color: #a1a1aa; transition: all 0.2s; }
.nav-link:hover { color: #fff; border-bottom: 2px solid var(--lime); }
.nav-link { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; color: #a1a1aa; transition: all 0.2s; border-bottom: 2px solid transparent; }
.nav-link:hover { color: #fff; border-bottom-color: var(--lime); }

.roadmap-card { border-left: 2px solid #3f3f46; transition: all 0.3s ease; }
.roadmap-card:hover { border-left-color: var(--lime); background: #111113; }

.terminal-blink { animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
</style>
</head>
<body class="selection:bg-lime-500 selection:text-black">
Expand All @@ -30,7 +33,7 @@
<nav class="border-b-2 border-white bg-black sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-6 flex justify-between h-20 items-center">
<div class="flex items-center gap-12">
<div class="font-black text-3xl tracking-tighter uppercase italic">RTECH<span class="text-lime-500">_</span></div>
<a href="index.html" class="font-black text-3xl tracking-tighter uppercase italic">RTECH<span class="text-lime-500 terminal-blink">_</span></a>
<div class="hidden lg:flex gap-10">
<a href="#modding" class="nav-link">/Modding</a>
<a href="#roadmap" class="nav-link">/Roadmap</a>
Expand Down
38 changes: 30 additions & 8 deletions os2.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
.code-window::before { content: "TERMINAL_FEED"; position: absolute; top: -10px; left: 20px; background: #000; padding: 0 10px; font-size: 10px; color: var(--lime); font-weight: 800; }

.warning-box { background: rgba(79, 70, 229, 0.05); border-left: 4px solid #6366f1; padding: 2rem; }

.nav-link { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; color: #a1a1aa; transition: all 0.2s; border-bottom: 2px solid transparent; }
.nav-link:hover { color: #fff; border-bottom-color: var(--lime); }

.terminal-blink { animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
</style>
</head>
<body class="selection:bg-lime-500 selection:text-black">
Expand All @@ -43,11 +49,11 @@
<nav class="border-b border-slate-800 bg-slate-950/90 backdrop-blur-xl sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-6 flex justify-between h-20 items-center">
<div class="flex items-center gap-12">
<a href="index.html" class="font-black text-2xl tracking-tighter hover:text-lime-500 transition-colors uppercase">RTECH</a>
<div class="hidden lg:flex gap-10 text-[10px] font-black uppercase tracking-[0.2em] text-slate-400">
<a href="#about" class="hover:text-white">Specs</a>
<a href="#testing" class="hover:text-white">VM_Guidance</a>
<a href="#deployment" class="text-lime-500 underline underline-offset-8">Deployment</a>
<a href="index.html" class="font-black text-3xl tracking-tighter uppercase italic">RTECH<span class="text-lime-500 terminal-blink">_</span></a>
<div class="hidden lg:flex gap-10">
<a href="#about" class="nav-link">/Specs</a>
<a href="#testing" class="nav-link">/VM_Guidance</a>
<a href="#deployment" class="nav-link">/Deployment</a>
</div>
</div>
<div class="text-[10px] font-black uppercase px-4 py-1.5 border border-slate-700 bg-slate-900">VER: 2026.04</div>
Expand Down Expand Up @@ -84,8 +90,11 @@ <h4 class="text-lime-500 font-black text-xs uppercase mb-2">The Zest UI</h4>
</div>
</div>
</div>
<div class="code-window">
<pre class="text-lime-500 text-xs leading-loose">
<div class="code-window group">
<button onclick="copyCode(this)" aria-label="Copy assembly code" class="absolute top-4 right-4 bg-zinc-800 text-lime-500 px-3 py-1 text-[10px] font-black uppercase border border-zinc-700 opacity-0 group-hover:opacity-100 focus:opacity-100 transition-all hover:bg-lime-500 hover:text-black">
Copy
</button>
<pre id="assembly-code" class="text-lime-500 text-xs leading-loose">
; OS*2 SYSTEM_INIT
move rdi 10 ; ALLOC_SOVEREIGNTY
push rdi ; SECURE_REGISTER
Expand Down Expand Up @@ -148,6 +157,19 @@ <h4 class="text-[10px] font-black text-slate-400 uppercase mb-6 tracking-widest"
</footer>

<script>
function copyCode(btn) {
const code = document.getElementById('assembly-code').innerText;
navigator.clipboard.writeText(code).then(() => {
const originalText = btn.innerText;
btn.innerText = "Copied!";
btn.classList.add('bg-lime-500', 'text-black');
setTimeout(() => {
btn.innerText = originalText;
btn.classList.remove('bg-lime-500', 'text-black');
}, 2000);
});
}

async function checkAvailability() {
const btn = document.getElementById('download-btn');
const status = document.getElementById('system-status');
Expand All @@ -170,7 +192,7 @@ <h4 class="text-[10px] font-black text-slate-400 uppercase mb-6 tracking-widest"
status.innerText = "Status: Mirror_Sync_In_Progress";
}
}
window.onload = checkAvailability;
checkAvailability();
</script>
</body>
</html>