From 3026a05a2a2be91aa160de230a838acd5c2b3536 Mon Sep 17 00:00:00 2001 From: delta Date: Tue, 27 Jan 2026 04:18:15 +0100 Subject: woohoo no more bash components --- .zs/components/footer | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100755 .zs/components/footer (limited to '.zs/components/footer') 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 + } + } + } +}) -- cgit v1.2.3