From 81c61965c41bc7cd24e28cdfc577ed81f9cc5eb7 Mon Sep 17 00:00:00 2001 From: blankie Date: Sat, 6 May 2023 00:05:30 +0700 Subject: [PATCH] Document illustration badges --- README.md | 7 +++++++ routes/home.cpp | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index 0962c4f..27741dc 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,10 @@ This list is not exhaustive, nor does it mean that these are being worked on. - No search - No ability to login - No ability to see comments or like counts + +# Miscellaneous Information + +In a page containing a list of illustrations (e.g. a user's illustrations page +or a search results page), illustrations containing multiple images will have a +badge indicating the amount of images inside. Illustrations that are marked as +being AI-generated will have a badge with a red background. diff --git a/routes/home.cpp b/routes/home.cpp index 3830b46..2e9a163 100644 --- a/routes/home.cpp +++ b/routes/home.cpp @@ -39,6 +39,12 @@ void home_route(const httplib::Request& req, httplib::Response& res, const Confi Element("li", {"Can only search for newest and oldest illustrations"}), Element("li", {"No ability to login"}), Element("li", {"No ability to see comments or like counts"}), + }), + Element("h2", {"Miscellaneous Information"}), + Element("p", { + "In a page containing a list of illustrations (e.g. a user's illustrations page or a search results page), " + "illustrations containing multiple images will have a badge indicating the amount of images inside. " + "Illustrations that are marked as being AI-generated will have a badge with a red background." }) }); serve(req, res, config, "Pixwhile", std::move(body));