Align the public site with the PRINTFORGE banner for client demos.
CI / test (pull_request) Successful in 38s

Replace orange with cyan/lime/navy, swap the splash for a print animation, make smart-crop optional, and add a prod-safe seed_demo command. Closes #5.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-07 06:05:29 -05:00
co-authored by Cursor
parent 04e75ec7a3
commit 10263e08ff
19 changed files with 34722 additions and 65 deletions
+3
View File
@@ -298,10 +298,12 @@ def portal_product_edit(request, pk=None):
remove_product_images(
product, request.POST.getlist("remove_image")
)
smart_crop = request.POST.get("smart_crop", "on") == "on"
append_product_images(
product,
uploads=request.FILES.getlist("images"),
user=request.user,
smart_crop=smart_crop,
)
for key, color in colors.items():
uploads = request.FILES.getlist(f"color_images_{key}")
@@ -312,6 +314,7 @@ def portal_product_edit(request, pk=None):
uploads=uploads,
user=request.user,
color=color,
smart_crop=smart_crop,
)
refresh_listing_image(product)
_delete_replaced_file(