ChopFresh / src /components /Footer.tsx
pranav8tripathi@gmail.com
init
56ea4c7
import { Leaf, Mail, Phone, MapPin } from "lucide-react";
export default function Footer() {
const currentYear = new Date().getFullYear();
return (
<footer className="bg-gray-900 text-white py-12">
<div className="container mx-auto px-4 sm:px-6 lg:px-8">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-8">
{/* Brand */}
<div>
<div className="flex items-center gap-2 mb-4">
<Leaf className="w-8 h-8 text-green-500" />
<span className="text-2xl font-bold">ChopFresh International</span>
</div>
<p className="text-gray-400 leading-relaxed">
Leading the way in produce hibernation research and sustainable food preservation solutions.
</p>
</div>
{/* Quick Links */}
<div>
<h3 className="text-lg font-semibold mb-4">Quick Links</h3>
<ul className="space-y-2">
<li>
<button
onClick={() => document.getElementById("about")?.scrollIntoView({ behavior: "smooth" })}
className="text-gray-400 hover:text-green-500 transition-colors"
>
About Us
</button>
</li>
<li>
<button
onClick={() => document.getElementById("trust")?.scrollIntoView({ behavior: "smooth" })}
className="text-gray-400 hover:text-green-500 transition-colors"
>
Why Trust Us
</button>
</li>
<li>
<button
onClick={() => document.getElementById("research")?.scrollIntoView({ behavior: "smooth" })}
className="text-gray-400 hover:text-green-500 transition-colors"
>
Research
</button>
</li>
<li>
<button
onClick={() => document.getElementById("contact")?.scrollIntoView({ behavior: "smooth" })}
className="text-gray-400 hover:text-green-500 transition-colors"
>
Contact
</button>
</li>
</ul>
</div>
{/* Contact Info */}
<div>
<h3 className="text-lg font-semibold mb-4">Contact</h3>
<ul className="space-y-3">
<li className="flex items-start gap-2">
<Mail className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-400">chopfreshinternational@gmail.com</span>
</li>
<li className="flex items-start gap-2">
<Phone className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-400">+91 9021222804</span>
</li>
<li className="flex items-start gap-2">
<MapPin className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-400">Nashik, Maharashtra, India</span>
</li>
</ul>
</div>
{/* Newsletter */}
<div>
<h3 className="text-lg font-semibold mb-4">Stay Updated</h3>
<p className="text-gray-400 mb-4">
Subscribe to our newsletter for the latest research updates.
</p>
<div className="flex gap-2">
<input
type="email"
placeholder="Your email"
className="flex-1 px-4 py-2 rounded-lg bg-gray-800 border border-gray-700 text-white placeholder-gray-500 focus:outline-none focus:border-green-500"
/>
<button className="px-4 py-2 bg-green-600 hover:bg-green-700 rounded-lg font-semibold transition-colors">
Subscribe
</button>
</div>
</div>
</div>
{/* Bottom Bar */}
<div className="border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center gap-4">
<p className="text-gray-400 text-sm">
© {currentYear} ChopFresh International. All rights reserved.
</p>
<div className="flex gap-6">
<a href="#" className="text-gray-400 hover:text-green-500 text-sm transition-colors">
Privacy Policy
</a>
<a href="#" className="text-gray-400 hover:text-green-500 text-sm transition-colors">
Terms of Service
</a>
<a href="#" className="text-gray-400 hover:text-green-500 text-sm transition-colors">
Cookie Policy
</a>
</div>
</div>
</div>
</footer>
);
}