This commit is contained in:
parent
eb655b24b6
commit
25805a093a
20 changed files with 788 additions and 805 deletions
12
project.cpp
12
project.cpp
|
|
@ -389,13 +389,11 @@ extern "C" Configuration CrafterBuildProject(std::span<const std::string_view> a
|
|||
// EnableWasiBrowserRuntime — sets <title>/<link> tags since the
|
||||
// Dom partition has no head-element access.
|
||||
cfg.files.emplace_back(fs::path("catcrafts-head.js"));
|
||||
// Product photography. Both renders are © Fairphone under CC BY-SA 4.0 and
|
||||
// are cropped and recompressed here — the Gen. 6 one came via Wikimedia
|
||||
// Commons, the Gen. 6+ one from Fairphone's own Flickr. The attribution and
|
||||
// the adaptation notice the licence requires live on /legal/imprint. NOT in
|
||||
// cfg.assets: that pipeline transcodes to .ctex, which <img> cannot decode.
|
||||
cfg.files.emplace_back(fs::path("images/fp6-pmos.jpg"));
|
||||
cfg.files.emplace_back(fs::path("images/fp6plus-pmos.jpg"));
|
||||
// Product photography goes here as cfg.files entries (images/<slug>.jpg,
|
||||
// referenced by Product::image as "/<slug>.jpg"), NOT in cfg.assets: that
|
||||
// pipeline transcodes to .ctex, which <img> cannot decode. None today: the
|
||||
// catalogue lists only the donation item. When a licensed render returns,
|
||||
// its attribution and adaptation notice belong on /legal/imprint.
|
||||
// ECB rates ride with the content so the wasm-rendered shop (backend-down
|
||||
// fallback) can emit the same indicative prices the server does.
|
||||
cfg.files.emplace_back(fs::path("content/rates.json"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue