diff --git a/frontend-prep/public/IMG_0209.MP4:Zone.Identifier b/frontend-prep/public/IMG_0209.MP4:Zone.Identifier new file mode 100644 index 00000000..053d1127 --- /dev/null +++ b/frontend-prep/public/IMG_0209.MP4:Zone.Identifier @@ -0,0 +1,3 @@ +[ZoneTransfer] +ZoneId=3 +HostUrl=about:internet diff --git a/frontend-prep/src/components/ProductCard.tsx b/frontend-prep/src/components/ProductCard.tsx index 7170cdd1..c851b74c 100644 --- a/frontend-prep/src/components/ProductCard.tsx +++ b/frontend-prep/src/components/ProductCard.tsx @@ -36,7 +36,7 @@ interface ProductCardProps { promo_percent?: number; }>; hasVideo?: boolean; - videoUrl?: string; + videoUrl?: string; // ✨ Nouveau prop pour l'URL de la vidéo categoryColor?: string; coming_soon?: boolean; } diff --git a/frontend-prep/src/context/CartContext.tsx b/frontend-prep/src/context/CartContext.tsx index 7261f9b7..105a79e0 100644 --- a/frontend-prep/src/context/CartContext.tsx +++ b/frontend-prep/src/context/CartContext.tsx @@ -1,5 +1,9 @@ // ============================================ // context/CartContext.tsx - QUANTITÉS EN GRAMMES +// ============================================ +// ✅ quantity = grammes choisis (5, 10, 25, etc.) +// ✅ Pas de boutons +/- dans le panier +// ✅ Pour acheter 2× le même produit, l'ajouter 2 fois import { createContext, @@ -344,3 +348,4 @@ export function CartProvider({ children }: { children: ReactNode }) { ); } +