Download components/footer.js from rcok/add-nasa-theme-https-3vdpmvj: direct link, hf CLI and curl.
- Browser
- Download file 4.35 kB
-
https://huggingface.co/spaces/rcok/add-nasa-theme-https-3vdpmvj/resolve/main/components/footer.js
- Command line
-
hf download hf://spaces/rcok/add-nasa-theme-https-3vdpmvj/components/footer.js
-
curl -L -o footer.js https://huggingface.co/spaces/rcok/add-nasa-theme-https-3vdpmvj/resolve/main/components/footer.js
4.35 kB
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| .social-icon { | |
| transition: all 0.3s ease; | |
| } | |
| .social-icon:hover { | |
| transform: translateY(-3px); | |
| color: #0ea5e9; | |
| } | |
| </style> | |
| <footer class="bg-gray-900 border-t border-nasa-800 py-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <div class="w-10 h-10 rounded-full bg-nasa-600 flex items-center justify-center"> | |
| <i data-feather="rocket" class="text-white"></i> | |
| </div> | |
| <span class="text-xl font-bold">Cosmic RPA</span> | |
| </div> | |
| <p class="text-gray-400 mb-4">Launching businesses into the automation stratosphere.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="social-icon text-gray-400 hover:text-nasa-400"><i data-feather="twitter"></i></a> | |
| <a href="#" class="social-icon text-gray-400 hover:text-nasa-400"><i data-feather="linkedin"></i></a> | |
| <a href="#" class="social-icon text-gray-400 hover:text-nasa-400"><i data-feather="github"></i></a> | |
| <a href="#" class="social-icon text-gray-400 hover:text-nasa-400"><i data-feather="youtube"></i></a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="/" class="text-gray-400 hover:text-nasa-400">Home</a></li> | |
| <li><a href="#tools" class="text-gray-400 hover:text-nasa-400">RPA Tools</a></li> | |
| <li><a href="#features" class="text-gray-400 hover:text-nasa-400">Features</a></li> | |
| <li><a href="#contact" class="text-gray-400 hover:text-nasa-400">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Resources</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-nasa-400">Documentation</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-nasa-400">API Reference</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-nasa-400">Tutorials</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-nasa-400">Blog</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Contact</h3> | |
| <ul class="space-y-2"> | |
| <li class="flex items-center text-gray-400"><i data-feather="mail" class="mr-2 w-4 h-4"></i> contact@cosmicrpa.com</li> | |
| <li class="flex items-center text-gray-400"><i data-feather="phone" class="mr-2 w-4 h-4"></i> +1 (555) 123-4567</li> | |
| <li class="flex items-center text-gray-400"><i data-feather="map-pin" class="mr-2 w-4 h-4"></i> Mission Control, Space Avenue</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500"> | |
| <p>© ${new Date().getFullYear()} Cosmic RPA Voyager. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |