The surroundings with the project's own pictures, kept in the repository
assets/modern/art holds pictures of the project's own with a catalogue; a key named there is drawn from that folder, whatever a supplied picture pack says about it. The six cards of the surroundings take theirs from it, framed on the faces. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
98fb61dddf
commit
ff9ed94d1b
8 files changed
+102
-15
No files matched your search
@@ -19,7 +19,7 @@ std::string App::render_environment() {
|
||||
for (const auto &row : rows) total += row.at("cost").get<int64_t>();
|
||||
page_title_ = "Umfeld – " + money(total, currency) + " pro Monat";
|
||||
// a card is a third of the page wide; its picture takes the height that is left
|
||||
const double card_width = (2799 - 2 * 31.5) / 3, picture_width = card_width - 2 * 36 - 4, picture_height = 396;
|
||||
const double card_width = (2799 - 2 * 31.5) / 3, picture_width = card_width - 2 * 36 - 4, picture_height = 500;
|
||||
std::string out = "<div class=\"pg-page\" id=\"environment-ring\"><div class=\"env-grid\">";
|
||||
for (size_t i = 0; i < rows.size(); ++i) {
|
||||
const auto &row = rows[i];
|
||||
|
||||
Reference in new issue
Block a user