Spaces:
Running
Running
Ctrl+K
✅ Prompt: Web Admin Panel Design – FarmAIQ (Advanced, Functional & Scalable) Design a light-themed, clean, and scalable web admin panel for a G2B agricultural intelligence platform called FarmAIQ, focused on climate prediction, crop advisory, and farmer monitoring. The design must be fully functional, support future module extensions, and be developer-friendly. 🔹 Layout Structure: Header (Sticky): Left: FarmAIQ logo. Center: Page title with breadcrumb. Right: User avatar with dropdown (Profile, Settings, Logout). Left Sidebar Navigation (Collapsible): Sticky & vertical with clear icons + labels: Dashboard Farmers Recommendations Logs Settings Logout Highlight active tab. Responsive behavior (hamburger menu on mobile). Main Dashboard Page: Top Stats Cards (4): Total Farmers Active Recommendations Weather Alerts Sent Risk Level Regions Live Weather Panel (Optional) with next 3-day forecast. Farmer Table: Columns: Name, Region, Status, Last Alert, Action button (view / recommend). Filters: Region, risk level, status. Pagination & search bar. Slide-In Modal – Send Recommendation: Triggered from Action button. Fields: Crop type Recommendation type (Weather, Disease, Irrigation) Message Schedule time (Now / Later) CTA: “Send Now” / “Schedule” Logs Page: Table view of all alerts and actions. Filters: Date, user, type (AI, Manual), result. Export CSV / PDF option. Settings Page (Future Expansion): User management Roles & permissions System integrations (API keys, weather providers) 🎨 Design Style & UX Guidelines: Theme: Light mode, minimalistic with whitespace. Colors: Primary: #2A6AE2 (blue) Accent: #42B983 (green) Neutrals: #F9FAFB (background), #E5E7EB (borders), #111827 (text) Font: Inter or Roboto (clean, readable) UI Details: Soft shadows on cards Rounded corners (8px–12px) Smooth slide-in/out modal transitions Button states: hover, disabled, active Success/error toasts on form actions 📱 Responsiveness & Accessibility: Mobile/tablet support: collapsible sidebar, stacked content Color contrast meets WCAG AA standards Keyboard navigability ARIA labels for all interactive elements Button size: min 44x44px for touch devices ⚙️ Functionality Considerations (Future-Proof): Modular card layout: can add crop-specific stats later. Add map view (regional risk overlay) in future. Alert templates management (future module) Multilingual UI toggle (Uzbek, Russian, English) Real-time notification center (top-right bell icon) 📌 Footer: Static at bottom. Includes: “FarmAIQ v0.1” “© 2025 Infinite.ex – All rights reserved” Small feedback link/button 💡 Known Issues to Avoid / Improve: Make sure modals don’t break layout on small screens. Some buttons were unresponsive in earlier versions – fix CTA state handling. Fix inconsistent padding inside tables and card headers. Keep code modular and layout clear for frontend developer handoff. 🔧 Optional Enhancements (Advanced): These are not MVP but can be visually prepared for next versions: Map-based farmer distribution Chatbot interface docked bottom-right Graph view: Historical data trends (crop yield vs alert rate) Role-based dashboard variants - Initial Deployment
5e58ebb verified