Spaces:
Build error
Build error
Download components/Footer.js from mouris030/anycoder-044de774: direct link, hf CLI and curl.
- Browser
- Download file 4.88 kB
-
https://huggingface.co/spaces/mouris030/anycoder-044de774/resolve/main/components/Footer.js
- Command line
-
hf download hf://spaces/mouris030/anycoder-044de774/components/Footer.js
-
curl -L -o Footer.js https://huggingface.co/spaces/mouris030/anycoder-044de774/resolve/main/components/Footer.js
4.88 kB
| export default function Footer() { | |
| const backToTop = () => { | |
| window.scrollTo({ top: 0, behavior: 'smooth' }); | |
| }; | |
| return ( | |
| <footer className="bg-amazon-light text-white"> | |
| {/* Back to Top Button */} | |
| <button | |
| onClick={backToTop} | |
| className="w-full bg-gray-700 hover:bg-gray-600 py-4 text-center text-sm font-medium transition-colors" | |
| > | |
| Back to top | |
| </button> | |
| {/* Footer Links */} | |
| <div className="max-w-7xl mx-auto px-4 py-12"> | |
| <div className="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 className="font-bold mb-4">Get to Know Us</h3> | |
| <ul className="space-y-2 text-sm text-gray-300"> | |
| <li><a href="#" className="hover:text-white hover:underline">Careers</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Blog</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">About Amazon</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Investor Relations</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Amazon Devices</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 className="font-bold mb-4">Make Money with Us</h3> | |
| <ul className="space-y-2 text-sm text-gray-300"> | |
| <li><a href="#" className="hover:text-white hover:underline">Sell products on Amazon</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Sell on Amazon Business</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Sell apps on Amazon</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Become an Affiliate</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Advertise Your Products</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 className="font-bold mb-4">Amazon Payment Products</h3> | |
| <ul className="space-y-2 text-sm text-gray-300"> | |
| <li><a href="#" className="hover:text-white hover:underline">Amazon Business Card</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Shop with Points</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Reload Your Balance</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Amazon Currency Converter</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 className="font-bold mb-4">Let Us Help You</h3> | |
| <ul className="space-y-2 text-sm text-gray-300"> | |
| <li><a href="#" className="hover:text-white hover:underline">Amazon and COVID-19</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Your Account</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Your Orders</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Shipping Rates & Policies</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Returns & Replacements</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Manage Your Content and Devices</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Amazon Assistant</a></li> | |
| <li><a href="#" className="hover:text-white hover:underline">Help</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| {/* Bottom Bar */} | |
| <div className="border-t border-gray-700 mt-12 pt-8"> | |
| <div className="flex flex-col md:flex-row items-center justify-center space-y-4 md:space-y-0 md:space-x-8"> | |
| <div className="bg-white text-amazon-light px-3 py-1 rounded font-bold text-xl tracking-wider"> | |
| amazon | |
| </div> | |
| <div className="flex flex-wrap justify-center gap-4 text-sm text-gray-300"> | |
| <a href="#" className="hover:text-white hover:underline">Conditions of Use</a> | |
| <a href="#" className="hover:text-white hover:underline">Privacy Notice</a> | |
| <a href="#" className="hover:text-white hover:underline">Your Ads Privacy Choices</a> | |
| </div> | |
| </div> | |
| <p className="text-center text-sm text-gray-400 mt-4"> | |
| © 2024 Amazon Clone. This is a demo application. All products are fictional. | |
| </p> | |
| <div className="text-center mt-4"> | |
| <a | |
| href="https://huggingface.co/spaces/akhaliq/anycoder" | |
| target="_blank" | |
| rel="noopener noreferrer" | |
| className="text-amazon-yellow hover:underline text-sm" | |
| > | |
| Built with anycoder | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| ); | |
| } |