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-02 - Layout Stability on Hover
**Learning:** Using `border-bottom: 2px solid transparent` on navigation links as a baseline prevents layout shifts when applying a colored border on hover, maintaining visual stability.
**Action:** Always initialize interactive elements that gain borders on state changes with a transparent border of the same width.

## 2026-05-02 - Robust Clipboard Utility
**Learning:** For a technical audience, a "Copy to Clipboard" utility in terminal-style code windows significantly improves utility. Providing immediate visual feedback ("Copied!") and a fallback for non-secure/legacy environments (using a hidden textarea) ensures a reliable experience across all browsers.
**Action:** Implement clipboard utilities with both `navigator.clipboard` and an `execCommand('copy')` fallback, accompanied by clear state-change feedback on the trigger element.
11 changes: 7 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
.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; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.terminal-blink { animation: blink 1s step-end infinite; }
</style>
</head>
<body class="selection:bg-lime-500 selection:text-black">
Expand All @@ -30,11 +32,12 @@
<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>
<a href="#license" class="nav-link">/License</a>
<a href="#contact" class="nav-link">/Contact</a>
</div>
</div>
<div class="flex items-center gap-6">
Expand Down Expand Up @@ -130,7 +133,7 @@ <h4 class="text-lime-500 font-black text-sm mb-4 uppercase">03. Commercial Logic
</section>

<section class="py-40 px-6 text-center">
<h2 class="text-4xl font-black uppercase italic mb-8">Direct Technical Interface.</h2>
<h2 id="contact" class="text-4xl font-black uppercase italic mb-8">Direct Technical Interface.</h2>
<div class="mb-12">
<p class="text-zinc-400 font-bold uppercase text-xs mb-4">Inquiries / Commercial Registration:</p>
<a href="mailto:richardwojc@gmail.com" class="text-2xl font-black text-white hover:text-lime-500 transition-colors">richardwojc@gmail.com</a>
Expand Down
51 changes: 45 additions & 6 deletions os2.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
.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); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.terminal-blink { animation: blink 1s step-end infinite; }
</style>
</head>
<body class="selection:bg-lime-500 selection:text-black">
Expand All @@ -43,11 +47,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 @@ -85,6 +89,7 @@ <h4 class="text-lime-500 font-black text-xs uppercase mb-2">The Zest UI</h4>
</div>
</div>
<div class="code-window">
<button onclick="copyCode(this)" class="absolute top-4 right-4 text-[10px] font-black uppercase bg-zinc-800 px-3 py-1 hover:bg-lime-500 hover:text-black transition-colors">Copy</button>
<pre class="text-lime-500 text-xs leading-loose">
; OS*2 SYSTEM_INIT
move rdi 10 ; ALLOC_SOVEREIGNTY
Expand Down Expand Up @@ -170,7 +175,41 @@ <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();

function copyCode(btn) {
const pre = btn.nextElementSibling;
const text = pre.innerText;

// Fallback for non-https environments if navigator.clipboard is unavailable
if (navigator.clipboard && navigator.clipboard.writeText) {
navigator.clipboard.writeText(text).then(() => {
updateButton(btn);
});
} else {
const textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.select();
try {
document.execCommand('copy');
updateButton(btn);
} catch (err) {
console.error('Fallback copy failed', err);
}
document.body.removeChild(textArea);
}
}

function updateButton(btn) {
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);
}
</script>
</body>
</html>