Spaces:
Running
Running
import { Link } from "wouter"; | |
import { Facebook, Twitter, Instagram, Linkedin } from "lucide-react"; | |
import logoUrl from "@assets/assets_task_01k3qp9hccec89tp5ht8ee88x5_1756363038_img_1-removebg-preview (1)_1756364677577.png"; | |
export default function Footer() { | |
return ( | |
<footer className="bg-gray-900 text-white py-8" data-testid="footer"> | |
<div className="max-w-full mx-auto px-2 sm:px-3 lg:px-4"> | |
<div className="grid grid-cols-1 md:grid-cols-4 gap-6"> | |
{/* Company Info */} | |
<div className="md:col-span-1"> | |
<img | |
src={logoUrl} | |
alt="Shoposphere" | |
className="h-12 w-auto mb-4" | |
data-testid="footer-brand" | |
/> | |
<p className="text-gray-300 mb-4" data-testid="footer-description"> | |
Bharat's premier online marketplace connecting local buyers with trusted sellers across the region. | |
</p> | |
<div className="flex space-x-4" data-testid="social-links"> | |
<a href="#" className="text-gray-300 hover:text-white transition-colors" aria-label="Facebook"> | |
<Facebook className="h-5 w-5" /> | |
</a> | |
<a href="#" className="text-gray-300 hover:text-white transition-colors" aria-label="Twitter"> | |
<Twitter className="h-5 w-5" /> | |
</a> | |
<a href="#" className="text-gray-300 hover:text-white transition-colors" aria-label="Instagram"> | |
<Instagram className="h-5 w-5" /> | |
</a> | |
<a href="#" className="text-gray-300 hover:text-white transition-colors" aria-label="LinkedIn"> | |
<Linkedin className="h-5 w-5" /> | |
</a> | |
</div> | |
</div> | |
{/* Quick Links */} | |
<div> | |
<h4 className="font-semibold mb-4" data-testid="footer-quicklinks-title">Quick Links</h4> | |
<ul className="space-y-2 text-gray-300"> | |
<li><Link href="/about" className="hover:text-white transition-colors">About Us</Link></li> | |
<li><Link href="/contact" className="hover:text-white transition-colors">Contact</Link></li> | |
<li><Link href="/careers" className="hover:text-white transition-colors">Careers</Link></li> | |
<li><Link href="/press" className="hover:text-white transition-colors">Press</Link></li> | |
</ul> | |
</div> | |
{/* Customer Service */} | |
<div> | |
<h4 className="font-semibold mb-4" data-testid="footer-support-title">Customer Service</h4> | |
<ul className="space-y-2 text-gray-300"> | |
<li><Link href="/help" className="hover:text-white transition-colors">Help Center</Link></li> | |
<li><Link href="/shipping" className="hover:text-white transition-colors">Shipping Info</Link></li> | |
<li><Link href="/returns" className="hover:text-white transition-colors">Returns</Link></li> | |
<li><Link href="/track" className="hover:text-white transition-colors">Track Order</Link></li> | |
</ul> | |
</div> | |
{/* Policies */} | |
<div> | |
<h4 className="font-semibold mb-4" data-testid="footer-policies-title">Policies</h4> | |
<ul className="space-y-2 text-gray-300"> | |
<li><Link href="/privacy" className="hover:text-white transition-colors">Privacy Policy</Link></li> | |
<li><Link href="/terms" className="hover:text-white transition-colors">Terms of Service</Link></li> | |
<li><Link href="/cookies" className="hover:text-white transition-colors">Cookie Policy</Link></li> | |
<li><Link href="/seller-agreement" className="hover:text-white transition-colors">Seller Agreement</Link></li> | |
</ul> | |
</div> | |
</div> | |
<div className="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400" data-testid="footer-copyright"> | |
<p>© 2024 Shoposphere. Serving Bharat with pride. All rights reserved.</p> | |
</div> | |
</div> | |
</footer> | |
); | |
} | |