summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh6
-rw-r--r--garden.lua34
-rw-r--r--h.lua2
-rw-r--r--head.html2
-rw-r--r--index.lua7
5 files changed, 44 insertions, 7 deletions
diff --git a/build.sh b/build.sh
index c2c57f0..5f492f2 100755
--- a/build.sh
+++ b/build.sh
@@ -21,6 +21,10 @@ bp() {
}
# build page with extensions automatically
bpn() { bp ${1}.lua ${1}.html; }
+
+# build page into subdir (xyz.lua becomes /xyz/)
+bpnd() { md "$1"; bp ${1}.lua ${1}/index.html; }
+
# copy file (or dir)
cf() {
echo "${src}/$1 -> ${dst}/$1"
@@ -38,6 +42,8 @@ cf me.png
md questions
bpn questions/questions
+bpnd garden
+
# md blog
# bp blogindex.lua blog/index.html
diff --git a/garden.lua b/garden.lua
new file mode 100644
index 0000000..4d0212f
--- /dev/null
+++ b/garden.lua
@@ -0,0 +1,34 @@
+require'h'
+
+local head = mkhead'garden'
+local top = mksmalltopbox('garden')
+local bread = bcrumb{
+ {'< home','/'},
+ {'garden'}
+}
+
+local sect = section {
+ h2'garden',
+ p[[
+garden is a multiplayer paint program. the single canvas is infinite and persistent.]],
+ img({src="https://ubq323.website/files/uiQWlN0R.png"},''),
+ p[[you can:]],
+ ul{
+ li{ a("download it","/files/garden"), [[ (linux x86 binary, needs sdl2) ]] },
+ li{ [[build ]], a("the source code","//g.gh0.pw/garden"), " yourself." },
+ },
+}
+
+local ch = section {
+ h2'changelog',
+ dl{
+ dt[[v1.0.0 (2024-04-29):]],
+ dd[[initial release]],
+ },
+}
+
+
+
+print(html{
+ head, top, bread, sect, ch
+})
diff --git a/h.lua b/h.lua
index 18b2504..46f5d7d 100644
--- a/h.lua
+++ b/h.lua
@@ -167,6 +167,6 @@ end
-- the box at the top with the cool picture of me in, etc
-- presumably the same on all pages
site_top = mktopbox('/me.png',"ubq323's website",
- p [[rebecca, "ubq323" (she/her, 20) - eminently engromulent]]
+ p [[rebecca, "ubq323" (she/her, 20s) - effervescently engromulent]]
)
diff --git a/head.html b/head.html
index 57ed8b3..53e9e30 100644
--- a/head.html
+++ b/head.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
-<link rel="icon" href="/m/interesting3.png">
+<link rel="icon" href="/files/interesting3.png">
<style>
body {font-family: sans-serif;font-size:larger;max-width:60ch;margin:auto}
body {background-image: url("/bg.png");image-rendering:pixelated}
diff --git a/index.lua b/index.lua
index 2e5b470..8fb25b9 100644
--- a/index.lua
+++ b/index.lua
@@ -8,15 +8,12 @@ mainsect = section {
ul {
l(",flappy fly bird man?","/ffbm");
l "morrison";
- li "blog";
- li "microblog";
l("apioforum","//a.gh0.pw");
l("ubq323 git","//g.gh0.pw");
l("some music","//ubq323.bandcamp.com");
- li "projects";
l("questions","/questions/questions.html");
+ l "garden";
};
- p [[(if a link is missing, it is because i haven't created that thing yet)]]
}
@@ -29,7 +26,7 @@ contact = section {
li [[email: ubq323@ubq323.website]],
li [[xmpp: ubq323@ubq323.website]],
li { [[irc: ubq323 on ]], a("apionet","irc:ubq323.website/#a") },
- li [[discord (if you must): ubq323#9691]],
+ li [[discord (if you must): ubq323]],
li { 'the ', a('questions page','/questions/questions.html') },
},
}