Skip to content

Commit

Permalink
zig- add www/contact
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Aug 16, 2021
1 parent ae4b44e commit 38b3e92
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/handler/_.zig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub fn getHandler() http.RequestHandler(void) {
http.router.get("/", _index.get),
file_route("/theme.css"),
http.router.get("/about", StaticPek("/about.pek").get),
http.router.get("/contact", StaticPek("/contact.pek").get),
});
}

Expand Down
11 changes: 11 additions & 0 deletions www/contact.pek
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
h2("Contact")
dl(
dt("Email")
dd(a[href="mailto:hello@nektro.net"]("hello@nektro.net"))

dt("Github")
dd(a[href="https://github.com/nektro"]("github.com/nektro"))
)
)
)
)

0 comments on commit 38b3e92

Please sign in to comment.