fixed tag lines
This commit is contained in:
@@ -797,38 +797,35 @@ $style = @'
|
|||||||
});
|
});
|
||||||
|
|
||||||
// ===========================================
|
// ===========================================
|
||||||
//
|
// ─ rotating tagline ───────────────────────────────
|
||||||
// ===========================================
|
// ===========================================
|
||||||
|
|
||||||
// ── rotating tagline ───────────────────────────────
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
(function(){
|
|
||||||
const taglines = [
|
const taglines = [
|
||||||
|
|
||||||
"Fast deployments, no monkey business.",
|
"Fast deployments, no monkey business.",
|
||||||
"Bananas for better builds.",
|
"Bananas for better builds.",
|
||||||
“Deploy without flinging code.”,
|
"Deploy without flinging code.",
|
||||||
“Tame your stack. Unleash the monkey.”,
|
"Tame your stack. Unleash the monkey.",
|
||||||
“Monkey see, monkey deploy.”,
|
"Monkey see, monkey deploy.",
|
||||||
“Deploy smarter—with a monkey on your team.”,
|
"Deploy smarter—with a monkey on your team.",
|
||||||
“Don't pass the monkey—let it deploy.”,
|
"Don't pass the monkey—let it deploy.",
|
||||||
“No more monkeying around. Stack handled.”,
|
"No more monkeying around. Stack handled.",
|
||||||
“Own your stack. But let the monkey do the work.”,
|
"Own your stack. But let the monkey do the work.",
|
||||||
“Why throw code when the monkey's got it?”,
|
"Why throw code when the monkey's got it?",
|
||||||
“Deployments so easy, a monkey could do it. Ours does.”,
|
"Deployments so easy, a monkey could do it. Ours does.",
|
||||||
“Monkey in the stack, not on your back.”
|
"Monkey in the stack, not on your back."
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const el = document.getElementById("tagline");
|
const el = document.getElementById("tagline");
|
||||||
let idx = Math.floor(Math.random() * taglines.length);
|
let idx = Math.floor(Math.random() * taglines.length);
|
||||||
el.textContent = taglines[idx];
|
el.textContent = taglines[idx];
|
||||||
|
|
||||||
// if you want it to *change* every 10s:
|
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
idx = (idx + 1) % taglines.length;
|
idx = (idx + 1) % taglines.length;
|
||||||
el.textContent = taglines[idx];
|
el.textContent = taglines[idx];
|
||||||
}, 10_000);
|
}, 10_000);
|
||||||
})();
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user