diff --git a/views/branding/scripts/data_get_member.js b/views/branding/scripts/data_get_member.js index da62371..97878af 100644 --- a/views/branding/scripts/data_get_member.js +++ b/views/branding/scripts/data_get_member.js @@ -2,7 +2,7 @@ const characters = document.getElementById("characters"); const CURRENT_CHARACTER = "meowcatheorange/iszac"; -fetch(`https://beta.trollcall.xyz/api/troll/${CURRENT_CHARACTER}`) +fetch_ask(`https://beta.trollcall.xyz/api/troll/${CURRENT_CHARACTER}`) .then((x) => x.json()) .then((char) => { var name = char.name diff --git a/views/domain/scripts/data_get_domain.js b/views/domain/scripts/data_get_domain.js index fc1ca64..281c3c4 100644 --- a/views/domain/scripts/data_get_domain.js +++ b/views/domain/scripts/data_get_domain.js @@ -1,14 +1,18 @@ const data_get = document.getElementById("data_get"); -fetch("https://blog.abtmtr.link/api/collections/paste/posts/domain") +fetch_ask("https://blog.abtmtr.link/api/collections/paste/posts/domain") .then((x) => x.json()) .then((paste) => { const data = JSON.parse(paste.data.body); data_get.innerHTML = data.reduce( (html, subdomain) => html + - `

${subdomain.name}

+ `

${ + subdomain.name + }

${subdomain.description.map((x) => `

${x}

`).join("")} - ${subdomain.name}`, + ${subdomain.name}`, "" ); }); diff --git a/views/favicon.ico b/views/favicon.ico index 45636af..35cab8d 100644 Binary files a/views/favicon.ico and b/views/favicon.ico differ diff --git a/views/links/scripts/data_get_links.js b/views/links/scripts/data_get_links.js index 9f7bcbd..2b7f057 100644 --- a/views/links/scripts/data_get_links.js +++ b/views/links/scripts/data_get_links.js @@ -1,5 +1,5 @@ const data_get = document.getElementById("data_get"); -fetch("https://pronouns.cc/api/v1/users/MeowcaTheoRange") +fetch_ask("https://pronouns.cc/api/v1/users/MeowcaTheoRange") .then((x) => x.json()) .then((user) => { data_get.innerHTML = user.links.reduce( diff --git a/views/projects/item/clock/update.js b/views/projects/item/clock/update.js index fe0e12a..ea110b0 100644 --- a/views/projects/item/clock/update.js +++ b/views/projects/item/clock/update.js @@ -8,14 +8,16 @@ function reqData(start) { if (resp != prevSha) { window.sessionStorage.setItem("commitsha", resp); if (start) return; - document.querySelector("#updatesha").innerHTML = `from job v. ${prevSha} to job v. ${resp}`; + document.querySelector( + "#updatesha" + ).innerHTML = `from job v. ${prevSha} to job v. ${resp}`; document.querySelector("#updatedialog").classList.add("open"); } }; - fetch("https://ClockCheckGithub.meowcatheorange.repl.co") - .then(x => x.text()) - .then(y => donedata(y)); + fetch_ask("https://ClockCheckGithub.meowcatheorange.repl.co") + .then((x) => x.text()) + .then((y) => donedata(y)); } setInterval(reqData, 60000); diff --git a/views/projects/scripts/data_get_projects.js b/views/projects/scripts/data_get_projects.js index 6042fa1..5e4c837 100644 --- a/views/projects/scripts/data_get_projects.js +++ b/views/projects/scripts/data_get_projects.js @@ -1,5 +1,5 @@ const data_get = document.getElementById("data_get"); -fetch("./public/projects.json") +fetch_ask("./public/projects.json") .then((x) => x.json()) .then((projects) => { data_get.innerHTML = projects.items @@ -37,4 +37,4 @@ fetch("./public/projects.json")

`, "" ); - }); \ No newline at end of file + }); diff --git a/views/scripts/accessibility.js b/views/scripts/accessibility.js index 085677c..c6c5c6a 100755 --- a/views/scripts/accessibility.js +++ b/views/scripts/accessibility.js @@ -18,13 +18,16 @@ const FONTS = [ ["OpenDyslexic"], // ["Mojangles", "Minecraft"], // ["Nintendo DS", "NDS12"], - ["System Default", `-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + [ + "System Default", + `-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", - "Segoe UI Symbol"`], + "Segoe UI Symbol"`, + ], ["Sans-serif", "sans-serif"], ["Serif", "serif"], - ["Mono", "monospace"] -] + ["Mono", "monospace"], +]; function createAccessibilityNodes() { document.querySelector("#accessibility").innerHTML = `
@@ -52,7 +55,10 @@ function createAccessibilityNodes() {