BUILD PROMPT — OFFLINE SHOP MANAGEMENT APP Build a complete desktop-only single-page…
- User
BUILD PROMPT — OFFLINE SHOP MANAGEMENT APP
Build a complete desktop-only single-page React app for offline retail management. Replace [BRAND] with your app name. Language: French only. Currency: DA (format with spaces). No server, no external APIs. All data lives in src/data/mockData.js.
Theme: Light mode only. Never generate dark mode classes or dark backgrounds. Minimalist editorial style: cards float on a warm light grey background with hairline (#E8E6E3) separators. No decorative gradients, no heavy shadows.
Stack: React, React Router, Tailwind CSS (CSS-first @theme in index.css only), Lucide icons (always monochrome, never inside colored circles), Recharts (recharts), Inter font. Plain JSX, no TypeScript. No version numbers in comments.
Layout: Fixed left sidebar (240px, full viewport height, no scrollbar) + main content area (ml-[240px], warm grey background). Sidebar bottom: a small static sun indicator, a hairline separator, then a connected user row (avatar circle + name + role).
Design direction (high-level):
codeCards: white, rounded corners (md radius), no borders, subtle separation via hairlines. Status: small colored dots or bold/muted text only. No filled colored badges. Buttons: primary is black (#111), secondary is ghost/text with hairline borders. No bright blue accents. Icons: pure monochrome next to text. No background shapes around icons. Tables: clean, hairline row separators, subtle hover. Product cards (Stock + POS browser): vertical portrait orientation (height > width). Image is mandatory at top; if user provides no image, show a clean default placeholder (light grey background with product initial letter). Include an Image / List toggle filter in both Stock and POS. POS (/ventes): Split workspace. Left pane has product browser, category filters, vertical cards, and the mode tabs (Vente | Retour | Commande | Devis | Facture) locked at the bottom of the left pane only. Right pane (~42%) is the active cart — takes full independent height, never interrupted by left-pane tabs. Cart calculates live. Clients/Fournisseurs (/operateurs): Navigation uses text tabs with underline (Clients (8) | Fournisseurs (5)), exactly like editorial tabs. Active gets bold text + black underline. No toggle buttons. Stock (/stock): Same vertical card grid with image mandatory, plus the Image/List filter. List view shows table with small square thumbnails. Sidebar nav: 8 items with monochrome icons. Active item has a subtle low-contrast grey capsule (bg-[#F0EFEF]). No left stripe indicators. - Assistant
MIZAN Commerce est désormais une application React complète de gestion de magasin hors ligne en français.
- Navigation desktop fixe avec 8 pages et interface lumineuse éditoriale dans
src/App.tsx. - Données locales réalistes dans
src/data/mockData.js: 15 produits, 8 clients, 5 fournisseurs et mouvements de janvier. - POS fonctionnel avec recherche référence/code-barres, panier multi-sessions, quantités, retours, modes de vente et paiement Espèces/Crédit/Mixte.
- Catalogue stock image/liste, édition produit complète, variantes, paliers de prix et référence d'import Excel.
- Gestion des opérateurs, règlements, caisse, dépenses, rapports avec Zakat et paramètres d'entreprise/activation.
- Styles Tailwind light-only et thème Inter configurés dans
src/index.css.
Vérification effectuée :
npm run builda abouti avec succès. - Navigation desktop fixe avec 8 pages et interface lumineuse éditoriale dans
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.