# Design.md — IndiaAgriTrade (RamDayal Agri Commodities) Wholesale Trading Desk A comprehensive UI/UX, Component Architecture, and Visual Design Specification for building the **IndiaAgriTrade RamDayal BackOffice & Wholesale Trading Desk** using **Vue 3 (Composition API / ``` ### 5.2 Live Mandi Commodity Ticker (`MandiTickerMarquee.vue`) ```vue ``` ### 5.3 Sauda Entry Form Dialog (`SaudaSlipModal.vue`) ```vue ``` --- ## 6. Responsive Strategy & Mobile Mandi Trader UX Agricultural trading operators frequently shift between desktop multi-column screens at the trading desk and smartphone screens while in the field at APMC yards or godowns. 1. **Card-Based Row Collapsing**: - On desktop, view dense data grids (`table` layout with 10+ columns: Sauda No, Time, Commodity, Counterparty, Qty, Rate, Total, Status, Action). - On mobile (`< 768px`), automatically collapse tables into high-contrast swipeable cards showing Commodity badge, Net Qtl, Rate in large mono font, and quick call/WhatsApp buttons for counterparties. 2. **Offline Resilience & Touch Targets**: - Touch targets for trade execution buttons ≥ 44px × 44px. - PWA ready design with local cache for mandi price sheets when network in rural APMC yards drops. 3. **Hindi / Bilingual Terminology Support**: - Labels pair formal English with conversational Mandi Hindi terms (e.g., *Kharid/Buy*, *Bikri/Sell*, *Bora/Bag*, *Bardana/Packaging*, *Karda/Deduction*, *Hamali/Labor*). --- ## 7. Implementation Roadmap & Quickstart ```bash # 1. Initialize Vue 3 project with Vite & Tailwind CSS npm create vite@latest india-agri-trade -- --template vue cd india-agri-trade npm install -D tailwindcss postcss autoprefixer @tailwindcss/forms npx tailwindcss init -p # 2. Key recommended libraries npm install pinia vue-router lucide-vue-next ``` This specification provides the full architectural, functional, and aesthetic blueprint to implement the **IndiaAgriTrade RamDayal BackOffice & Wholesale Trading Desk** in Vue 3 with Tailwind CSS.