From ac95f1bb098283852568785991b1e262c340fa65 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Wed, 28 May 2025 11:15:28 -0400 Subject: [PATCH] fixed tag lines --- StackMonkey.ps1 | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index 0148a50..a5a78f4 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -797,38 +797,35 @@ $style = @' }); // =========================================== - // + // ─ rotating tagline ─────────────────────────────── // =========================================== - - // ── rotating tagline ─────────────────────────────── - (function(){ + + document.addEventListener('DOMContentLoaded', () => { const taglines = [ - "Fast deployments, no monkey business.", "Bananas for better builds.", - “Deploy without flinging code.”, - “Tame your stack. Unleash the monkey.”, - “Monkey see, monkey deploy.”, - “Deploy smarter—with a monkey on your team.”, - “Don't pass the monkey—let it deploy.”, - “No more monkeying around. Stack handled.”, - “Own your stack. But let the monkey do the work.”, - “Why throw code when the monkey's got it?”, - “Deployments so easy, a monkey could do it. Ours does.”, - “Monkey in the stack, not on your back.” - - + "Deploy without flinging code.", + "Tame your stack. Unleash the monkey.", + "Monkey see, monkey deploy.", + "Deploy smarter—with a monkey on your team.", + "Don't pass the monkey—let it deploy.", + "No more monkeying around. Stack handled.", + "Own your stack. But let the monkey do the work.", + "Why throw code when the monkey's got it?", + "Deployments so easy, a monkey could do it. Ours does.", + "Monkey in the stack, not on your back." ]; + const el = document.getElementById("tagline"); let idx = Math.floor(Math.random() * taglines.length); el.textContent = taglines[idx]; - // if you want it to *change* every 10s: setInterval(() => { idx = (idx + 1) % taglines.length; el.textContent = taglines[idx]; }, 10_000); - })(); + }); +