diff --git a/buttons/FirtniteButton.png b/buttons/FirtniteButton.png new file mode 100644 index 0000000..3d8320f Binary files /dev/null and b/buttons/FirtniteButton.png differ diff --git a/buttons/rustNOW.png b/buttons/rustNOW.png new file mode 100644 index 0000000..716484a Binary files /dev/null and b/buttons/rustNOW.png differ diff --git a/buttons/ublock.png b/buttons/ublock.png new file mode 100644 index 0000000..a7070cc Binary files /dev/null and b/buttons/ublock.png differ diff --git a/buttons/vscodium.com.png b/buttons/vscodium.com.png new file mode 100644 index 0000000..e36396a Binary files /dev/null and b/buttons/vscodium.com.png differ diff --git a/index.html b/index.html index 097637c..da0ab25 100644 --- a/index.html +++ b/index.html @@ -79,8 +79,8 @@ max-width: 480px; margin: 0 auto; padding: 0 20px; - position: absolute; - bottom: 50px; + position: relative; + bottom: 4px; left: 0; right: 0; } @@ -100,6 +100,10 @@ line-height: 0; } + a { + color: white; + } + div.footer { display: flex; justify-content: center; @@ -119,9 +123,7 @@ ]; function setRandomText() { - const paragraph = document.querySelector('#quote'); - const randomText = texts[Math.floor(Math.random() * texts.length)]; - paragraph.textContent = randomText; + document.querySelector('#quote').textContent = texts[Math.floor(Math.random() * texts.length)]; } document.addEventListener('DOMContentLoaded', setRandomText); @@ -131,10 +133,8 @@ let currentIndex = 0; function cycleText() { - const paragraph = document.querySelector('#thing'); - paragraph.textContent = characters[currentIndex]; - - currentIndex = (currentIndex + 1) % characters.length; + document.querySelector('#thing').textContent = characters[currentIndex]; + currentIndex = currentIndex === 0 ? 1 : 0; } document.addEventListener('DOMContentLoaded', () => { @@ -160,15 +160,15 @@