Add irrigation and fertilization recommendations, farm AI assistant, and pest detection features with Persian localization

- Introduced new sections in the dashboard for irrigation recommendations, fertilization recommendations, farm AI assistant, and pest detection.
- Added Persian translations for new features to enhance user experience.
- Updated the vertical menu to include links to the new sections.
- Enhanced global styles with animations for improved UI interactions.
This commit is contained in:
2026-02-21 00:19:25 +03:30
parent 0eb109725e
commit 2b6538c650
17 changed files with 2448 additions and 0 deletions
@@ -0,0 +1,8 @@
// Components Imports
import { FarmAiAssistantChat } from '@views/dashboards/farm/farmAiAssistant'
const FarmAiAssistantPage = () => {
return <FarmAiAssistantChat />
}
export default FarmAiAssistantPage
@@ -0,0 +1,8 @@
// Components Imports
import SmartFertilizationRecommendation from '@views/dashboards/farm/smartFertilization/SmartFertilizationRecommendation'
const FertilizationRecommendationPage = async () => {
return <SmartFertilizationRecommendation />
}
export default FertilizationRecommendationPage
@@ -0,0 +1,8 @@
// Components Imports
import SmartIrrigationRecommendation from '@views/dashboards/farm/smartIrrigation/SmartIrrigationRecommendation'
const IrrigationRecommendationPage = async () => {
return <SmartIrrigationRecommendation />
}
export default IrrigationRecommendationPage
@@ -0,0 +1,8 @@
// Components Imports
import PlantPestDetection from '@views/dashboards/farm/pestDetection/PlantPestDetection'
const PestDetectionPage = async () => {
return <PlantPestDetection />
}
export default PestDetectionPage
+37
View File
@@ -146,3 +146,40 @@ code {
background-color: rgb(var(--mui-palette-info-mainChannel) / 0.08);
border: 0;
}
/* Smart Irrigation - fade-in animation */
@keyframes fade-in {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in {
animation: fade-in 0.5s ease-out forwards;
}
/* Hide horizontal scrollbar for growth stage stepper */
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
/* Farm AI Assistant - typing indicator bounce */
@keyframes typing-bounce {
0%, 80%, 100% {
transform: scale(0.6);
opacity: 0.5;
}
40% {
transform: scale(1);
opacity: 1;
}
}