{% extends "layouts/base.html" %} {% block content %}

{{ t('hero_title_1') }}{{ t('hero_title_2') }}

{{ t('hero_subtitle') }}

{{ t('get_started') }}
12K+{{ t('active_farmers') }}
50+{{ t('crops_supported') }}
98%{{ t('accuracy_rate') }}
24/7{{ t('ai_support') }}
Farmer
{{ t('nav_crop_advisory') }} {{ t('nav_disease_detection') }} {{ t('nav_fertilizer') }} {{ t('nav_weather') }} {{ t('nav_market') }} {{ t('nav_irrigation') }} {{ t('nav_pest') }} View All

{{ t('todays_summary') }}

{{ weather.temperature|round(0)|int if weather else '--' }}°C

{{ t('weather_today') }}

{{ user.district or weather.district if weather else '' }}

{{ t('disease_alert') }}

{{ t('nav_disease_detection') }}

{{ t('view_details') }}

{{ t('todays_market_price') }}

৳{{ market[0].price_per_kg if market else '--' }}

{{ '+2.5%' }} {{ t('view_market') }}

{{ t('crop_status') }}

75%

{{ t('market_price_update') }}

{% for p in market %} {% else %} {% endfor %}
{{ t('crop_name') }}{{ t('today_price') }}{{ t('yesterday_price') }}{{ t('change') }}
{{ p.crop.crop_name_bn if current_lang=='bn' else p.crop.crop_name }} ৳{{ p.price_per_kg }} ৳{{ p.previous_price }} {{ '+' if p.price_per_kg >= p.previous_price else '' }}{{ (((p.price_per_kg - p.previous_price) / p.previous_price) * 100) | round(1) if p.previous_price else 0 }}%
No market data yet.
{{ t('view_full_market') }}

{{ t('weather_alerts') }}

{% if weather and weather.alert_type != 'None' %}
{{ weather.alert_type }} {{ weather.alert_severity }}

{{ t('rain_probability') }}: {{ weather.rain_probability }}%

{% else %}

No active alerts for your district today.

{% endif %} {{ t('view_details') }}

{{ t('sms_alerts_enabled') }}

{{ t('sms_alerts_desc') }}

{{ t('enable_settings') }}

{{ t('ai_assistant') }}

{{ t('ai_assistant_desc') }}

{{ t('ask_question') }}

{{ t('community_forum') }}

{{ t('nav_forum') }}

{{ t('join_discussion') }}

{{ t('expert_consultation') }}

{{ t('nav_consultation') }}

{{ t('chat_now') }}

{{ t('profit') }} & {{ t('expense') }}

{{ t('income') }}: ৳{{ income }}

{{ t('expense') }}: ৳{{ expense }}

{{ t('profit') }}: ৳{{ profit }}

{% endblock %}