summaryrefslogtreecommitdiff
path: root/index.lua
blob: fea3fec0741f2fc675581fe242e5636569056a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
})