summaryrefslogtreecommitdiff
path: root/.zs/components/footer
diff options
context:
space:
mode:
authordelta <darkussdelta@gmail.com>2026-01-27 04:18:15 +0100
committerdelta <darkussdelta@gmail.com>2026-01-27 04:18:15 +0100
commit3026a05a2a2be91aa160de230a838acd5c2b3536 (patch)
tree141ea424f7c4149c27e6749a73fec7dd4fd354ab /.zs/components/footer
parentce0a6c0388b4684d8f15a7ff1049e42e2d8cc63c (diff)
woohoo no more bash componentsHEADmaster
Diffstat (limited to '.zs/components/footer')
-rwxr-xr-x.zs/components/footer91
1 files changed, 91 insertions, 0 deletions
diff --git a/.zs/components/footer b/.zs/components/footer
new file mode 100755
index 0000000..570f714
--- /dev/null
+++ b/.zs/components/footer
@@ -0,0 +1,91 @@
+#!/usr/bin/lua
+
+package.path = ".zs/?.lua;" .. package.path
+local html = require "components.html"
+
+local date = os.date("!%Y-%m-%dT%H:%M:%S%Z")
+
+print(html {
+ tag = "footer",
+ {
+ tag = "div",
+ {
+ 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/prev/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",
+ "[>>]"
+ }
+ },
+ },
+ {
+ tag = "div",
+ {
+ tag = "span",
+ "made with ",
+ {
+ tag = "span",
+ style = "color: var(--red)",
+ "<3"
+ },
+ " by darkuss"
+ },
+ {
+ tag = "span",
+ {
+ tag = "a",
+ href = "/credits.html",
+ "credits"
+ }
+ },
+ {
+ tag = "span",
+ {
+ tag = "a",
+ href = "/privacy.html",
+ "privacy"
+ }
+ },
+ {
+ tag = "span",
+ "last modified: ",
+ {
+ tag = "time",
+ datetime = date,
+ date
+ }
+ }
+ }
+})