summaryrefslogtreecommitdiff
path: root/index.lua
diff options
context:
space:
mode:
Diffstat (limited to 'index.lua')
-rw-r--r--index.lua51
1 files changed, 51 insertions, 0 deletions
diff --git a/index.lua b/index.lua
new file mode 100644
index 0000000..fea3fec
--- /dev/null
+++ b/index.lua
@@ -0,0 +1,51 @@
+require"h"
+
+head ={ safereadf "head.html", tag("title","ubq323's website") }
+top = header {
+ tag("img",{id="me",src="me.png"},""),
+ h1 "ubq323's website",
+ p [[rebecca, "ubq323" (she/her, 20) - eminently engromulent]],
+}
+
+function l(text,path) return li(a(text,path or "/"..text)) end
+mainsect = section {
+ p [[hello, i am rebecca, and this is my website. on it are some things:]];
+ 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";
+ };
+ p [[(if a link is missing, it is because i haven't created that thing yet)]]
+}
+
+
+
+contact = section {
+ h2 "contact";
+
+ p "i enjoy it when people contact me. if you are cool, please contact me.";
+ ul {
+ 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]],
+ },
+}
+footer = safe [[
+<hr>
+
+<!-- GEORGE -->
+<iframe height="50" src="https://george.gh0.pw/embed.cgi?ubq323" style="border:none;width:100%"></iframe>
+<!-- johnvertisements -->
+<iframe src="https://john.mondecitronne.com/embed?ref=ubq323.website" style="margin-left:auto;display:block;margin-right:auto;max-width:732px;width:100%;height:12.367%;border:none;"></iframe>
+]]
+
+
+print(html{
+ head, top, mainsect, contact, footer
+})