Navigation, lineawesome icons, more sections, inxi.txt

This commit is contained in:
DarkCat09 2023-03-17 16:56:58 +04:00
parent 3856235544
commit 771c63df54
23 changed files with 4847 additions and 38 deletions

View file

@ -4,3 +4,13 @@ addEventListener('load', () => {
const age = delta / (1000 * 3600 * 24 * 365.25)
document.getElementById('age').innerText = Math.floor(age)
})
addEventListener('load', () => {
const xhr = new XMLHttpRequest()
xhr.open('GET', '/inxi.txt')
xhr.onreadystatechange = () => {
if (xhr.readyState != xhr.DONE || xhr.status != 200) return
document.getElementById('inxi').innerText = xhr.response
}
xhr.send()
})