summaryrefslogtreecommitdiff
path: root/.zs/components/webring
diff options
context:
space:
mode:
authordelta <darkussdelta@gmail.com>2026-07-25 11:42:01 +0200
committerdelta <darkussdelta@gmail.com>2026-07-25 11:43:48 +0200
commit95ceed33d3adec472f4a1b5d3517baf645766e44 (patch)
tree94d8779483e49f7afe624a15e9d271e6f8fbe430 /.zs/components/webring
parentae36b044f1fc36cd5587b0d3111c2ee72cf0c03f (diff)
site rework!!
Diffstat (limited to '.zs/components/webring')
-rwxr-xr-x.zs/components/webring49
1 files changed, 49 insertions, 0 deletions
diff --git a/.zs/components/webring b/.zs/components/webring
new file mode 100755
index 0000000..375b6c7
--- /dev/null
+++ b/.zs/components/webring
@@ -0,0 +1,49 @@
+#!/usr/bin/lua
+
+package.path = ".zs/?.lua;" .. package.path
+local html = require "components.html"
+
+print(html {
+ tag = "div",
+ class = "webring",
+ {
+ tag = "span",
+ {
+ tag = "a",
+ class = "volatile",
+ href = "https://ring.acab.dev/prev/C1NMCp8IXr",
+ title = "go to the previous page in the webring",
+ "[<<]"
+ }
+ },
+ {
+ tag = "span",
+ {
+ tag = "a",
+ class = "volatile",
+ href = "https://ring.acab.dev/rand/C1NMCp8IXr",
+ title = "go to a random page in the webring",
+ "[?]"
+ }
+ },
+ {
+ tag = "span",
+ {
+ tag = "a",
+ class = "volatile",
+ href = "https://ring.acab.dev",
+ title = "hacker webring",
+ "[⠠⠵ ]"
+ }
+ },
+ {
+ tag = "span",
+ {
+ tag = "a",
+ class = "volatile",
+ href = "https://ring.acab.dev/next/C1NMCp8IXr",
+ title = "go to the next page in the webring",
+ "[>>]"
+ }
+ },
+})