diff --git a/embeds/nav.html b/embeds/nav.html index 02f24d2..8080b2f 100644 --- a/embeds/nav.html +++ b/embeds/nav.html @@ -1,11 +1,8 @@ diff --git a/views/crt/index.html b/views/crt/index.html deleted file mode 100644 index 5abf2d6..0000000 --- a/views/crt/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - abtmtr.link - CRT - - - - -
-
- -
-
-
- - diff --git a/views/domain/index.html b/views/domain/index.html deleted file mode 100644 index c5f4ba3..0000000 --- a/views/domain/index.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Domain - abtmtr.link - - - - - - - <$ loader.html $> -
-
-

Domain

-

What's on this domain.

-
- <$ nav.html $> - -
-
-
-

Getting domain indexes...

-
-
- - - - - diff --git a/views/favicon.ico b/views/favicon.ico deleted file mode 100644 index e4089b7..0000000 Binary files a/views/favicon.ico and /dev/null differ diff --git a/views/index.html b/views/index.html index 7343512..0748bd5 100755 --- a/views/index.html +++ b/views/index.html @@ -75,12 +75,7 @@
-
-
- ⸻ welcome to ⸻ -

ABTMTR.LINK

-
-
+

welcome to ABTMTR.LINK

<$ nav.html $> @@ -91,48 +86,15 @@ Hey! 👋 -
-

- I'm... - not loading. -

-
-

- I'm a web developer, Fediverse enthusiast, and compulsory Minnesotan. -

-

I run this domain and all of the services on it!

- - +

Welcome to abtmtr.link.

+

abtmtr.link is a domain for a suite of services, ranging from micro-blogging to web search.

-
-
-
+
+

Getting domain indexes...

-
-
- - - - + diff --git a/views/links/index.html b/views/links/index.html index c553b2c..0585b9a 100644 --- a/views/links/index.html +++ b/views/links/index.html @@ -13,7 +13,7 @@

Links

-

Where else you can find me.

+

Where else you can find traces of abtmtr.link.

<$ nav.html $> diff --git a/views/projects/index.html b/views/projects/index.html index 30bf7fa..0c9bcd7 100755 --- a/views/projects/index.html +++ b/views/projects/index.html @@ -14,7 +14,7 @@

Projects

-

Various projects I've made.

+

Various projects.

<$ nav.html $> diff --git a/views/projects/item/clock/assets/tones/beethoven.mp3 b/views/projects/item/clock/assets/tones/beethoven.mp3 index 19af526..b0cab37 100644 Binary files a/views/projects/item/clock/assets/tones/beethoven.mp3 and b/views/projects/item/clock/assets/tones/beethoven.mp3 differ diff --git a/views/projects/item/clock/assets/tones/ringer.mp3 b/views/projects/item/clock/assets/tones/ringer.mp3 index 3644290..fefd960 100644 Binary files a/views/projects/item/clock/assets/tones/ringer.mp3 and b/views/projects/item/clock/assets/tones/ringer.mp3 differ diff --git a/views/projects/item/clock/assets/tones/tone.mp3 b/views/projects/item/clock/assets/tones/tone.mp3 index ced1db5..54782ec 100644 Binary files a/views/projects/item/clock/assets/tones/tone.mp3 and b/views/projects/item/clock/assets/tones/tone.mp3 differ diff --git a/views/qna/index.html b/views/qna/index.html new file mode 100644 index 0000000..074808a --- /dev/null +++ b/views/qna/index.html @@ -0,0 +1,42 @@ + + + + + abtmtr.link + + + + + +
+

FAQ

+

What's going on with abtmtr.link?

+ <$ nav.html $> + + +
+
+
+
+

Wasn't abtmtr.link a personal website?

+

abtmtr.link is still a personal website, but there's not really a person to attach it to at this moment.

+

Whatever ends up happening to abtmtr.link will be written here.

+
+
+

I'm confused.

+

We are too.

+
+
+

Who's "we"?

+

No answer.

+
+
+

Genuinely, why is this page so cryptic? Is this an ARG?

+

There is no ARG. This is just how we have fun :3

+

Check pronouns.cc for more info.

+
+
+ + + + diff --git a/views/qna/scripts/get_qna.js b/views/qna/scripts/get_qna.js new file mode 100644 index 0000000..85030b2 --- /dev/null +++ b/views/qna/scripts/get_qna.js @@ -0,0 +1,13 @@ +const data_get = document.getElementById("data_get"); +fetch_ask("https://blog.abtmtr.link/api/collections/mtr/posts/quick-q-and-a") + .then((x) => x.json()) + .then((data) => { + data_get.innerHTML = data.data.body + .replace(/^### (.*?$)/gim, '

$1

') // h3 tag + .replace(/^## (.*?$)/gim, '

$1

') // h2 tag + .replace(/^# (.*?$)/gim, '

$1

') // h1 tag + .replace(/\[(.*?)\]\((.*?)\)/gim, '$1') // link text + .replace(/\*\*(.*?)\*\*/gim, '$1') // bold text + .replace(/\*(.*?)\*/gim, '$1') // italic text + .replace(/\`(.*?)\`/gim, '$1') // code text + }); diff --git a/views/domain/scripts/data_get_domain.js b/views/scripts/data_get_domain.js similarity index 96% rename from views/domain/scripts/data_get_domain.js rename to views/scripts/data_get_domain.js index c819b03..fb62955 100644 --- a/views/domain/scripts/data_get_domain.js +++ b/views/scripts/data_get_domain.js @@ -41,9 +41,9 @@ fetch_ask("https://blog.abtmtr.link/api/collections/paste/posts/domain") const id = `${subdomain.name.replaceAll(".", "")}-uptime`; return ( html + - `

${ + `

${ subdomain.name - }

+ }

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

${x}

`).join("")} ${subdomain.name} x.json()) - .then((user) => { - data_whoami.innerHTML = ` -

I'm ${ - user.names[0].value - }, also better known online as ${ - user.display_name - }. (${user.pronouns - .filter((pronoun) => pronoun.status == "okay") - .map((pronoun) => pronoun.pronouns.split("/")[0]) - .join("/")})

`; - about.innerHTML = `

Bio

${user.display_name}
${user.bio - .replace(URL_REGEXP, (m) => `${m}`) - .replaceAll("\n", "
")}

`; - const curTime = new Date(); - timezone.innerHTML = `(UTC${user.utc_offset > 0 ? "+" : "-"}${Math.abs( - user.utc_offset / (60 * 60) - )})`; - buttonflags.onclick = () => { - user.flags.forEach((flag) => { - const props = flag.description.split(";"); - initDocument( - props[0].split(","), - props[1], - props[2], - props[3], - flag.name - ); - }); - }; - buttonflags.disabled = false; - function updateTime() { - curTime.setTime(Date.now()); - time.innerHTML = curTime.toLocaleTimeString("en-us", { - timeZone: "America/Chicago", - }); - weekday.innerHTML = curTime.toLocaleString("en-us", { - weekday: "long", - timeZone: "America/Chicago", - }); - - window.requestAnimationFrame(updateTime); - } - window.requestAnimationFrame(updateTime); - nofetchy.style.display = null; - fields.innerHTML = user.fields - .map( - (fieldset) => ` -
-

${fieldset.name}

-
    ${fieldset.entries - .map((entry) => `
  • ${entry.value}
  • `) - .join("")}
-
` - ) - .join(""); - }); - -fetch_ask("https://local.abtmtr.link/api/v1/accounts/stat/statuses") - .then((x) => x.json()) - .then((statuses) => { - console.log(statuses); - statusus.innerHTML = `

Current status

${statuses[0].content}

`; - }); diff --git a/views/styles/myapp.css b/views/styles/myapp.css index 1b8964b..6cb1fde 100644 --- a/views/styles/myapp.css +++ b/views/styles/myapp.css @@ -51,7 +51,7 @@ .nav p { display: grid; - grid-template-columns: 1fr 1fr 1fr; + grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1em; }