I'll build a comprehensive mobile app UI mockup for Pakistani farmers. Let me start by generating key visual assets, then build out the component architecture.
The leaf disease image failed safety check. Let me retry with adjusted wording.
I'll skip that image and use a CSS/emoji-based illustration instead for the disease sample. Now let's build the app architecture — starting with i18n, context, and mock data.
Now let's create the app context for language, navigation, and cart state.
Now let's create the mock data file with weather, mandi prices, products, experts, and diagnosis data.
Now let's set up global styles with a custom theme (green/earthy palette) and fonts for Urdu/English.
Now let's update index.html with an appropriate title and Urdu font preconnect.
Let's install an icon library to keep the UI polished and consistent.
Now let's build the phone shell wrapper and bottom navigation components.
Now let's build small shared UI helpers (header, weather icons, badges).
Now let's build the Onboarding flow.
Now let's build the Home dashboard screen — the core hub of the app.
Now let's build the Weather screen.
Now the Crop Doctor screen with camera scan simulation and AI diagnosis flow.
Now the Marketplace screen.
Now the Chat/Experts screen.
Now let's build the overlay screens (modals) — starting with commerce-related ones: Product Detail, Cart, Checkout, Orders.
Now let's create the remaining overlays: Notifications, Profile, Insights, Livestock, Mandi list, and Chat Detail.
Now let's build the Chat Detail overlay (individual expert conversation).
Now let's wire everything together in the main App component.
Now let's build the project to check for errors.
Let's move the font loading to index.html via link tags instead, which avoids the CSS import-order warning and is more reliable.
Now let's rebuild to confirm everything works cleanly.
The build is clean now with no warnings. Let me do a final review of the app structure to make sure everything is properly connected.
The build succeeded and the project structure is complete. Here's a summary of what I built:
Kissan Sathi — a complete mobile app UI/UX mockup for Pakistani farmers, presented in a realistic phone-frame shell for desktop preview.
Key features implemented:
- Onboarding flow: language selection (English/Urdu with proper Nastaliq font), feature carousel, location picker, and crop selection
- Home dashboard: personalized greeting, weather snapshot, quick-action cards (Crop Doctor, Mandi Prices, Marketplace, Expert Chat), voice assistant prompt, pest alerts carousel, mandi price snapshot, farm insights, and livestock/orders shortcuts
- Weather screen: hyperlocal current conditions, humidity/wind/rain/UV stats, 7-day forecast, and daily advisories
- AI Crop Doctor: animated camera-scan simulation, AI diagnosis results with confidence score, symptoms, treatment recommendations, linked marketplace products, and expert consultation CTA
- Marketplace: category filters (seeds, fertilizer, pesticide, tools), search, product grid with ratings/sales, product detail page, cart, and checkout with order confirmation
- Expert Chat: expert list with online status/ratings, live chat interface, voice/video call options
- Order tracking: visual status timeline (placed → confirmed → shipped → delivered)
- Profile & extras: farm stats, language/offline toggle settings, notifications panel, personalized farm insights, and livestock advisory screen
Design: Android-first, bottom navigation with a prominent center Crop Doctor button, large touch-friendly cards, green/earthy color palette (custom leaf, earth, wheat theme colors), full Urdu RTL support with Nastaliq typography, offline-mode indicator, and custom-generated regional imagery (farmer illustrations, farmland, products, expert avatars, livestock).
The project builds successfully with no errors or warnings.
Files built: src/i18n.ts, src/context/AppContext.tsx, src/data/mockData.ts, src/index.css, index.html, src/components/PhoneShell.tsx, src/components/BottomNav.tsx, src/components/Shared.tsx, src/screens/Onboarding.tsx, src/screens/Home.tsx, src/screens/Weather.tsx, src/screens/CropDoctor.tsx, src/screens/Marketplace.tsx, src/screens/Chat.tsx, src/screens/overlays/CommerceOverlays.tsx, src/screens/overlays/MiscOverlays.tsx, src/screens/overlays/ChatDetail.tsx, src/App.tsx