diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/about.pug | 15 | ||||
-rw-r--r-- | views/contact.pug | 11 | ||||
-rw-r--r-- | views/disable.js | 29 | ||||
-rw-r--r-- | views/layout.pug | 35 | ||||
-rw-r--r-- | views/links.pug | 18 | ||||
-rw-r--r-- | views/projects.pug | 13 | ||||
-rw-r--r-- | views/services.pug | 14 |
7 files changed, 0 insertions, 135 deletions
diff --git a/views/about.pug b/views/about.pug deleted file mode 100644 index 38e396d..0000000 --- a/views/about.pug +++ /dev/null @@ -1,15 +0,0 @@ -//- SPDX-License-Identifier: AGPL-3.0-only -extends layout - -block content - h2 about - p - | hi. - | i am a muffin. - | i enjoy starting projects and never finishing them. - | i am also participating in the free software movement. - h3 random stuff - ul - li styling of this page is left as an exercise to the reader. - li this page doesn't make use of the CSS and JavaScript features of "modern" browsers in order to reduce overhead ("bloat"). - li nom nom nom
\ No newline at end of file diff --git a/views/contact.pug b/views/contact.pug deleted file mode 100644 index c2bd2d0..0000000 --- a/views/contact.pug +++ /dev/null @@ -1,11 +0,0 @@ -//- SPDX-License-Identifier: AGPL-3.0-only -extends layout - -block content - h2 contact - ul - li matrix: #[a(href="https://matrix.to/#/@metamuffin:metamuffin.org") @metamuffin:metamuffin.org] - li fedi: #[a(href="https://social.metamuffin.org/@metamuffin") @metamuffin@social.metamuffin.org] - li mail: #[a(href="mailto:metamuffin@disroot.org") metamuffin@disroot.org] - li thats it. - diff --git a/views/disable.js b/views/disable.js deleted file mode 100644 index 37f016c..0000000 --- a/views/disable.js +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: AGPL-3.0-only -// This piece of javascript reminds you to disable javascript. -eval("") // make librejs block this -window.onload = () => { - hide(true) - const text = document.createElement("p") - const link = document.createElement("a") - text.textContent = "A friendly reminder to disable JavaScript by default. " - link.textContent = "Continue anyway" - link.href = "#" - link.addEventListener("click", () => { - text.remove() - hide(false) - - let t = "#this-messes-with-your-history-navigation-buttons-on-purpose" - while (t.length > 0) { - window.location.href = t - t = t.split("-").slice(0, -1).join("-") - } - }) - text.append(link) - document.body.append(text) -} - -function hide(v) { - for (const e of document.body.children) { - e.hidden = v - } -} diff --git a/views/layout.pug b/views/layout.pug deleted file mode 100644 index 7e20cc5..0000000 --- a/views/layout.pug +++ /dev/null @@ -1,35 +0,0 @@ -doctype html -// SPDX-License-Identifier: AGPL-3.0-only -// Author: metamuffin -// Source: https://codeberg.org/metamuffin/website -html(lang="en") - head - meta(charset="UTF-8") - meta(name="viewport", content="width=device-width, initial-scale=1.0") - title metamuffin.org - body - noscript - header - h2 metamuffin - nav - ul - li: a(href="/about") about - li: a(href="/services") services - li: a(href="/projects") projects - li: a(href="/links") links - li: a(href="/contact") contact - hr - - block content - p pretty empty here... - - hr - footer - p - | metamuffin.org version of commit #{commit} - | licenced under the GNU AGPL 3.0: - | see #[a(href="/licence") licence]. - | sources can be found on #[a(href="https://codeberg.org/metamuffin/website") codeberg]. - p copyright (C) 2020, 2021, 2022 metamuffin - p (ignore the following, i can't hide it easily) - p Please disable javascript to view this page. diff --git a/views/links.pug b/views/links.pug deleted file mode 100644 index 1628263..0000000 --- a/views/links.pug +++ /dev/null @@ -1,18 +0,0 @@ -//- SPDX-License-Identifier: AGPL-3.0-only -extends layout - -block content - h2 links - - h3 me on other webpages - ul - li: a(href="https://codeberg.org/metamuffin") codeberg - - h3 my friends websites - ul - li: a(href="https://potatoxel.org/") potatoxel - li: a(href="https://pixificial.xyz/") pixificial - li: a(href="http://sofviic.com/") sofviic - li - strike #[a(href="https://bgfxc4.de/") bgfxc4] (who uses 10 lines of proprietary javascript on their page. :scream:). - span: b now exclusively viewable with js.
\ No newline at end of file diff --git a/views/projects.pug b/views/projects.pug deleted file mode 100644 index 0017f86..0000000 --- a/views/projects.pug +++ /dev/null @@ -1,13 +0,0 @@ -//- SPDX-License-Identifier: AGPL-3.0-only -extends layout - -block content - h2 projects - - ul - li: a(href="https://s.metamuffin.org/games/lunar-lander/") lunar lander - li: a(href="https://s.metamuffin.org/projects/molecule-viewer/") molecule viewer - li: a(href="https://s.metamuffin.org/projects/covid-mobility/output/") covid mobility data charts using google's data - - pre // TODO this list is not comlpete - diff --git a/views/services.pug b/views/services.pug deleted file mode 100644 index 2d8e4cb..0000000 --- a/views/services.pug +++ /dev/null @@ -1,14 +0,0 @@ -//- SPDX-License-Identifier: AGPL-3.0-only -extends layout - -block content - h2 services - p metamuffin.org offers some free and gratis services: - ul - li #[a(href="https://lsvp.metamuffin.org") lsvp.metamuffin.org] - libresyncedvideoplayer - li #[a(href="https://meet.metamuffin.org") meet.metamuffin.org] - keks-meet - li #[a(href="https://s.metamuffin.org") s.metamuffin.org] - static file hosting (see #[a(href="/projects") projects]) - li #[a(href="https://social.metamuffin.org") social.metamuffin.org] - misskey instance (view-only, does not accept registrations) - li #[a(href="https://git.metamuffin.org") git.metamuffin.org] - cgit for my personal repository (also ro ofc) - p please only use these services to an extent that does not interfer with usage of others and the servers performance. - p if you have any suggestions for improvements, #[a(href="./contact") contact me]. |