Semantic stuff, bundle fixes

This commit is contained in:
Tyler 2024-06-30 12:22:00 +01:00
parent 02b93b537b
commit adb6493a14
Signed by: observer
GPG Key ID: 934A62C2C469FFAF
3 changed files with 10 additions and 3 deletions

2
.bundle/config Normal file
View File

@ -0,0 +1,2 @@
---
BUNDLE_PATH: "vendor/bundle"

View File

@ -98,10 +98,15 @@ const quotebank = [
"evil!!!", "evil!!!",
"proud keychron owner!", "proud keychron owner!",
"rotten!", "rotten!",
"is george w bush!" "is george w bush!",
"it's a unix system!",
"runs on forbidden hardware!",
"hosted by gnomes!",
"all your base are belong to me!",
] ]
const len = quotebank.length const len = quotebank.length
const quote = quotebank[Math.floor(Math.random() * len)] const quote = quotebank[Math.floor(Math.random() * len)]
document.getElementById("quote").innerHTML = `“${quote}”` document.getElementById("quote").innerHTML = `“${quote}”`

View File

@ -2,7 +2,7 @@ const resizeHeader = () => {
const container = document.querySelector("main > .container") const container = document.querySelector("main > .container")
const containerWidth = container.scrollWidth const containerWidth = container.scrollWidth
const header = document.querySelector(".container.title-container") const header = document.querySelector(".container.title-container")
header.style.setProperty("min-width", `${containerWidth}px`) header.style.minWidth = `${containerWidth}px`
} }
window.addEventListener("resize", resizeHeader) window.addEventListener("resize", resizeHeader)