Initial commit

This commit is contained in:
ifaryd
2026-05-12 16:54:38 +00:00
commit 8638273475
92 changed files with 6861 additions and 0 deletions

21
static/js/all.js Normal file
View File

@@ -0,0 +1,21 @@
document.currentScript.insertAdjacentHTML('afterend', Array.from({ length: 48 }, (_, i) => {
const greens = ['rgba(25,112,97,.8)', 'rgba(34,145,120,.6)', 'rgba(16,80,65,.9)', 'rgba(45,160,130,.5)'];
return `<div class="dm-cell" style="background:${greens[i % 4]}"></div>`;
}).join(''));
/* FAQ toggle */
function toggleFaq(btn) {
btn.parentElement.classList.toggle('open');
}
/* Scroll reveal */
const revealEls = document.querySelectorAll('.reveal');
const io = new IntersectionObserver((entries) => {
entries.forEach(e => {
if (e.isIntersecting) {
e.target.classList.add('visible');
io.unobserve(e.target);
}
});
}, { threshold: 0.12 });
revealEls.forEach(el => io.observe(el));