Skip to content

Commit 50b2aa1

Browse files
Add random footer phrases
1 parent 04d05ae commit 50b2aa1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

index.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,8 +638,31 @@ <h1>Swim Check 🏊</h1>
638638
return minutes * 60 + seconds;
639639
}
640640

641+
// Random footer phrases
642+
function setRandomFooterPhrase() {
643+
const phrases = [
644+
'Made with <span class="heart">❤️</span> in war-torn PDX',
645+
'Made with <span class="heart">❤️</span> while PDX is aflame',
646+
'Built with <span class="heart">❤️</span> and the bravery to venture into PDX streets',
647+
'Made with <span class="heart">❤️</span> between pickleball games in war-ravaged PDX',
648+
'Crafted with <span class="heart">❤️</span> from the front lines of PDX',
649+
'Freshly brewed with <span class="heart">❤️</span> and Courier Coffee',
650+
'Finely tuned with <span class="heart">❤️</span> and Blue Star donuts',
651+
'Bravely coded with <span class="heart">❤️</span> from the epicenter of the PDX war zone',
652+
'Banged out with <span class="heart">❤️</span> and used gear from Revival Drums PDX',
653+
'Shamelessly sponsored with <span class="heart">❤️</span> by [YOUR COMPANY HERE]'
654+
];
655+
656+
const randomPhrase = phrases[Math.floor(Math.random() * phrases.length)];
657+
const footerElement = document.getElementById('footerPhrase');
658+
if (footerElement) {
659+
footerElement.innerHTML = randomPhrase;
660+
}
661+
}
662+
641663
// Initialize app on load
642664
loadData();
665+
setRandomFooterPhrase();
643666
</script>
644667
</body>
645668
</html>

0 commit comments

Comments
 (0)