Spaces:
Running
Running
ficou muito simples quero algo na pegada top mesmo parrecido com o site oficial do nodejs, algo bem bonito, e limpo]
af0b858
verified
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| background-color: #1a1a1a; | |
| color: white; | |
| padding: 3rem 0; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| } | |
| .footer-content { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 2rem; | |
| } | |
| .footer-section h3 { | |
| font-size: 1.2rem; | |
| margin-bottom: 1.5rem; | |
| color: #0080ff; | |
| } | |
| .footer-section p, .footer-section a { | |
| color: #b3b3b3; | |
| margin-bottom: 0.8rem; | |
| display: block; | |
| text-decoration: none; | |
| transition: color 0.3s; | |
| } | |
| .footer-section a:hover { | |
| color: #0080ff; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 1rem; | |
| } | |
| .social-links a { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| background-color: #333; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: background-color 0.3s; | |
| } | |
| .social-links a:hover { | |
| background-color: #0080ff; | |
| } | |
| .footer-bottom { | |
| text-align: center; | |
| margin-top: 3rem; | |
| padding-top: 1.5rem; | |
| border-top: 1px solid #333; | |
| color: #b3b3b3; | |
| font-size: 0.9rem; | |
| } | |
| @media (max-width: 768px) { | |
| .footer-content { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| </style> | |
| <div class="container"> | |
| <div class="footer-content"> | |
| <div class="footer-section"> | |
| <h3>JSaplication</h3> | |
| <p>Soluções tecnológicas personalizadas para impulsionar seu negócio.</p> | |
| <div class="social-links"> | |
| <a href="#"><i data-feather="facebook"></i></a> | |
| <a href="#"><i data-feather="instagram"></i></a> | |
| <a href="#"><i data-feather="twitter"></i></a> | |
| <a href="#"><i data-feather="linkedin"></i></a> | |
| </div> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Links Rápidos</h3> | |
| <a href="/">Início</a> | |
| <a href="#servicos">Serviços</a> | |
| <a href="#contato">Contato</a> | |
| <a href="https://jsaplication.com.br/" target="_blank">Site Oficial</a> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Contato</h3> | |
| <a href="mailto:contato@jsaplication.com.br"><i data-feather="mail"></i> contato@jsaplication.com.br</a> | |
| <a href="tel:+5511999999999"><i data-feather="phone"></i> +55 11 99999-9999</a> | |
| <a href="#"><i data-feather="map-pin"></i> São Paulo, Brasil</a> | |
| </div> | |
| </div> | |
| <div class="footer-bottom"> | |
| <p>© ${new Date().getFullYear()} JSaplication. Todos os direitos reservados.</p> | |
| </div> | |
| </div> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |