Spaces:
Running
Running
Download components/footer.js from jacodejong/pixelcraft-studio: direct link, hf CLI and curl.
- Browser
- Download file 4.87 kB
-
https://huggingface.co/spaces/jacodejong/pixelcraft-studio/resolve/main/components/footer.js
- Command line
-
hf download hf://spaces/jacodejong/pixelcraft-studio/components/footer.js
-
curl -L -o footer.js https://huggingface.co/spaces/jacodejong/pixelcraft-studio/resolve/main/components/footer.js
4.87 kB
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| background-color: #111827; | |
| color: #f3f4f6; | |
| } | |
| .footer-link { | |
| transition: color 0.3s ease; | |
| } | |
| .footer-link:hover { | |
| color: #6366f1; | |
| } | |
| .social-icon { | |
| transition: all 0.3s ease; | |
| } | |
| .social-icon:hover { | |
| transform: translateY(-3px); | |
| color: #6366f1; | |
| } | |
| </style> | |
| <footer class="py-12 px-6"> | |
| <div class="container mx-auto"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-10"> | |
| <div class="md:col-span-2"> | |
| <div class="flex items-center mb-6"> | |
| <span class="bg-indigo-600 text-white px-3 py-1 rounded mr-2 text-xl font-bold">079</span> | |
| <span class="text-2xl font-bold">Bureau079</span> | |
| </div> | |
| <p class="text-gray-400 mb-6"> | |
| Specializing in DTP design and 3D visual concepts that bring your ideas to life with precision and creativity. | |
| </p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="social-icon text-gray-400 hover:text-indigo-500"> | |
| <i data-feather="instagram" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="social-icon text-gray-400 hover:text-indigo-500"> | |
| <i data-feather="linkedin" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="social-icon text-gray-400 hover:text-indigo-500"> | |
| <i data-feather="twitter" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="social-icon text-gray-400 hover:text-indigo-500"> | |
| <i data-feather="facebook" class="w-5 h-5"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Services</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="footer-link text-gray-400">DTP Design</a></li> | |
| <li><a href="#" class="footer-link text-gray-400">3D Visualization</a></li> | |
| <li><a href="#" class="footer-link text-gray-400">Creative Consulting</a></li> | |
| <li><a href="#" class="footer-link text-gray-400">Brand Identity</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#about" class="footer-link text-gray-400">About</a></li> | |
| <li><a href="#services" class="footer-link text-gray-400">Services</a></li> | |
| <li><a href="#contact" class="footer-link text-gray-400">Contact</a></li> | |
| <li><a href="#" class="footer-link text-gray-400">Portfolio</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center"> | |
| <p class="text-gray-500 text-sm mb-4 md:mb-0"> | |
| © ${new Date().getFullYear()} Bureau079. All rights reserved. | |
| </p> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="footer-link text-gray-500 text-sm">Privacy Policy</a> | |
| <a href="#" class="footer-link text-gray-500 text-sm">Terms of Service</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |