Flesh out home page
This commit is contained in:
parent
2b1509bfe2
commit
4e4255618a
|
@ -12,11 +12,26 @@ void home_route(const httplib::Request& req, httplib::Response& res, const Confi
|
|||
};
|
||||
|
||||
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("ul", {
|
||||
get_artwork_element(106623268, "アル社長の日常", 1960050, "torino"),
|
||||
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));
|
||||
|
|
Loading…
Reference in New Issue