| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background-color: #f9fafb; | |
| } | |
| </style> | |
| <footer class="w-full border-t border-gray-200"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-lg font-semibold text-gray-900 mb-4">SearchStellar</h3> | |
| <p class="text-gray-600 text-sm">Exploration de la recherche scientifique à travers des visualisations cosmiques.</p> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-semibold text-gray-900 uppercase tracking-wider mb-4">Ressources</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-600 hover:text-purple-600 transition-colors text-sm">Documentation</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-purple-600 transition-colors text-sm">Accès API</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-purple-600 transition-colors text-sm">Sources de données</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-semibold text-gray-900 uppercase tracking-wider mb-4">Légal</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-600 hover:text-purple-600 transition-colors text-sm">Politique de confidentialité</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-purple-600 transition-colors text-sm">Conditions d'utilisation</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-purple-600 transition-colors text-sm">Cookies</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-semibold text-gray-900 uppercase tracking-wider mb-4">Nous suivre</h4> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-600 hover:text-purple-600 transition-colors"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-600 hover:text-purple-600 transition-colors"> | |
| <i data-feather="github"></i> | |
| </a> | |
| <a href="#" class="text-gray-600 hover:text-purple-600 transition-colors"> | |
| <i data-feather="linkedin"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-200 mt-8 pt-8 text-center text-sm text-gray-500"> | |
| <p>© ${new Date().getFullYear()} SearchStellar. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |