diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 2bc7ff6..f086418 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -17,7 +17,7 @@ export default function ContactPage() { borderRadius="pill" contentWidth="small" sizing="mediumSizeLargeTitles" - background="noiseDiagonalGradient" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="solid" @@ -35,9 +35,7 @@ export default function ContactPage() { { name: "Community", id: "/contact" }, ]} button={{ - text: "Get Started", - href: "/contact", - }} + text: "Get Started", href: "/contact"}} buttonClassName="bg-primary-cta text-primary-cta-text px-6 py-2 rounded-pill font-medium hover:opacity-90 transition-opacity" /> @@ -50,7 +48,7 @@ export default function ContactPage() { description="Subscribe to receive updates on new features, farming tips, market insights, and exclusive offers for our community." tagIcon={Mail} tagAnimation="slide-up" - background={{ variant: "noiseDiagonalGradient" }} + background={{ variant: "radial-gradient" }} useInvertedBackground={false} inputPlaceholder="Enter your email address" buttonText="Subscribe Now" @@ -63,25 +61,16 @@ export default function ContactPage() { diff --git a/src/app/page.tsx b/src/app/page.tsx index 6ef4638..f2d8e96 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -35,6 +35,7 @@ import { Leaf, Wrench, MessageCircle, + MapPin, } from "lucide-react"; export default function HomePage() { @@ -45,7 +46,7 @@ export default function HomePage() { borderRadius="pill" contentWidth="small" sizing="mediumSizeLargeTitles" - background="noiseDiagonalGradient" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="solid" @@ -63,9 +64,7 @@ export default function HomePage() { { name: "Community", id: "/contact" }, ]} button={{ - text: "Get Started", - href: "/contact", - }} + text: "Get Started", href: "/contact"}} buttonClassName="bg-primary-cta text-primary-cta-text px-6 py-2 rounded-pill font-medium hover:opacity-90 transition-opacity" /> @@ -78,7 +77,7 @@ export default function HomePage() { tag="Agricultural Innovation" tagIcon={Sprout} tagAnimation="slide-up" - background={{ variant: "noiseDiagonalGradient" }} + background={{ variant: "glowing-orb" }} useInvertedBackground={false} buttons={[ { text: "Start Farming Smart", href: "/features" }, @@ -91,32 +90,20 @@ export default function HomePage() { imagePosition="right" testimonials={[ { - name: "Rajesh Kumar", - handle: "Farmer, Maharashtra", - testimonial: - "AGRIIYUG helped me increase my crop yield by 35% through market insights and disease detection.", - rating: 5, + name: "Rajesh Kumar", handle: "Farmer, Maharashtra", testimonial: + "AGRIIYUG helped me increase my crop yield by 35% through market insights and disease detection.", rating: 5, imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-45-year-old-indian-male-fa-1772631157691-22ddc493.png", - }, + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-45-year-old-indian-male-fa-1772631157691-22ddc493.png"}, { - name: "Priya Singh", - handle: "Farmer, Punjab", - testimonial: - "Finally, a platform that understands our needs. The community support is incredible.", - rating: 5, + name: "Priya Singh", handle: "Farmer, Punjab", testimonial: + "Finally, a platform that understands our needs. The community support is incredible.", rating: 5, imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-40-year-old-indian-female--1772631157358-2c61fee3.png", - }, + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-40-year-old-indian-female--1772631157358-2c61fee3.png"}, { - name: "Mohan Patel", - handle: "Farmer, Gujarat", - testimonial: - "Real-time market data has transformed how I sell my products. No middlemen needed.", - rating: 5, + name: "Mohan Patel", handle: "Farmer, Gujarat", testimonial: + "Real-time market data has transformed how I sell my products. No middlemen needed.", rating: 5, imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-50-year-old-indian-male-fa-1772631158241-f116b977.png", - }, + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-50-year-old-indian-male-fa-1772631158241-f116b977.png"}, ]} testimonialRotationInterval={5000} /> @@ -135,22 +122,14 @@ export default function HomePage() { animationType="slide-up" features={[ { - title: "Real-Time Market Prices", - description: - "Access government market data and track crop prices across regions instantly.", - bentoComponent: "animated-bar-chart", - button: { text: "Learn More", href: "/features" }, + title: "Real-Time Market Prices", description: + "Access government market data and track crop prices across regions instantly.", bentoComponent: "animated-bar-chart", button: { text: "Learn More", href: "/features" }, }, { - title: "AI Crop Disease Detection", - description: - "Upload plant images and get instant AI-powered disease identification with treatment solutions.", - bentoComponent: "phone", - statusIcon: Lock, + title: "AI Crop Disease Detection", description: + "Upload plant images and get instant AI-powered disease identification with treatment solutions.", bentoComponent: "phone", statusIcon: Lock, alertIcon: AlertCircle, - alertTitle: "Disease Detected", - alertMessage: "Early blight detected on tomato plant", - apps: [ + alertTitle: "Disease Detected", alertMessage: "Early blight detected on tomato plant", apps: [ { name: "Gallery", icon: Image }, { name: "Camera", icon: Camera }, { name: "Soil Data", icon: Database }, @@ -163,11 +142,8 @@ export default function HomePage() { button: { text: "Try Detection", href: "/features" }, }, { - title: "Soil Health Analytics", - description: - "Detailed soil data integration with recommendations for optimal crop selection and fertilization.", - bentoComponent: "icon-info-cards", - items: [ + title: "Soil Health Analytics", description: + "Detailed soil data integration with recommendations for optimal crop selection and fertilization.", bentoComponent: "icon-info-cards", items: [ { icon: Droplet, label: "Moisture", value: "65%" }, { icon: Activity, label: "pH Level", value: "7.2" }, { icon: Leaf, label: "Nitrogen", value: "120 ppm" }, @@ -175,21 +151,14 @@ export default function HomePage() { button: { text: "Check Soil", href: "/features" }, }, { - title: "Equipment Rental Marketplace", - description: - "Rent modern farming equipment from nearby providers at affordable rates.", - bentoComponent: "marquee", - centerIcon: Wrench, - variant: "text", - texts: ["Tractors", "Harvesters", "Drip Systems", "Sprayers", "Tillers"], + title: "Equipment Rental Marketplace", description: + "Rent modern farming equipment from nearby providers at affordable rates.", bentoComponent: "marquee", centerIcon: Wrench, + variant: "text", texts: ["Tractors", "Harvesters", "Drip Systems", "Sprayers", "Tillers"], button: { text: "Browse Equipment", href: "/features" }, }, { - title: "Learning Modules", - description: - "Educational content and tutorials on modern farming practices and sustainable agriculture.", - bentoComponent: "3d-task-list", - items: [ + title: "Learning Modules", description: + "Educational content and tutorials on modern farming practices and sustainable agriculture.", bentoComponent: "3d-task-list", items: [ { icon: BookOpen, label: "Crop Rotation", time: "15 min" }, { icon: Droplet, label: "Irrigation", time: "20 min" }, { icon: Leaf, label: "Pest Management", time: "18 min" }, @@ -197,26 +166,18 @@ export default function HomePage() { button: { text: "Start Learning", href: "/features" }, }, { - title: "Farmer Community Forum", - description: - "Connect with thousands of farmers, share experiences, ask questions, and collaborate on challenges.", - bentoComponent: "chat", - aiIcon: Users, + title: "Farmer Community Forum", description: + "Connect with thousands of farmers, share experiences, ask questions, and collaborate on challenges.", bentoComponent: "chat", aiIcon: Users, userIcon: MessageCircle, exchanges: [ { - userMessage: "How do I prevent powdery mildew?", - aiResponse: - "Try sulfur dust application every 7-10 days during growing season. Ensure proper ventilation.", - }, + userMessage: "How do I prevent powdery mildew?", aiResponse: + "Try sulfur dust application every 7-10 days during growing season. Ensure proper ventilation."}, { - userMessage: "Best time to plant rice?", - aiResponse: - "Plant rice during monsoon season with adequate water supply. June-July is optimal in most regions.", - }, + userMessage: "Best time to plant rice?", aiResponse: + "Plant rice during monsoon season with adequate water supply. June-July is optimal in most regions."}, ], - placeholder: "Ask the community...", - button: { text: "Join Forum", href: "/features" }, + placeholder: "Ask the community...", button: { text: "Join Forum", href: "/features" }, }, ]} carouselMode="buttons" @@ -239,11 +200,8 @@ export default function HomePage() { { id: "2", icon: TrendingUp, title: "Avg Yield Increase", value: "35%" }, { id: "3", icon: MapPin, title: "Districts Covered", value: "120+" }, { - id: "4", - icon: Zap, - title: "Equipment Listed", - value: "5,000+", - }, + id: "4", icon: Zap, + title: "Equipment Listed", value: "5,000+"}, ]} carouselMode="buttons" /> @@ -263,29 +221,14 @@ export default function HomePage() { gridVariant="three-columns-all-equal-width" products={[ { - id: "1", - name: "Download App", - price: "Free", - imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/mobile-smartphone-displaying-agriiyug-ap-1772631158054-2a79208c.png?_wi=1", - imageAlt: "Download AGRIIYUG app from play store", - }, + id: "1", name: "Download App", price: "Free", imageSrc: + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/mobile-smartphone-displaying-agriiyug-ap-1772631158054-2a79208c.png", imageAlt: "Download AGRIIYUG app from play store"}, { - id: "2", - name: "Create Profile", - price: "2 min", - imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/farmer-creating-profile-on-agriiyug-app--1772631158335-faf20c61.png?_wi=1", - imageAlt: "Create your farmer profile", - }, + id: "2", name: "Create Profile", price: "2 min", imageSrc: + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/farmer-creating-profile-on-agriiyug-app--1772631158335-faf20c61.png", imageAlt: "Create your farmer profile"}, { - id: "3", - name: "Start Earning", - price: "Ongoing", - imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/happy-indian-farmer-celebrating-successf-1772631158004-1bc8dbd9.png?_wi=1", - imageAlt: "Maximize your farm profits with insights", - }, + id: "3", name: "Start Earning", price: "Ongoing", imageSrc: + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/happy-indian-farmer-celebrating-successf-1772631158004-1bc8dbd9.png", imageAlt: "Maximize your farm profits with insights"}, ]} /> @@ -304,59 +247,29 @@ export default function HomePage() { gridVariant="uniform-all-items-equal" testimonials={[ { - id: "1", - name: "Rajesh Kumar", - role: "Wheat & Rice Farmer", - company: "Maharashtra", - rating: 5, + id: "1", name: "Rajesh Kumar", role: "Wheat & Rice Farmer", company: "Maharashtra", rating: 5, imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/full-length-professional-photo-of-farmer-1772631157119-17b1d684.png?_wi=1", - }, + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/full-length-professional-photo-of-farmer-1772631157119-17b1d684.png"}, { - id: "2", - name: "Priya Singh", - role: "Vegetable Grower", - company: "Punjab", - rating: 5, + id: "2", name: "Priya Singh", role: "Vegetable Grower", company: "Punjab", rating: 5, imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/full-length-photo-of-farmer-priya-singh--1772631158107-2bebe3ac.png?_wi=1", - }, + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/full-length-photo-of-farmer-priya-singh--1772631158107-2bebe3ac.png"}, { - id: "3", - name: "Mohan Patel", - role: "Cotton & Groundnut", - company: "Gujarat", - rating: 5, + id: "3", name: "Mohan Patel", role: "Cotton & Groundnut", company: "Gujarat", rating: 5, imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/full-length-photo-of-experienced-farmer--1772631157502-0cc8e10a.png?_wi=1", - }, + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/full-length-photo-of-experienced-farmer--1772631157502-0cc8e10a.png"}, { - id: "4", - name: "Lakshmi Reddy", - role: "Sugarcane Farmer", - company: "Telangana", - rating: 5, + id: "4", name: "Lakshmi Reddy", role: "Sugarcane Farmer", company: "Telangana", rating: 5, imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-38-year-old-indian-female--1772631158479-81469f8d.png", - }, + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-38-year-old-indian-female--1772631158479-81469f8d.png"}, { - id: "5", - name: "Arun Sharma", - role: "Dairy & Crop Farmer", - company: "Haryana", - rating: 5, + id: "5", name: "Arun Sharma", role: "Dairy & Crop Farmer", company: "Haryana", rating: 5, imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-42-year-old-indian-male-fa-1772631158040-b24f8557.png", - }, + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-42-year-old-indian-male-fa-1772631158040-b24f8557.png"}, { - id: "6", - name: "Deepa Nair", - role: "Spice & Coconut", - company: "Kerala", - rating: 5, + id: "6", name: "Deepa Nair", role: "Spice & Coconut", company: "Kerala", rating: 5, imageSrc: - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-35-year-old-indian-female--1772631157923-f370f6eb.png", - }, + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/portrait-of-a-35-year-old-indian-female--1772631157923-f370f6eb.png"}, ]} carouselMode="buttons" /> @@ -373,15 +286,7 @@ export default function HomePage() { textboxLayout="default" useInvertedBackground={true} names={[ - "Ministry of Agriculture", - "Agmarknet", - "ICAR", - "State Agricultural Departments", - "Farmer Producer Organizations", - "NGOs for Rural Development", - "Agricultural Research Institutes", - "Cooperative Societies", - ]} + "Ministry of Agriculture", "Agmarknet", "ICAR", "State Agricultural Departments", "Farmer Producer Organizations", "NGOs for Rural Development", "Agricultural Research Institutes", "Cooperative Societies"]} speed={30} showCard={true} /> @@ -395,7 +300,7 @@ export default function HomePage() { description="Subscribe to receive updates on new features, farming tips, market insights, and exclusive offers for our community." tagIcon={Mail} tagAnimation="slide-up" - background={{ variant: "noiseDiagonalGradient" }} + background={{ variant: "radial-gradient" }} useInvertedBackground={false} inputPlaceholder="Enter your email address" buttonText="Subscribe Now" @@ -413,7 +318,4 @@ export default function HomePage() { ); -} - -// Missing icon import -import { MapPin } from "lucide-react"; \ No newline at end of file +} \ No newline at end of file