Initial Blog Commit

This commit is contained in:
Juan 2025-07-04 16:10:22 -04:00
commit 07775036ce
92 changed files with 4980 additions and 0 deletions

View file

@ -0,0 +1,9 @@
const p = document.createElement("p");
p.style.textAlign = "center";
p.style.fontSize = "18pt";
p.innerHTML = "C'mon, move your mouse!"
document.body.append(p);
document.addEventListener("mousemove", e => {
p.innerHTML = `mouseX: ${e.clientX}, mouseY: ${e.clientY}`;
});

14
public/js/topbar.js Normal file
View file

@ -0,0 +1,14 @@
const miniHeader = document.getElementById('mini-header');
const texts = ['use linux', 'i hate css', 'gpl everything', 'made with love']; // add your random text here
const text = texts[Math.floor(Math.random() * texts.length)];
let charIndex = 0;
function typeText() {
if (charIndex < text.length) {
miniHeader.textContent += text.charAt(charIndex);
charIndex++;
setTimeout(typeText, 50); // adjust the typing speed here
}
}
typeText();