Spaces:
Running
Running
Download components/footer.js from CRMHUB/codeverse-chronicles: direct link, hf CLI and curl.
- Browser
- Download file 2.55 kB
-
https://huggingface.co/spaces/CRMHUB/codeverse-chronicles/resolve/main/components/footer.js
- Command line
-
hf download hf://spaces/CRMHUB/codeverse-chronicles/components/footer.js
-
curl -L -o footer.js https://huggingface.co/spaces/CRMHUB/codeverse-chronicles/resolve/main/components/footer.js
2.55 kB
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| backdrop-filter: blur(10px); | |
| } | |
| .social-link { | |
| transition: all 0.3s ease; | |
| } | |
| .social-link:hover { | |
| transform: translateY(-3px); | |
| color: #6366f1; | |
| } | |
| .dark .social-link:hover { | |
| color: #ec4899; | |
| } | |
| </style> | |
| <footer class="border-t border-gray-200 dark:border-gray-800 py-12 mt-20"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <div class="mb-6 md:mb-0"> | |
| <h3 class="text-xl font-bold mb-2 bg-clip-text text-transparent bg-gradient-to-r from-primary-500 to-secondary-500"> | |
| CodeVerse Chronicles | |
| </h3> | |
| <p class="text-gray-600 dark:text-gray-300">Exploring the digital cosmos one pixel at a time.</p> | |
| </div> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="social-link text-gray-600 dark:text-gray-300"> | |
| <i data-feather="github"></i> | |
| </a> | |
| <a href="#" class="social-link text-gray-600 dark:text-gray-300"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="social-link text-gray-600 dark:text-gray-300"> | |
| <i data-feather="linkedin"></i> | |
| </a> | |
| <a href="#" class="social-link text-gray-600 dark:text-gray-300"> | |
| <i data-feather="instagram"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="mt-8 pt-8 border-t border-gray-200 dark:border-gray-800 text-center text-gray-500 dark:text-gray-400"> | |
| <p>© ${new Date().getFullYear()} CodeVerse Chronicles. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |