Spaces:
Running
Running
Download components/footer.js from aakgur/google-data-sync-wizard: direct link, hf CLI and curl.
- Browser
- Download file 2.69 kB
-
https://huggingface.co/spaces/aakgur/google-data-sync-wizard/resolve/main/components/footer.js
- Command line
-
hf download hf://spaces/aakgur/google-data-sync-wizard/components/footer.js
-
curl -L -o footer.js https://huggingface.co/spaces/aakgur/google-data-sync-wizard/resolve/main/components/footer.js
2.69 kB
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background-color: #f9fafb; | |
| } | |
| </style> | |
| <footer class="border-t border-gray-200 mt-12"> | |
| <div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8"> | |
| <nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer"> | |
| <div class="px-5 py-2"> | |
| <a href="#" class="text-gray-500 hover:text-gray-900"> | |
| About | |
| </a> | |
| </div> | |
| <div class="px-5 py-2"> | |
| <a href="#" class="text-gray-500 hover:text-gray-900"> | |
| Privacy | |
| </a> | |
| </div> | |
| <div class="px-5 py-2"> | |
| <a href="#" class="text-gray-500 hover:text-gray-900"> | |
| Terms | |
| </a> | |
| </div> | |
| <div class="px-5 py-2"> | |
| <a href="#" class="text-gray-500 hover:text-gray-900"> | |
| Documentation | |
| </a> | |
| </div> | |
| <div class="px-5 py-2"> | |
| <a href="#" class="text-gray-500 hover:text-gray-900"> | |
| Contact | |
| </a> | |
| </div> | |
| </nav> | |
| <div class="mt-8 flex justify-center space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-gray-500"> | |
| <i data-feather="twitter" class="w-6 h-6"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-gray-500"> | |
| <i data-feather="github" class="w-6 h-6"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-gray-500"> | |
| <i data-feather="linkedin" class="w-6 h-6"></i> | |
| </a> | |
| </div> | |
| <p class="mt-8 text-center text-base text-gray-400"> | |
| © ${new Date().getFullYear()} DataSync Wizard. All rights reserved. | |
| </p> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |