Flesh out home page

This commit is contained in:
blankie 2023-04-09 22:28:00 +07:00
parent 2b1509bfe2
commit 4e4255618a
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 16 additions and 1 deletions

View File

@ -12,11 +12,26 @@ void home_route(const httplib::Request& req, httplib::Response& res, const Confi
}; };
Element body("body", { Element body("body", {
Element("p", {"Pixwhile is an alternative frontend to Pixiv that utilizes no Javascript."}), "Pixwhile is an alternative frontend to Pixiv that utilizes no Javascript. (",
Element("a", {{"href", "https://gitlab.com/blankX/pixwhile"}}, {"source code"}),
")",
Element("h2", {"Try it out"}), Element("h2", {"Try it out"}),
Element("ul", { Element("ul", {
get_artwork_element(106623268, "アル社長の日常", 1960050, "torino"), get_artwork_element(106623268, "アル社長の日常", 1960050, "torino"),
get_artwork_element(94449946, "Gura and Shion", 15961697, "ZWJ") get_artwork_element(94449946, "Gura and Shion", 15961697, "ZWJ")
}),
Element("h2", {"Features"}),
Element("ul", {
Element("li", {"Does not contain an asinine amount of Javascript"}),
Element("li", {"Allows you to open the original versions of cover images and profile pictures"}),
Element("li", {"Can view illustrations and list user illustrations"})
}),
Element("h2", {"Missing Features"}),
Element("p", {"This list is not exhaustive, nor does it mean that these are being worked on."}),
Element("ul", {
Element("li", {"No search"}),
Element("li", {"No ability to login"}),
Element("li", {"No ability to see comments or like counts"}),
}) })
}); });
serve(req, res, config, "Pixwhile", std::move(body)); serve(req, res, config, "Pixwhile", std::move(body));