What the skill does
The fourteen card shapes, real images first, licensed icons when the photos don't fit, and a review of every card before showing it.
The fourteen shapes
The skill asks for at least twelve versions, one per shape of the card engine, so the business owner sees everything that is possible before choosing:
| Mode | Shapes | What for |
|---|---|---|
| Stamps | grid, circles, free, objects | One reward after N visits |
| Multiple rewards | path, showcase, medals, fill, ring | Better and better rewards |
| Points | fill, ring, path, showcase, medals | Points based on what the customer spends |
Each shape is rendered with concevoir_carte, parameters mode and forme. The modes in detail: Card types.
Real images first
The business's logo (logo_url) and photos of its products (paliers[].image_url) come before any illustration. With no color given, the card takes the logo's colors. Reward photos are cut out, in gray before they are earned, in color after.
Warning : a business owner's images are used for THEIR card, the one offered to them. They are not published anywhere else, and an illustration is never presented as a photo of the business.
Icons and licenses
When a photo doesn't fit a reward (blurry, off topic, unreadable once shrunk), the skill looks for an icon or illustration that says what the reward is at a glance, with a clear license:
- Lucide, Phosphor, Tabler icons (MIT or ISC), recolored in the business's colors;
- Unsplash or Pexels photos and illustrations;
- or one of the sixty or so built-in icons (
paliers[].icone).
Review each card
Before showing anything, each card is opened full size: full name, rewards readable and not cut off, contrasted text, sharp logo, photos recognizable even in gray. A card that fails is redone.
Present, then put it live
One numbered sheet per type, one line per version, and always the same sentence: every image and every icon can be changed. The business owner picks a number; only then does creer_commerce put the card live (preview, then approval).
Updated