From 29bed1d447f349d50a20cea6a25ec75f750e0691 Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Mon, 13 Oct 2025 06:09:32 +0000 Subject: [PATCH] =?UTF-8?q?Add=20"Stock=20limit=C3=A9"=20option=20to=20ima?= =?UTF-8?q?ge=20editor=20promotional=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the `Ribbon` interface and image editor UI to include "Stock limité" as a selectable option for promotional text. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/Z8vED4L --- client/src/pages/image-editor.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/src/pages/image-editor.tsx b/client/src/pages/image-editor.tsx index aa4a96a..20fb3ca 100644 --- a/client/src/pages/image-editor.tsx +++ b/client/src/pages/image-editor.tsx @@ -18,7 +18,7 @@ import { useToast } from "@/hooks/use-toast"; interface Ribbon { enabled: boolean; - text: "Promo" | "Nouveauté" | "Arrivage"; + text: "Promo" | "Nouveauté" | "Arrivage" | "Stock limité"; color: "red" | "yellow"; position: "north_west" | "north_east"; } @@ -468,6 +468,10 @@ export default function ImageEditor() { +
+ + +